diff options
author | Aleksander Machniak <alec@alec.pl> | 2020-03-20 22:06:20 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2020-03-20 22:06:57 +0300 |
commit | ae71f01b33c885b193d9f3caef82b80dfc93e404 (patch) | |
tree | 8033fb5a87b228da0439e8ccbe53a57579c3afee /skins | |
parent | 746ccb7fdfa6b6dcd3f067725bb3e3464d82a7f6 (diff) |
Elastic: Fix color of a folder with recent messages (#7281)
Diffstat (limited to 'skins')
-rw-r--r-- | skins/elastic/styles/colors.less | 4 | ||||
-rw-r--r-- | skins/elastic/styles/widgets/lists.less | 16 |
2 files changed, 11 insertions, 9 deletions
diff --git a/skins/elastic/styles/colors.less b/skins/elastic/styles/colors.less index 2e042f7c2..4c797a408 100644 --- a/skins/elastic/styles/colors.less +++ b/skins/elastic/styles/colors.less @@ -85,9 +85,9 @@ @color-list-border: @color-black-shade-bg; @color-list-badge: #fff; @color-list-badge-background: @color-main; -@color-list-recent: blue; +@color-list-recent: darken(@color-main, 20%); @color-list-recent-badge: #fff; -@color-list-recent-badge-background: @color-list-recent; +@color-list-recent-badge-background: @color-main; @color-list-pagenav: @color-black-shade-text; @color-list-icon: fadeout(@color-list-secondary, 25%); diff --git a/skins/elastic/styles/widgets/lists.less b/skins/elastic/styles/widgets/lists.less index 06406e313..a8966f978 100644 --- a/skins/elastic/styles/widgets/lists.less +++ b/skins/elastic/styles/widgets/lists.less @@ -478,10 +478,6 @@ ul.treelist { } } - &.recent { - color: @color-list-recent; - } - .unreadcount { position: absolute; top: 0; @@ -502,9 +498,15 @@ ul.treelist { } } - &.recent > .unreadcount { - background: @color-list-recent-badge-background; - color: @color-list-recent-badge; + &.recent { + & > a { + color: @color-list-recent; + + & > .unreadcount { + background: @color-list-recent-badge-background; + color: @color-list-recent-badge; + } + } } &.root { |