Verified Commit 7c5354ab authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #3397121 by longwave: Upgrade postcss-preset-env and stylelint

parent 830dbf1d
Loading
Loading
Loading
Loading
Loading
+4 −10
Original line number Diff line number Diff line
@@ -18,25 +18,19 @@

#drupal-off-canvas-wrapper .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
}

#drupal-off-canvas-wrapper .visually-hidden {
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px !important;
  height: 1px !important;
  word-wrap: normal;
}

#drupal-off-canvas-wrapper .visually-hidden.focusable:is(:active, :focus) {
  position: static !important;
  width: auto !important;
  height: auto !important;
}

#drupal-off-canvas-wrapper .visually-hidden.focusable:is(:active, :focus) {
  overflow: visible;
  clip: auto;
  width: auto !important;
  height: auto !important;
}

#drupal-off-canvas-wrapper .invisible {
+2 −5
Original line number Diff line number Diff line
@@ -27,14 +27,11 @@
 * Contextual trigger.
 */

.contextual .trigger {
  width: 26px !important;
  height: 26px !important;
}

.contextual .trigger {
  /* Override the .focusable height: auto */
  width: 26px !important;
  /* Override the .focusable height: auto */
  height: 26px !important;
  text-indent: -9999px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3e%3cg%3e%3cpath fill='%23bebebe' d='M14.545 3.042l-1.586-1.585c-.389-.389-1.025-.389-1.414 0l-1.293 1.293 3 3 1.293-1.293c.389-.389.389-1.026 0-1.415z'/%3e%3crect fill='%23bebebe' x='5.129' y='3.8' transform='matrix(-.707 -.707 .707 -.707 6.189 20.064)' width='4.243' height='9.899'/%3e%3cpath fill='%23bebebe' d='M.908 14.775c-.087.262.055.397.316.312l2.001-.667-1.65-1.646-.667 2.001z'/%3e%3c/g%3e%3c/svg%3e");
  background-repeat: no-repeat;
+2 −2
Original line number Diff line number Diff line
@@ -83,7 +83,7 @@
    "postcss": "^8.4.31",
    "postcss-header": "^3.0.2",
    "postcss-import": "^15.0.0",
    "postcss-preset-env": "^8.4.2",
    "postcss-preset-env": "^9.2.0",
    "postcss-pxtorem": "^6.0.0",
    "postcss-url": "^10.1.3",
    "prettier": "^2.1.2",
@@ -91,7 +91,7 @@
    "sortablejs": "1.15.x",
    "stylelint": "^15.10.1",
    "stylelint-checkstyle-formatter": "^0.1.2",
    "stylelint-config-standard": "^33.0.0",
    "stylelint-config-standard": "^34.0.0",
    "stylelint-formatter-gitlab": "^1.0.2",
    "stylelint-order": "^6.0.3",
    "tabbable": "^6.1.2",
+5 −6
Original line number Diff line number Diff line
@@ -68,12 +68,11 @@ module.exports = (filePath, callback) => {
      })
    ])
    .process(css, { from: filePath })
    .then(result => {
      callback(prettier.format(result.css, {
    .then(result => prettier.format(result.css, {
      parser: 'css',
      printWidth: 10000,
      }));
    })
    }))
    .then(callback)
    .catch(error => {
      log(error);
      process.exitCode = 1;
+2 −4
Original line number Diff line number Diff line
@@ -6,15 +6,13 @@
 */
@media print {
  * {
    /* Black prints faster */
    /* https://github.com/h5bp/main.css/blob/main/dist/_print.css#L14 */
    color: #000 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  * {
    /* Black prints faster */
    /* https://github.com/h5bp/main.css/blob/main/dist/_print.css#L14 */
  }
  body {
    padding-top: 0;
  }
Loading