From 3062a6290f391287f3cb4d1bb2b24d95330d370f Mon Sep 17 00:00:00 2001 From: "gasperfele@fri1.uni-lj.si" Date: Wed, 14 Jan 2015 11:30:20 +0000 Subject: added CSS git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@185 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414 --- kpov_judge/web/kpov_judge/static/style.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 kpov_judge/web/kpov_judge/static/style.css (limited to 'kpov_judge/web') 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; +} -- cgit v1.2.1