From adc62470c51384094a34608cbd594cc52af899b6 Mon Sep 17 00:00:00 2001 From: msquare Date: Wed, 13 Dec 2017 12:22:26 +0100 Subject: improve public dashboard --- themes/base.less | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'themes') diff --git a/themes/base.less b/themes/base.less index 35473860..e529ead6 100644 --- a/themes/base.less +++ b/themes/base.less @@ -43,6 +43,27 @@ body { color: @brand-success; } +.dashboard-panel { + position: relative; + + .panel-link { + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + text-decoration: none; /* No underlines on the link */ + z-index: 10; /* Places the link above everything else in the div */ + background-color: @brand-primary; /* Fix to make div clickable in IE */ + opacity: 0; /* Fix to make div clickable in IE */ + filter: alpha(opacity=1); /* Fix to make div clickable in IE */ + } + + .panel-link:hover { + opacity: 0.3; + } +} + .panel-primary .panel-heading a { color: @panel-primary-text; } -- cgit v1.2.3-54-g00ecf