]> git.wh0rd.org - tt-rss.git/blobdiff - css/cdm.less
minor css updates
[tt-rss.git] / css / cdm.less
index ebefeabbdb495fc104dbdb905cc5fdcf8de44c48..a919fb60541e185ea313200debdf42e52ea39e73 100644 (file)
@@ -1,5 +1,3 @@
-@fonts-ui: "Segoe WP Semibold", "Segoe UI Semibold", "Segoe UI Web Semibold",  "Segoe UI", Ubuntu, "Helvetica Neue", Helvetica, Arial, sans-serif;
-
 .cdm {
        margin-right : 4px;
 
@@ -30,7 +28,7 @@
                }
 
                span.updated {
-                       color : #555;
+                       color : @default-text;
                        font-weight : normal;
                        font-size : 11px;
                        white-space : nowrap;
@@ -61,7 +59,7 @@
                height : 30px;
                padding-left : 5px;
                font-weight : normal;
-               color : #555;
+               color : @default-text;
                clear : both;
 
                > * {
        margin-bottom : 4px;
 
        .cdmFooter {
-               border-style : solid;
-               border-width : 0px 0px 1px 0px;
-               border-color : #ddd;
+               border: 0px solid #ddd;
+               border-bottom-width: 1px;
        }
 
        > hr {
 
 .cdm.expandable {
        background-color : #f0f0f0;
-       border-width : 0px 0px 1px 0px;
-       border-color : #ddd;
-       border-style : solid;
+       border: 0px solid #ddd;
+       border-bottom-width: 1px;
 
        > hr {
                display : none;
        background : white;
 }
 
-.cdm.expandable.Selected {
-       background : #f9fbff;
+.cdm.expandable.Selected:not(.active) {
+       background : desaturate(@color-accent, 25%);
+
+       a,
+       .cdmHeader a.title,
+       span {
+               color : white;
+       }
 }
 
 .cdm.expandable.active {
@@ -154,12 +156,11 @@ div.cdm.expandable.active div.cdmHeader span.titleWrap {
 
 div.cdm.expandable div.cdmHeader a.title {
        font-weight : 600;
-       color : #555;
+       color : @default-text;
        font-size : 14px;
-       -webkit-transition : color 0.2s;
-       transition : color 0.2s;
+       transition : color 0.2s, background 0.2s;
        text-rendering: optimizelegibility;
-       font-family : @fonts-ui;
+       font-family : @fonts-ui-bold;
 }
 
 div.cdm.expandable.Unread div.cdmHeader a.title {
@@ -167,11 +168,11 @@ div.cdm.expandable.Unread div.cdmHeader a.title {
 }
 
 div.cdm.expandable.active div.cdmHeader a.title {
-       color: #0088cc;
+       color: @color-link;
        font-size: 16px;
        font-weight: 600;
        text-rendering: optimizelegibility;
-       font-family: @fonts-ui;
+       font-family: @fonts-ui-bold;
 }
 
 div.cdm.expanded div.cdmHeader {
@@ -182,10 +183,9 @@ div.cdm.expanded div.cdmHeader a.title {
        font-size : 16px;
        color : #999;
        font-weight : 600;
-       -webkit-transition : color 0.2s;
-       transition : color 0.2s;
+       transition : color 0.2s, background 0.2s;
        text-rendering: optimizelegibility;
-       font-family : @fonts-ui;
+       font-family : @fonts-ui-bold;
 }
 
 div.cdm.expanded.active {
@@ -193,7 +193,7 @@ div.cdm.expanded.active {
 }
 
 div.cdm.expanded.active div.cdmHeader a.title {
-       color : #0088cc;
+       color : @color-link;
 }
 
 div.cdm.expanded.Unread div.cdmHeader a.title {
@@ -201,7 +201,7 @@ div.cdm.expanded.Unread div.cdmHeader a.title {
 }
 
 div.cdm.expanded div.cdmContent {
-       color : #555;
+       color : @default-text;
 }
 
 div.cdm.expanded.Unread div.cdmContent {
@@ -222,27 +222,26 @@ span.cdmExcerpt {
 
 div.cdmContent div.postEnclosures {
        margin-top : 1em;
-       color : #555;
+       color : @default-text;
 }
 
 div.cdmFeedTitle {
-       border-color : #0088cc;
-       border-width : 0px 0px 1px 0px;
-       border-style : solid;
+       border: 0px solid @color-link;
+       border-bottom-width: 1px;
        padding : 5px 3px 5px 5px;
 }
 
 div.cdmFeedTitle a.title {
-       color : #555;
+       color : @default-text;
        font-weight : bold;
 }
 
 div.cdmFeedTitle a {
-       color : #555;
+       color : @default-text;
 }
 
 div.cdmFeedTitle a:hover {
-       color : #0088cc;
+       color : @color-link;
 }
 
 div.cdmHeader span.hlFeed {
@@ -253,7 +252,7 @@ div.cdmHeader span.hlFeed {
 
 div.cdmHeader div.hlFeed, div.cdmHeader div.hlFeed a {
        vertical-align : middle;
-       color : #555;
+       color : @default-text;
        font-weight : normal;
        font-style : italic;
        font-size : 11px;
@@ -279,7 +278,7 @@ div.cdmContentInner iframe {
 
 div.cdmHeader span.author {
        white-space : nowrap;
-       color : #555;
+       color : @default-text;
        font-size : 11px;
        font-weight : normal;
 }
@@ -290,11 +289,10 @@ div#floatingTitle {
        top : 0px;
        right : 0px;
        left : 0px;
-       border-color : #ddd;
-       border-width : 0px 0px 1px 0px;
-       border-style : solid;
+       border: 0px solid #ddd;
+       border-bottom-width: 1px;
        background : white;
-       color : #555;
+       color : @default-text;
        box-shadow : 0px 1px 1px -1px rgba(0,0,0,0.1);
 
        > * {
@@ -310,7 +308,7 @@ div#floatingTitle {
        }
 
        span.author {
-               color : #555;
+               color : @default-text;
                font-size : 11px;
                font-weight : normal;
        }
@@ -318,11 +316,10 @@ div#floatingTitle {
        a.title {
                font-size : 16px;
                color : #999;
-               -webkit-transition : color 0.2s;
-               transition : color 0.2s;
+               transition : color 0.2s, background 0.2s;
                font-weight : 600;
                text-rendering: optimizelegibility;
-               font-family : @fonts-ui;
+               font-family : @fonts-ui-bold;
        }
 
        img.anchor {
@@ -331,7 +328,7 @@ div#floatingTitle {
 
        div.hlFeed {
                padding-right : 10px;
-               color : #555;
+               color : @default-text;
                font-weight : normal;
                font-style : italic;
                font-size : 11px;
@@ -347,12 +344,12 @@ div#floatingTitle {
        span.updated {
                padding-right : 10px;
                white-space : nowrap;
-               color : #555;
+               color : @default-text;
                font-size : 11px;
        }
 
        div.hlFeed a {
-               color : #555;
+               color : @default-text;
        }
 
        span.titleWrap {
@@ -409,16 +406,14 @@ div#floatingTitle.Unread a.title {
 
        a.catchup {
                text-align : right;
-               color : #555;
+               color : @default-text;
                padding-right : 10px;
                font-size : 11px;
                white-space : nowrap;
        }
 
        a.catchup:hover {
-               color : #0088cc;
+               color : @color-link;
        }
 
 }
-
-