aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/css
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-04-17 07:09:42 -0400
committerAndrew Manning <tamanning@zoho.com>2016-04-17 07:09:42 -0400
commitd7fe48d1b683bf11c796dca22c01b83076d1e96b (patch)
tree49568f796796b571ce1e94896020146380b6e3be /view/theme/redbasic/css
parentce582ccadaaf91b611d1c2529b2ba21fc36f5f17 (diff)
downloadvolse-hubzilla-d7fe48d1b683bf11c796dca22c01b83076d1e96b.tar.gz
volse-hubzilla-d7fe48d1b683bf11c796dca22c01b83076d1e96b.tar.bz2
volse-hubzilla-d7fe48d1b683bf11c796dca22c01b83076d1e96b.zip
New help panel that slides in from the top and pushes the content down so it is not covered. Panel toggles with help button. Still some bugs with small screen viewing.
Diffstat (limited to 'view/theme/redbasic/css')
-rw-r--r--view/theme/redbasic/css/style.css41
1 files changed, 24 insertions, 17 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index de48ff74a..5f38f60f1 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -1898,28 +1898,35 @@ nav .badge.mail-update:hover {
/* contextual help */
.help-content {
- background: rgba(255, 255, 255, 0.9);
- color: #333333;
- position: fixed;
- top: 50px;
- left: -80%;
- width: 80%;
- height: 60%;
- padding: 20px;
- transition: left 300ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
- box-sizing: border-box;
- border: #CCC thin solid;
- overflow: auto;
+ background: rgba(255, 255, 255, 0.9);
+ color: #333333;
+ position: fixed;
+ top: -1000px;
+ left: 0%;
+ right: 100%;
+ width: 100%;
+ height: auto;
+ padding: 20px;
+ transition: top 300ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
+ box-sizing: border-box;
+ border: #CCC thin solid;
+ overflow: auto;
}
.help-content-open {
- left: 0px;
- -moz-box-shadow: 3px 3px 3px #ccc;
- -webkit-box-shadow: 3px 3px 3px #ccc;
- box-shadow: 3px 3px 3px #ccc;
+ top: 50px;
+ -moz-box-shadow: 3px 3px 3px #ccc;
+ -webkit-box-shadow: 3px 3px 3px #ccc;
+ box-shadow: 3px 3px 3px #ccc;
+}
+main {
+ top: auto;
+}
+main.help-content-open {
+ top: 200px;
}
.help-content dd {
- margin-bottom: 1em;
+ margin-bottom: 1em;
}
/* contextual help end */