aboutsummaryrefslogtreecommitdiff
path: root/public/stylesheets
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-12-07 13:00:18 +0100
committerNoah Loomans <noahloomans@gmail.com>2016-12-07 13:00:18 +0100
commitfa4cb48e2ca2186a9fb82407a9d1febd438e61c7 (patch)
tree88a268c777043972ae58fd957cf03ce86893396d /public/stylesheets
parent73af3c8dee488ba962e44343f1e57a5ca3deb428 (diff)
improved tooltip
Diffstat (limited to 'public/stylesheets')
-rw-r--r--public/stylesheets/style.css43
1 files changed, 23 insertions, 20 deletions
diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css
index f569134..e35d389 100644
--- a/public/stylesheets/style.css
+++ b/public/stylesheets/style.css
@@ -324,28 +324,31 @@ body.no-input #week-selector {
body.no-input #search input:-ms-input-placeholder {
color: #757575;
}
-}
-.tooltip {
- display: none;
-}
+ body.no-input .tooltip {
+ display: block;
+ position: absolute;
+ background-color: white;
+ padding: 15px;
+ margin: 32px 8px;
+ border-radius: 2px;
-body.no-input .tooltip {
- display: block;
- position: absolute;
- background-color: white;
- padding: 15px;
- margin: 32px 8px;
- border-radius: 2px;
+ left: 16px;
+ right: 16px;
+ }
+
+ body.no-input .tooltip::before {
+ content: '';
+ width: 24px;
+ height: 24px;
+ background-color: white;
+ top: -12px;
+ position: absolute;
+ transform: rotate(45deg);
+ z-index: -1;
+ }
}
-body.no-input .tooltip::before {
- content: '';
- width: 24px;
- height: 24px;
- background-color: white;
- top: -12px;
- position: absolute;
- transform: rotate(45deg);
- z-index: -1;
+.tooltip {
+ display: none;
} \ No newline at end of file