diff options
author | Noah Loomans <noahloomans@gmail.com> | 2016-12-07 12:48:14 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2016-12-07 12:48:14 +0100 |
commit | 73af3c8dee488ba962e44343f1e57a5ca3deb428 (patch) | |
tree | c1059dd7a82786a3bcaf6f3436f9010aa97c5153 /public/stylesheets/style.css | |
parent | 3b14fbf32d87668a3fbbf561a4d6dfaddaa0bcc9 (diff) |
add tooltip
Diffstat (limited to 'public/stylesheets/style.css')
-rw-r--r-- | public/stylesheets/style.css | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index cda0b19..f569134 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -324,4 +324,28 @@ 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::before { + content: ''; + width: 24px; + height: 24px; + background-color: white; + top: -12px; + position: absolute; + transform: rotate(45deg); + z-index: -1; }
\ No newline at end of file |