X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=css%2Fcdm.less;h=a0790f6c1643894134014b2982d249a2eab87e40;hb=50052fb78a3a9d1bb3fa488e7fd7b23125c38124;hp=e1cf76ec09535a8ef508d2e09044211aee8371d6;hpb=9dd336a2c32d7f9dd6224602cd31a9cb2c3503fd;p=tt-rss.git diff --git a/css/cdm.less b/css/cdm.less index e1cf76ec..a0790f6c 100644 --- a/css/cdm.less +++ b/css/cdm.less @@ -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; > * { @@ -118,61 +115,6 @@ } -.cdm.expandable { - background-color : #f0f0f0; - border: 0px solid #ddd; - border-bottom-width: 1px; - - > hr { - display : none; - } - - div.cdmHeader span.titleWrap { - white-space : nowrap; - text-overflow : ellipsis; - overflow : hidden; - max-width : 500px; - } -} - -.cdm.expandable.Unread { - background : white; -} - -.cdm.expandable.Selected { - background : #f9fbff; -} - -.cdm.expandable.active { - background : white ! important; -} - -div.cdm.expandable.active div.cdmHeader span.titleWrap { - white-space : normal; -} - -div.cdm.expandable div.cdmHeader a.title { - font-weight : 600; - color : #555; - font-size : 14px; - -webkit-transition : color 0.2s; - transition : color 0.2s; - text-rendering: optimizelegibility; - font-family : @fonts-ui-bold; -} - -div.cdm.expandable.Unread div.cdmHeader a.title { - color : black; -} - -div.cdm.expandable.active div.cdmHeader a.title { - color: #0088cc; - font-size: 16px; - font-weight: 600; - text-rendering: optimizelegibility; - font-family: @fonts-ui-bold; -} - div.cdm.expanded div.cdmHeader { background : transparent ! important; } @@ -181,8 +123,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 +133,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 +141,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 +162,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 +192,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 +218,7 @@ div.cdmContentInner iframe { div.cdmHeader span.author { white-space : nowrap; - color : #555; + color : @default-text; font-size : 11px; font-weight : normal; } @@ -291,7 +232,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 +248,7 @@ div#floatingTitle { } span.author { - color : #555; + color : @default-text; font-size : 11px; font-weight : normal; } @@ -315,8 +256,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 +268,7 @@ div#floatingTitle { div.hlFeed { padding-right : 10px; - color : #555; + color : @default-text; font-weight : normal; font-style : italic; font-size : 11px; @@ -344,12 +284,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 +346,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; } }