From a408180c4ae9bb9640163f6997a4c8a95b04e6ed Mon Sep 17 00:00:00 2001 From: hanakin Date: Sat, 13 May 2017 09:09:12 -0700 Subject: [PATCH] [ticket/14976] fix errors PHPBB3-14976 --- phpBB/styles/prosilver/theme/bidi.css | 2 -- phpBB/styles/prosilver/theme/buttons.css | 4 ---- phpBB/styles/prosilver/theme/common.css | 13 ++++++------- phpBB/styles/prosilver/theme/content.css | 4 ---- phpBB/styles/prosilver/theme/cp.css | 4 ---- phpBB/styles/prosilver/theme/forms.css | 4 ---- phpBB/styles/prosilver/theme/links.css | 4 ---- phpBB/styles/prosilver/theme/plupload.css | 4 ---- phpBB/styles/prosilver/theme/print.css | 7 +++---- phpBB/styles/prosilver/theme/responsive.css | 4 ---- 10 files changed, 9 insertions(+), 41 deletions(-) diff --git a/phpBB/styles/prosilver/theme/bidi.css b/phpBB/styles/prosilver/theme/bidi.css index 323acaf984..40309aa642 100644 --- a/phpBB/styles/prosilver/theme/bidi.css +++ b/phpBB/styles/prosilver/theme/bidi.css @@ -3,7 +3,6 @@ /* -------------------------------------------------------------- */ /* stylelint-disable selector-max-compound-selectors */ /* stylelint-disable selector-no-qualifying-type */ -/* stylelint-disable declaration-property-unit-whitelist */ /** * common.css @@ -991,4 +990,3 @@ li.breadcrumbs span:first-child > a { } /* stylelint-enable selector-no-qualifying-type */ -/* stylelint-enable declaration-property-unit-whitelist */ diff --git a/phpBB/styles/prosilver/theme/buttons.css b/phpBB/styles/prosilver/theme/buttons.css index dfb64eb890..3bbcc51ef5 100644 --- a/phpBB/styles/prosilver/theme/buttons.css +++ b/phpBB/styles/prosilver/theme/buttons.css @@ -2,8 +2,6 @@ $Buttons /* -------------------------------------------------------------- */ -/* stylelint-disable declaration-property-unit-whitelist */ - .button { font-family: "Open Sans", "Droid Sans", Verdana, Arial, Helvetica; font-size: 13px; @@ -207,5 +205,3 @@ ul.linklist.bulletin > li.small-icon:before { padding-right: 19px; padding-left: 0; } - -/* stylelint-enable declaration-property-unit-whitelist */ diff --git a/phpBB/styles/prosilver/theme/common.css b/phpBB/styles/prosilver/theme/common.css index 75db7b8a97..36b7809bbc 100644 --- a/phpBB/styles/prosilver/theme/common.css +++ b/phpBB/styles/prosilver/theme/common.css @@ -3,8 +3,6 @@ /* -------------------------------------------------------------- */ /* stylelint-disable selector-max-compound-selectors */ /* stylelint-disable selector-no-qualifying-type */ -/* stylelint-disable declaration-property-unit-whitelist */ -/* stylelint-disable declaration-property-unit-blacklist */ html { font-size: 100%; @@ -623,15 +621,15 @@ a.header-avatar span:after { } .breadcrumbs.wrapped .crumb a { - letter-spacing: -0.3px; + letter-spacing: -0.019em; } .breadcrumbs.wrapped .crumb.wrapped-medium a { - letter-spacing: -0.4px; + letter-spacing: -0.025em; } .breadcrumbs.wrapped .crumb.wrapped-tiny a { - letter-spacing: -0.5px; + letter-spacing: -0.031em; } .breadcrumbs .crumb.wrapped-max a { @@ -1243,6 +1241,7 @@ ul.linklist:after, text-transform: uppercase; border-bottom: 1px solid; border-radius: 5px 5px 0 0; + /* needs moved to colurs.css */ text-shadow: 1px 1px 1px #ffffff; padding: 0 10px; @@ -1391,5 +1390,5 @@ ul.linklist:after, border-top: none; } -/* stylelint-enable declaration-property-unit-whitelist */ -/* stylelint-enable declaration-property-unit-blacklist */ +/* stylelint-enable selector-max-compound-selectors */ +/* stylelint-enable selector-no-qualifying-type */ diff --git a/phpBB/styles/prosilver/theme/content.css b/phpBB/styles/prosilver/theme/content.css index 238b4fb92c..8e1ccc0b31 100644 --- a/phpBB/styles/prosilver/theme/content.css +++ b/phpBB/styles/prosilver/theme/content.css @@ -4,8 +4,6 @@ /* stylelint-disable selector-max-compound-selectors */ /* stylelint-disable selector-no-qualifying-type */ -/* stylelint-disable declaration-property-unit-whitelist */ -/* stylelint-disable declaration-property-unit-blacklist */ ul.topiclist { display: block; @@ -902,5 +900,3 @@ table.fixed-width-table { /* stylelint-enable selector-max-compound-selectors */ /* stylelint-enable selector-no-qualifying-type */ -/* stylelint-enable declaration-property-unit-whitelist */ -/* stylelint-enable declaration-property-unit-blacklist */ diff --git a/phpBB/styles/prosilver/theme/cp.css b/phpBB/styles/prosilver/theme/cp.css index 5bb5aeee9d..11ca6dd10c 100644 --- a/phpBB/styles/prosilver/theme/cp.css +++ b/phpBB/styles/prosilver/theme/cp.css @@ -4,8 +4,6 @@ /* stylelint-disable selector-max-compound-selectors */ /* stylelint-disable selector-no-qualifying-type */ -/* stylelint-disable declaration-property-unit-whitelist */ -/* stylelint-disable declaration-property-unit-blacklist */ /* Main CP box ---------------------------------------- */ @@ -361,5 +359,3 @@ ol.def-rules li { /* stylelint-enable selector-max-compound-selectors */ /* stylelint-enable selector-no-qualifying-type */ -/* stylelint-enable declaration-property-unit-whitelist */ -/* stylelint-enable declaration-property-unit-blacklist */ diff --git a/phpBB/styles/prosilver/theme/forms.css b/phpBB/styles/prosilver/theme/forms.css index d864d5dcd2..90cbe2c26c 100644 --- a/phpBB/styles/prosilver/theme/forms.css +++ b/phpBB/styles/prosilver/theme/forms.css @@ -4,8 +4,6 @@ /* stylelint-disable selector-max-compound-selectors */ /* stylelint-disable selector-no-qualifying-type */ -/* stylelint-disable declaration-property-unit-whitelist */ -/* stylelint-disable declaration-property-unit-blacklist */ /* General form styles ---------------------------------------- */ @@ -411,5 +409,3 @@ input.search { /* stylelint-enable selector-max-compound-selectors */ /* stylelint-enable selector-no-qualifying-type */ -/* stylelint-enable declaration-property-unit-whitelist */ -/* stylelint-enable declaration-property-unit-blacklist */ diff --git a/phpBB/styles/prosilver/theme/links.css b/phpBB/styles/prosilver/theme/links.css index 01fad36278..b83f49b0a2 100644 --- a/phpBB/styles/prosilver/theme/links.css +++ b/phpBB/styles/prosilver/theme/links.css @@ -2,8 +2,6 @@ $Links /* -------------------------------------------------------------- */ -/* stylelint-disable declaration-property-unit-whitelist */ - /* Links adjustment to correctly display an order of rtl/ltr mixed content */ a { text-decoration: none; @@ -206,5 +204,3 @@ a.feed-icon-forum { a.anchor { display: block; } - -/* stylelint-enable declaration-property-unit-whitelist */ diff --git a/phpBB/styles/prosilver/theme/plupload.css b/phpBB/styles/prosilver/theme/plupload.css index 554d71273e..7d2c7d9e10 100644 --- a/phpBB/styles/prosilver/theme/plupload.css +++ b/phpBB/styles/prosilver/theme/plupload.css @@ -2,8 +2,6 @@ $Plupload /* -------------------------------------------------------------- */ -/* stylelint-disable declaration-property-unit-whitelist */ - .attach-panel-multi { display: none; margin-bottom: 10px; @@ -92,5 +90,3 @@ vertical-align: bottom; max-width: 65%; } - -/* stylelint-enable declaration-property-unit-whitelist */ diff --git a/phpBB/styles/prosilver/theme/print.css b/phpBB/styles/prosilver/theme/print.css index 8670aa8461..820256fa98 100644 --- a/phpBB/styles/prosilver/theme/print.css +++ b/phpBB/styles/prosilver/theme/print.css @@ -3,8 +3,6 @@ /* -------------------------------------------------------------- */ /* stylelint-disable selector-max-compound-selectors */ -/* stylelint-disable declaration-property-unit-whitelist */ -/* stylelint-disable declaration-property-unit-blacklist */ /* Lots still TODO here! */ @@ -220,12 +218,13 @@ ul { display: none; } +/* stylelint-disable declaration-property-unit-whitelist */ .emoji { width: 1em; min-width: 18px; height: 1em; min-height: 18px; } -/* stylelint-enable selector-max-compound-selectors */ /* stylelint-enable declaration-property-unit-whitelist */ -/* stylelint-enable declaration-property-unit-blacklist */ + +/* stylelint-enable selector-max-compound-selectors */ diff --git a/phpBB/styles/prosilver/theme/responsive.css b/phpBB/styles/prosilver/theme/responsive.css index e516bd1601..1398fcfd72 100644 --- a/phpBB/styles/prosilver/theme/responsive.css +++ b/phpBB/styles/prosilver/theme/responsive.css @@ -3,8 +3,6 @@ /* -------------------------------------------------------------- */ /* stylelint-disable selector-max-compound-selectors */ /* stylelint-disable selector-no-qualifying-type */ -/* stylelint-disable declaration-property-unit-whitelist */ -/* stylelint-disable declaration-property-unit-blacklist */ @media (max-width: 320px) { select, @@ -834,5 +832,3 @@ /* stylelint-enable selector-max-compound-selectors */ /* stylelint-enable selector-no-qualifying-type */ -/* stylelint-enable declaration-property-unit-whitelist */ -/* stylelint-enable declaration-property-unit-blacklist */