summaryrefslogtreecommitdiff
path: root/css/cdm.less
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-02 19:04:53 +0300
committerAndrew Dolgov <[email protected]>2018-12-02 19:04:53 +0300
commitad1b6f0a8618ed214001e90c0e5db380758a6c84 (patch)
tree86a2f1f7aad325f5b2b507b4464029446766377c /css/cdm.less
parentf89924f7a19871e26d5805a6c1863903c6e474bf (diff)
bring back excerpts in unexpanded mode
Diffstat (limited to 'css/cdm.less')
-rw-r--r--css/cdm.less33
1 files changed, 24 insertions, 9 deletions
diff --git a/css/cdm.less b/css/cdm.less
index f1e78e709..4cdfe80e1 100644
--- a/css/cdm.less
+++ b/css/cdm.less
@@ -103,7 +103,7 @@
margin-top : 4px;
margin-bottom : 4px;
- .collapse {
+ .collapse, .excerpt {
display : none;
}
@@ -290,7 +290,7 @@ div#floatingTitle {
color : @default-text;
}
- .collapse {
+ .collapse, .excerpt {
display : none;
}
@@ -373,6 +373,15 @@ div#floatingTitle.Unread a.title {
overflow : hidden;
max-width : 500px;
}
+
+ .excerpt {
+ white-space : nowrap;
+ font-size : 11px;
+ color : #999;
+ font-weight : normal;
+ cursor : pointer;
+ }
+
}
.cdm.expandable.Unread {
@@ -410,12 +419,18 @@ 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.active {
+ .excerpt {
+ display: none;
+ }
+
+ 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) {
@@ -424,4 +439,4 @@ div.cdm.expandable:not(.active) {
.content, .collapse {
display : none;
}
-} \ No newline at end of file
+}