Unverified Commit 82789feb authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #3314523 by alexpott: PostCSS results in CSS that does not comply with our coding standards

(cherry picked from commit b5446646)
parent 540bf4ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -464,7 +464,7 @@
    "selector-pseudo-element-colon-notation": null,
    "shorthand-property-no-redundant-values": null,
    "string-quotes": "double",
    "unit-allowed-list": ["ch", "deg", "em", "ex", "fr", "ms", "rem", "%", "s", "px", "vw", "vh"],
    "unit-allowed-list": ["ch", "deg", "dpcm", "em", "ex", "fr", "ms", "rem", "%", "s", "px", "vw", "vh"],
    "value-keyword-case": ["lower", {
      "camelCaseSvgKeywords": true,
      "ignoreProperties": [
+105 −102
Original line number Diff line number Diff line
@@ -88,7 +88,9 @@
  font-family: inherit;
}

#drupal-off-canvas-wrapper input:where(:not([type="submit"], [type="checkbox"], [type="radio"], [type="file"])), #drupal-off-canvas-wrapper select, #drupal-off-canvas-wrapper textarea {
#drupal-off-canvas-wrapper input:where(:not([type="submit"], [type="checkbox"], [type="radio"], [type="file"])),
#drupal-off-canvas-wrapper select,
#drupal-off-canvas-wrapper textarea {
  max-width: 100%;
  padding: var(--drupal-off-canvas-input-padding);
  color: var(--drupal-off-canvas-input-text-color);
@@ -98,7 +100,8 @@
  font-size: var(--drupal-off-canvas-input-font-size);
}

:is(#drupal-off-canvas-wrapper input[type="checkbox"]) + label, :is(#drupal-off-canvas-wrapper input[type="radio"]) + label {
:is(#drupal-off-canvas-wrapper input[type="checkbox"]) + label,
:is(#drupal-off-canvas-wrapper input[type="radio"]) + label {
  display: inline;
}

+18 −16
Original line number Diff line number Diff line
@@ -33,10 +33,12 @@
  vertical-align: middle;
}

#drupal-off-canvas-wrapper td:first-child, #drupal-off-canvas-wrapper th:first-child {
#drupal-off-canvas-wrapper td:first-child,
#drupal-off-canvas-wrapper th:first-child {
  padding-inline-start: var(--off-canvas-first-cell-padding-start);
}

#drupal-off-canvas-wrapper td:not(:last-child) td, #drupal-off-canvas-wrapper th:not(:last-child) td {
#drupal-off-canvas-wrapper td:not(:last-child) td,
#drupal-off-canvas-wrapper th:not(:last-child) td {
  border-bottom: solid 1px var(--off-canvas-border-color);
}
+8 −6
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@
   * dialog system uses to expand dialog widths.
   */
}

@media (max-width: 48rem) {
  #drupal-off-canvas-wrapper {
    width: 100% !important;
@@ -42,6 +43,7 @@ body.js-off-canvas-dialog-open {
.dialog-off-canvas-main-canvas {
  transition: padding-right 0.7s ease, padding-left 0.7s ease, padding-top 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  .dialog-off-canvas-main-canvas {
    transition: none;
+84 −82
Original line number Diff line number Diff line
@@ -98,11 +98,13 @@
  color: var(--off-canvas-text-color);
}

#drupal-off-canvas-wrapper .inline-block-create-button:hover, #drupal-off-canvas-wrapper .inline-block-list__item:hover {
#drupal-off-canvas-wrapper .inline-block-create-button:hover,
#drupal-off-canvas-wrapper .inline-block-list__item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

#drupal-off-canvas-wrapper .inline-block-create-button:focus, #drupal-off-canvas-wrapper .inline-block-list__item:focus {
#drupal-off-canvas-wrapper .inline-block-create-button:focus,
#drupal-off-canvas-wrapper .inline-block-list__item:focus {
  outline-offset: -4px; /* Prevent outline from being cut off. */
}

Loading