aboutsummaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-11-17 22:33:41 +0100
committercedricbonhomme <devnull@localhost>2010-11-17 22:33:41 +0100
commit1b198d1f9730839b47b78ce248d6b36dc803cba2 (patch)
tree27f14e43810d85480d284e1992b09c253e850206 /css
parentReorganization of the menu. (diff)
downloadnewspipe-1b198d1f9730839b47b78ce248d6b36dc803cba2.tar.gz
newspipe-1b198d1f9730839b47b78ce248d6b36dc803cba2.tar.bz2
newspipe-1b198d1f9730839b47b78ce248d6b36dc803cba2.zip
Introduction of CCS tooltips (at the index page) to present description of articles on mouse over (without javascript).
Diffstat (limited to 'css')
-rwxr-xr-xcss/style.css36
1 files changed, 35 insertions, 1 deletions
diff --git a/css/style.css b/css/style.css
index 295ea3c0..ffc43543 100755
--- a/css/style.css
+++ b/css/style.css
@@ -341,4 +341,38 @@ blockquote.right {
max-height: 300px;
overflow: scroll;
margin-top: 0.5em;
-} \ No newline at end of file
+}
+
+/* CSS ToolTips */
+.tooltip {
+ color: #000000; outline: none;
+ text-decoration: none;
+ position: relative;
+ }
+ .tooltip span {
+ margin-left: -999em;
+ position: absolute;
+ }
+ .tooltip:hover span {
+ border-radius: 5px 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;
+ box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1); -webkit-box-shadow: 5px 5px rgba(0, 0, 0, 0.1); -moz-box-shadow: 5px 5px rgba(0, 0, 0, 0.1);
+ font-family: Calibri, Tahoma, Geneva, sans-serif;
+ position: absolute; left: 1em; top: 2em; z-index: 99;
+ margin-left: 0; width: 250px;
+ }
+ .tooltip:hover img {
+ border: 0; margin: -10px 0 0 -55px;
+ float: left; position: absolute;
+ }
+ .tooltip:hover em {
+ font-family: Candara, Tahoma, Geneva, sans-serif; font-size: 1.2em; font-weight: bold;
+ display: block; padding: 0.2em 0 0.6em 0;
+ }
+ .classic { padding: 0.8em 1em; }
+ .custom { padding: 0.5em 0.8em 0.8em 2em; }
+ * html a:hover { background: transparent; }
+ .classic {background: #FFFFAA; border: 1px solid #FFAD33; }
+ .critical { background: #FFCCAA; border: 1px solid #FF3334; }
+ .help { background: #9FDAEE; border: 1px solid #2BB0D7; }
+ .info { background: #9FDAEE; border: 1px solid #2BB0D7; }
+ .warning { background: #FFFFAA; border: 1px solid #FFAD33; \ No newline at end of file
bgstack15