Skip to content

Commit

Permalink
remove nested css code, because redmine core removed it (why did they…
Browse files Browse the repository at this point in the history
… include it in a stable release before?? - it is hard to work with plugins with this kind of changes). See https://www.redmine.org/issues/41957
  • Loading branch information
alexandermeindl committed Dec 11, 2024
1 parent 9ded1cb commit 14ab525
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 23 deletions.
1 change: 1 addition & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
44 changes: 21 additions & 23 deletions assets/stylesheets/additionals.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 14ab525

Please sign in to comment.