diff --git a/.stylelintrc.json b/.stylelintrc.json index fa61b92b..32578997 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -2,6 +2,7 @@ "extends": "stylelint-config-standard", "rules": { "string-quotes": "single", + "selector-nested-pattern": "false", "selector-class-pattern": "^([a-z][a-z0-9]*)(-[a-z0-9]+)*$|block_column", "declaration-property-unit-disallowed-list": { "font-size": [ diff --git a/assets/stylesheets/additionals.css b/assets/stylesheets/additionals.css index 43a3b992..0b6dfbdc 100644 --- a/assets/stylesheets/additionals.css +++ b/assets/stylesheets/additionals.css @@ -84,34 +84,32 @@ ul.dashboard-list { margin-left: 4px; } -svg { - &.s64 { - width: 64px; - height: 64px; - } +svg.s64 { + width: 64px; + height: 64px; +} - &.s32 { - width: 32px; - height: 32px; - } +svg.s32 { + width: 32px; + height: 32px; +} - &.s24 { - width: 1.5rem; - height: 1.5rem; - } +svg.s24 { + width: 1.5rem; + height: 1.5rem; +} - &.s16 { - width: 1rem; - height: 1rem; - } +svg.s16 { + width: 1rem; + height: 1rem; +} - &.suffixed { - margin-left: 3px; - } +svg.suffixed { + margin-left: 3px; +} - &.dashboard-system-default.global { - stroke: var(--a-color-alert); - } +svg.dashboard-system-default.global { + stroke: var(--a-color-alert); } .icon-flipped-color svg {