summaryrefslogtreecommitdiff
path: root/cdm.css
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-25 16:08:20 +0400
committerAndrew Dolgov <[email protected]>2013-03-25 16:09:05 +0400
commitd2f3467bb6c0c42ef0e0d20ac975988efacb22e2 (patch)
tree35785a06f7908e75f6a758332c55b984b4a615f7 /cdm.css
parent4cdb81737a5a92245c95ce8d38fddc13635e1d26 (diff)
add a simple appearing preview for unexpanded cdm and normal mode
Diffstat (limited to 'cdm.css')
-rw-r--r--cdm.css20
1 files changed, 20 insertions, 0 deletions
diff --git a/cdm.css b/cdm.css
index 6bed55de1..60d460198 100644
--- a/cdm.css
+++ b/cdm.css
@@ -174,3 +174,23 @@ 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;
+}