From 73af3c8dee488ba962e44343f1e57a5ca3deb428 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Wed, 7 Dec 2016 12:48:14 +0100 Subject: add tooltip --- public/stylesheets/style.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'public') 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 -- cgit v1.1