aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-04-23 16:39:56 +0200
committerMario Vavti <mario@mariovavti.com>2016-04-23 16:39:56 +0200
commitb0a2e5d3f70cb4c87f32cbee2f9ca6f30ebb22eb (patch)
tree4476e7d85f1382348df2b9c69b1be62212a1514f /view/theme
parent0463df62f0d7146b557ba881ac60b0a6916fefa6 (diff)
downloadvolse-hubzilla-b0a2e5d3f70cb4c87f32cbee2f9ca6f30ebb22eb.tar.gz
volse-hubzilla-b0a2e5d3f70cb4c87f32cbee2f9ca6f30ebb22eb.tar.bz2
volse-hubzilla-b0a2e5d3f70cb4c87f32cbee2f9ca6f30ebb22eb.zip
simplify context help js and move it to main.js where all the nav related js resides, do not close the context help if we click outside of it - members might want to work on something while help is open, move the link to /help to dropdown-menu.
Diffstat (limited to 'view/theme')
-rw-r--r--view/theme/redbasic/css/style.css28
1 files changed, 12 insertions, 16 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 5b8729111..bd5df5e63 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -201,29 +201,26 @@ header #banner #logo-text {
}
/* contextual help */
-.help-content {
- background: $comment_item_colour;
- color: $font_colour;
+.contextual-help-content {
+ display: none;
+
+}
+
+.contextual-help-content-open {
+ display: block;
position: fixed;
- top: -50%;
- left: 0px;
- width: 100%;
+ top: 51px;
max-height: 50%;
+ background: $comment_item_colour;
padding: 20px;
- /*transition: top 300ms cubic-bezier(0.17, 0.04, 0.03, 0.94);*/
- border-bottom: #CCC 1px solid;
+ border-bottom: #ccc 1px solid;
overflow: auto;
-}
-
-.help-content-open {
- top: 51px;
-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
- /*transition: top 300ms cubic-bezier(0.17, 0.04, 0.03, 0.94);*/
}
-.help-content dd {
+.contextual-help-content dd {
margin-bottom: 1em;
}
/* contextual help end */
@@ -1703,10 +1700,9 @@ nav .badge.mail-update:hover {
#expand-aside,
#expand-tabs,
-#help_nav_btn_collapsed {
+#context-help-btn {
color: $nav_active_icon_colour;
padding: 7px 10px;
- text-decoration: none;
}
.nav-tabs.nav-justified {