]> git.wh0rd.org - tt-rss.git/blobdiff - css/cdm.less
minor css updates
[tt-rss.git] / css / cdm.less
index e1cf76ec09535a8ef508d2e09044211aee8371d6..a919fb60541e185ea313200debdf42e52ea39e73 100644 (file)
@@ -1,6 +1,3 @@
-@fonts-ui-bold: "Segoe WP Semibold", "Segoe UI Semibold", "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "Helvetica Neue", Helvetica, Arial, sans-serif;
-@fonts-ui:  "Segoe UI Web", "Segoe UI", Ubuntu, "Helvetica Neue", Helvetica, Arial, sans-serif;
-
 .cdm {
        margin-right : 4px;
 
@@ -31,7 +28,7 @@
                }
 
                span.updated {
-                       color : #555;
+                       color : @default-text;
                        font-weight : normal;
                        font-size : 11px;
                        white-space : nowrap;
@@ -62,7 +59,7 @@
                height : 30px;
                padding-left : 5px;
                font-weight : normal;
-               color : #555;
+               color : @default-text;
                clear : both;
 
                > * {
        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 {
@@ -153,10 +156,9 @@ 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-bold;
 }
@@ -166,7 +168,7 @@ 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;
@@ -181,8 +183,7 @@ 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-bold;
 }
@@ -192,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 {
@@ -200,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 {
@@ -221,26 +222,26 @@ span.cdmExcerpt {
 
 div.cdmContent div.postEnclosures {
        margin-top : 1em;
-       color : #555;
+       color : @default-text;
 }
 
 div.cdmFeedTitle {
-       border: 0px solid #0088cc;
+       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 {
@@ -251,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;
@@ -277,7 +278,7 @@ div.cdmContentInner iframe {
 
 div.cdmHeader span.author {
        white-space : nowrap;
-       color : #555;
+       color : @default-text;
        font-size : 11px;
        font-weight : normal;
 }
@@ -291,7 +292,7 @@ div#floatingTitle {
        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);
 
        > * {
@@ -307,7 +308,7 @@ div#floatingTitle {
        }
 
        span.author {
-               color : #555;
+               color : @default-text;
                font-size : 11px;
                font-weight : normal;
        }
@@ -315,8 +316,7 @@ 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-bold;
@@ -328,7 +328,7 @@ div#floatingTitle {
 
        div.hlFeed {
                padding-right : 10px;
-               color : #555;
+               color : @default-text;
                font-weight : normal;
                font-style : italic;
                font-size : 11px;
@@ -344,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 {
@@ -406,14 +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;
        }
 
 }