From 19426fd74ae80904f81f8556604063a66e96821d Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Sun, 28 Jan 2018 07:34:00 +0000 Subject: [PATCH] Issue #2866806 by harsha012, Mukeysh, joelpittet: Update stylelint rule declaration-block-no-shorthand-property-overrides to be consistent with Drupal's CSS standards --- core/.stylelintrc.json | 1 - core/themes/bartik/css/components/node-preview.css | 3 --- 2 files changed, 4 deletions(-) diff --git a/core/.stylelintrc.json b/core/.stylelintrc.json index 3f0769b7c048..5fb4fef8a9d9 100644 --- a/core/.stylelintrc.json +++ b/core/.stylelintrc.json @@ -8,7 +8,6 @@ "color-hex-length": null, "comment-empty-line-before": null, "declaration-block-no-duplicate-properties": null, - "declaration-block-no-shorthand-property-overrides": null, "function-linear-gradient-no-nonstandard-direction": null, "function-whitespace-after": null, "no-empty-source": null, diff --git a/core/themes/bartik/css/components/node-preview.css b/core/themes/bartik/css/components/node-preview.css index e391dd15b1ce..b4a3a24ad8c3 100644 --- a/core/themes/bartik/css/components/node-preview.css +++ b/core/themes/bartik/css/components/node-preview.css @@ -10,7 +10,6 @@ padding: 5px 10px; } .node-preview-backlink { - background-color: #419ff1; background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #419ff1, #1076d5); background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #419ff1, #1076d5); /* LTR */ border: 1px solid #0048c8; @@ -33,7 +32,6 @@ } .node-preview-backlink:focus, .node-preview-backlink:hover { - background-color: #419cf1; background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #59abf3, #2a90ef); background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #59abf3, #2a90ef); /* LTR */ border: 1px solid #0048c8; @@ -46,7 +44,6 @@ background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, linear-gradient(to bottom, #59abf3, #2a90ef); } .node-preview-backlink:active { - background-color: #0e69be; background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #0e69be, #2a93ef); background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #0e69be, #2a93ef); /* LTR */ border: 1px solid #0048c8; -- GitLab