summaryrefslogtreecommitdiff
path: root/css/cdm.less
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-01 01:03:01 +0300
committerAndrew Dolgov <[email protected]>2018-12-01 01:03:01 +0300
commit5aa9c604943cbb93f4d401914dafeedfddb0007e (patch)
treeb3daedc6303f1cf6b9f6eeb20a03ba00dc0f2665 /css/cdm.less
parent1702ecf7ea7f80fd7295c01cab3502c47cb72b45 (diff)
bring back (debloated) version of unexpanded combined mode
Diffstat (limited to 'css/cdm.less')
-rw-r--r--css/cdm.less79
1 files changed, 75 insertions, 4 deletions
diff --git a/css/cdm.less b/css/cdm.less
index a78d26f17..fc8120700 100644
--- a/css/cdm.less
+++ b/css/cdm.less
@@ -103,6 +103,10 @@
margin-top : 4px;
margin-bottom : 4px;
+ .collapse {
+ display : none;
+ }
+
.footer {
border: 0px solid #ddd;
border-bottom-width: 1px;
@@ -327,7 +331,7 @@ div#floatingTitle.Unread a.title {
.cdm.high .header {
a.title.high,
- .cdmExcerpt,
+ .excerpt,
span.author {
color : #00aa00;
}
@@ -335,18 +339,85 @@ div#floatingTitle.Unread a.title {
.cdm.Unread.high .header {
a.title.high,
- .cdmExcerpt,
+ .excerpt,
span.author {
color : #00dd00;
}
}
.cdm .header a.title.low,
-.cdm.low .header .cdmExcerpt,
+.cdm.low .header .excerpt,
.cdm.Unread .header a.title.low,
-.cdm.Unread.low .header .cdmExcerpt,
+.cdm.Unread.low .header .excerpt,
.cdm.low .header span.author {
color : #909090;
text-decoration : line-through;
}
+.cdm.expandable {
+ background-color : #f0f0f0;
+ border: 0px solid #ddd;
+ border-bottom-width: 1px;
+
+ > hr {
+ display : none;
+ }
+
+ div.header span.titleWrap {
+ white-space : nowrap;
+ text-overflow : ellipsis;
+ overflow : hidden;
+ max-width : 500px;
+ }
+}
+
+.cdm.expandable.Unread {
+ background : white;
+}
+
+.cdm.expandable.Selected:not(.active) {
+ background : desaturate(@color-accent, 25%);
+
+ a,
+ .header a.title,
+ span {
+ color : white;
+ }
+}
+
+.cdm.expandable.active {
+ background : white ! important;
+}
+
+div.cdm.expandable.active div.header span.titleWrap {
+ white-space : normal;
+}
+
+div.cdm.expandable div.header a.title {
+ font-weight : 600;
+ color : @default-text;
+ font-size : 14px;
+ transition : color 0.2s, background 0.2s;
+ text-rendering: optimizelegibility;
+ font-family : @fonts-ui-bold;
+}
+
+div.cdm.expandable.Unread div.header a.title {
+ color : black;
+}
+
+div.cdm.expandable.active div.header a.title {
+ color: @color-link;
+ font-size: 16px;
+ font-weight: 600;
+ text-rendering: optimizelegibility;
+ font-family: @fonts-ui-bold;
+}
+
+div.cdm.expandable:not(.active) {
+ cursor : pointer;
+
+ .content, .collapse {
+ display : none;
+ }
+} \ No newline at end of file