summaryrefslogtreecommitdiff
path: root/kpov_judge
diff options
context:
space:
mode:
authorgasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-01-14 11:30:20 +0000
committergasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-01-14 11:30:20 +0000
commit3062a6290f391287f3cb4d1bb2b24d95330d370f (patch)
treef6b9a09030e7cdf68767d51bd33e17bc8760e86e /kpov_judge
parent6ede798f41ee5a5dd8cf4fd65f986d2052d2808a (diff)
added CSS
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@185 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
Diffstat (limited to 'kpov_judge')
-rw-r--r--kpov_judge/web/kpov_judge/static/style.css22
1 files changed, 22 insertions, 0 deletions
diff --git a/kpov_judge/web/kpov_judge/static/style.css b/kpov_judge/web/kpov_judge/static/style.css
new file mode 100644
index 0000000..9be13f8
--- /dev/null
+++ b/kpov_judge/web/kpov_judge/static/style.css
@@ -0,0 +1,22 @@
+.hover {
+ position:relative;
+}
+
+.tooltip { /* hide and position tooltip */
+ top:1em;
+ left:1em;
+ background-color:black;
+ color:white;
+ border-radius:5px;
+ opacity:0;
+ position:absolute;
+ -webkit-transition: opacity 0.5s;
+ -moz-transition: opacity 0.5s;
+ -ms-transition: opacity 0.5s;
+ -o-transition: opacity 0.5s;
+ transition: opacity 0.5s;
+}
+
+.hover:hover .tooltip { /* display tooltip on hover */
+ opacity:1;
+}