From 3a9010d4c8a86983d06d6d5be3f68d6c03999e77 Mon Sep 17 00:00:00 2001 From: Cam Jackson Date: Thu, 29 Oct 2015 21:28:44 +1100 Subject: Add the user settings icon, with a popup box --- web-ui/app/scss/styles.scss | 58 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 55 insertions(+), 3 deletions(-) (limited to 'web-ui/app/scss/styles.scss') diff --git a/web-ui/app/scss/styles.scss b/web-ui/app/scss/styles.scss index 7f4d352a..a29bd078 100644 --- a/web-ui/app/scss/styles.scss +++ b/web-ui/app/scss/styles.scss @@ -21,6 +21,47 @@ background-color: $search-highlight; } +#user-settings-box { + position: absolute; + left: 20px; + bottom: 10px; + z-index: 1; + padding: 20px; + background-color: rgba(#3E3A37, 0.9); + + h1, i { + font-size: 2em; + color: white; + } + + i { + margin-left: 10px; + float: right; + cursor: pointer; + } + + p { + font-size: 1.7em; + color: #FF9C00; + } +} + +#user-settings-box.extra-bottom-space { + bottom: 65px; +} + +.arrow-box:before { + right: 100%; + top: 65%; + border: 20px solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; + pointer-events: none; + border-right-color: rgba(#3E3A37, 0.9); + margin-top: -20px; +} @mixin list-actions { #list-actions { @@ -398,7 +439,7 @@ section { } } - ul#logout, ul#feedback { + ul#logout, ul#feedback, ul#user-settings-icon { li { background-color: $navigation_background; padding: 5px 10px; @@ -423,14 +464,21 @@ section { } } - ul#logout li{ + ul#logout li { color: $action_buttons; &:hover { background-color: $action_buttons; } } - ul#feedback{ + ul#user-settings-icon li { + color: white; + &:hover { + background-color: white; + } + } + + ul#feedback { margin-bottom: 0; li { @@ -671,6 +719,10 @@ button { } } +.hidden { + display: none; +} + .left-off-canvas-menu { width: 222px; -webkit-backface-visibility: hidden; -- cgit v1.2.3