From 93f932037ae8e74d0e2c2b571909cef6b1e2cf9c Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Sat, 3 Mar 2018 13:34:30 +0000 Subject: [PATCH] Issue #2866804 by harsha012, joelpittet, BrightBold, csd713: Update stylelint rule declaration-block-no-duplicate-properties to be consistent with Drupal's CSS standards --- core/.stylelintrc.json | 1 - core/modules/quickedit/css/quickedit.module.css | 1 - core/themes/classy/css/components/progress.css | 3 --- core/themes/seven/css/components/form.css | 2 -- core/themes/stable/css/quickedit/quickedit.module.css | 1 - core/themes/stable/css/toolbar/toolbar.module.css | 1 - 6 files changed, 9 deletions(-) diff --git a/core/.stylelintrc.json b/core/.stylelintrc.json index 51d4bcc51c9..2794d312d8a 100644 --- a/core/.stylelintrc.json +++ b/core/.stylelintrc.json @@ -5,7 +5,6 @@ ], "rules": { "comment-empty-line-before": null, - "declaration-block-no-duplicate-properties": null, "function-linear-gradient-no-nonstandard-direction": null, "function-whitespace-after": null, "no-unknown-animations": true, diff --git a/core/modules/quickedit/css/quickedit.module.css b/core/modules/quickedit/css/quickedit.module.css index 8ac9a5583b1..08ee7d275c0 100644 --- a/core/modules/quickedit/css/quickedit.module.css +++ b/core/modules/quickedit/css/quickedit.module.css @@ -86,7 +86,6 @@ * Entity toolbar. */ .quickedit-toolbar-container { - max-width: 100%; position: absolute; max-width: 320px; width: 320px; diff --git a/core/themes/classy/css/components/progress.css b/core/themes/classy/css/components/progress.css index 09aab9071d8..5613a7f83b3 100644 --- a/core/themes/classy/css/components/progress.css +++ b/core/themes/classy/css/components/progress.css @@ -16,9 +16,6 @@ .progress__bar { border: 1px #07629a solid; background: #057ec9; - background-image: - -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)), - -webkit-linear-gradient(left top, #0094f0 0%, #0094f0 25%, #007ecc 25%, #007ecc 50%, #0094f0 50%, #0094f0 75%, #0094f0 100%); background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)), -webkit-linear-gradient(left top, #0094f0 0%, #0094f0 25%, #007ecc 25%, #007ecc 50%, #0094f0 50%, #0094f0 75%, #0094f0 100%); diff --git a/core/themes/seven/css/components/form.css b/core/themes/seven/css/components/form.css index 9f27d310c97..d0991bb1253 100644 --- a/core/themes/seven/css/components/form.css +++ b/core/themes/seven/css/components/form.css @@ -179,8 +179,6 @@ textarea.form-textarea { max-width: 100%; border: 1px solid #b8b8b8; border-top-color: #999; - background: #fff; - color: #333; border-radius: 2px; background: #fcfcfa; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.125); diff --git a/core/themes/stable/css/quickedit/quickedit.module.css b/core/themes/stable/css/quickedit/quickedit.module.css index 8ac9a5583b1..08ee7d275c0 100644 --- a/core/themes/stable/css/quickedit/quickedit.module.css +++ b/core/themes/stable/css/quickedit/quickedit.module.css @@ -86,7 +86,6 @@ * Entity toolbar. */ .quickedit-toolbar-container { - max-width: 100%; position: absolute; max-width: 320px; width: 320px; diff --git a/core/themes/stable/css/toolbar/toolbar.module.css b/core/themes/stable/css/toolbar/toolbar.module.css index 8c9466720aa..f7b123b91d0 100644 --- a/core/themes/stable/css/toolbar/toolbar.module.css +++ b/core/themes/stable/css/toolbar/toolbar.module.css @@ -246,7 +246,6 @@ body.toolbar-tray-open.toolbar-vertical.toolbar-fixed { } } [dir="rtl"] body.toolbar-tray-open.toolbar-vertical.toolbar-fixed { - margin-left: auto; margin-left: auto; margin-right: 240px; margin-right: 15rem;