summaryrefslogtreecommitdiff
path: root/themes/light/cdm.less
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-05-17 08:35:01 +0300
committerAndrew Dolgov <[email protected]>2020-05-17 08:35:01 +0300
commiteae79615a2a8573e9e65d4e3f6d069be7b850291 (patch)
treebac7dab1c74a606ec32ef8db977db12fd9b1460e /themes/light/cdm.less
parent9ae9302b6b3526b15652715f9741dad8c51f9fee (diff)
Use more specific definitions for applying `stuck` effects.
https://git.tt-rss.org/fox/tt-rss/pulls/143
Diffstat (limited to 'themes/light/cdm.less')
-rw-r--r--themes/light/cdm.less27
1 files changed, 14 insertions, 13 deletions
diff --git a/themes/light/cdm.less b/themes/light/cdm.less
index e77f2ec03..3a5b602f2 100644
--- a/themes/light/cdm.less
+++ b/themes/light/cdm.less
@@ -62,15 +62,6 @@
}
}
- .header[stuck] {
- box-shadow : 0 1px 1px -1px rgba(0,0,0,0.1);
- border: 0 solid @border-default;
- border-bottom-width: 1px;
- background : @default-bg ! important;
- opacity: 0.9;
- backdrop-filter: blur(6px);
- }
-
.footer {
height : 30px;
padding-left : 5px;
@@ -129,10 +120,6 @@
}
-div.cdm.expanded .header:not([stuck]) {
- background: transparent ! important;
-}
-
div.cdm.expanded div.header a.title {
font-size : 16px;
color : #999;
@@ -324,3 +311,17 @@ div.cdm.expandable:not(.active) {
display : none;
}
}
+
+div.cdm {
+ &.expandable.active,
+ &.expanded {
+ .header[stuck] {
+ box-shadow : 0 1px 1px -1px rgba(0,0,0,0.1);
+ border: 0 solid @border-default;
+ border-bottom-width: 1px;
+ background : @default-bg ! important;
+ opacity: 0.9;
+ backdrop-filter: blur(6px);
+ }
+ }
+}