]> git.wh0rd.org - tt-rss.git/blobdiff - cdm.css
add a simple appearing preview for unexpanded cdm and normal mode
[tt-rss.git] / cdm.css
diff --git a/cdm.css b/cdm.css
index b793ee058a8c842c9daaedde6414552525e7c67e..60d4601980084cdae58ccc4fdddbc6b408f39436 100644 (file)
--- a/cdm.css
+++ b/cdm.css
@@ -132,6 +132,10 @@ div.cdm.expanded.Unread.Selected div.cdmHeader, div.cdm.expanded.Selected div.cd
        background : #FFEA9E;
 }
 
+div.cdm.active.Selected div.cdmHeader {
+       background : #FFEA9E;
+}
+
 div.cdm.expanded.even.Unread, div.cdm.expanded.odd.Unread {
        background : white;
 }
@@ -155,3 +159,38 @@ div.cdmContentInner p {
 .Unread div.cdmHeader {
        font-weight : bold;
 }
+
+div.cdmContentInner iframe {
+       min-width : 50%;
+}
+
+div.cdmHeader span.author {
+       color : gray;
+       font-size : 11px;
+       font-weight : normal;
+}
+
+div.cdm.expanded div.cdmHeader a.title, div.cdm.active div.cdmHeader a.title {
+       font-size : 13px;
+}
+
+div#small_article_preview {
+       width : 300px;
+       max-height : 350px;
+       overflow : hidden;
+       border : 1px solid #c0c0c0;
+       background : white;
+       position : absolute;
+       box-shadow : 2px 2px 4px #c0c0c0;
+       z-index : 2;
+}
+
+div#small_article_preview div.content {
+       padding : 5px;
+       font-size : 12px;
+       color : gray;
+}
+
+div#small_article_preview div.content img {
+       max-width : 290px;
+}