summaryrefslogtreecommitdiffstats
path: root/core/css/mobile.css
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-03-14 10:33:19 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-03-14 10:33:19 +0100
commitb37aae9925a1d5516a24f1f9db31a156c2d3bc72 (patch)
treee8185b5c2fe200018ada1974d01459ebb4580e59 /core/css/mobile.css
parentec67d7e63528069269e4469b4feeeb9b52b90680 (diff)
downloadnextcloud-server-b37aae9925a1d5516a24f1f9db31a156c2d3bc72.tar.gz
nextcloud-server-b37aae9925a1d5516a24f1f9db31a156c2d3bc72.zip
mobile: menu togglable for mobile, use code by @PVince81
Diffstat (limited to 'core/css/mobile.css')
-rw-r--r--core/css/mobile.css65
1 files changed, 65 insertions, 0 deletions
diff --git a/core/css/mobile.css b/core/css/mobile.css
index 665ad0daae9..5a465b35fb9 100644
--- a/core/css/mobile.css
+++ b/core/css/mobile.css
@@ -18,6 +18,71 @@
display: none;
}
+/* toggle navigation */
+#content-wrapper {
+ padding-left: 0;
+}
+
+#navigation {
+ top: 45px;
+ bottom: initial;
+ width: 90%;
+ max-width: 320px;
+ max-height: 90%;
+ margin-top: 0;
+ top: 45px;
+ background-color: rgba(36, 40, 47, .97);
+ overflow-x: initial;
+ border-bottom-right-radius: 7px;
+ border-bottom: 1px #333 solid;
+ border-right: 1px #333 solid;
+ box-shadow: 0 0 7px rgba(29,45,68,.97);
+ display: none;
+}
+#navigation, #navigation * {
+ box-sizing:border-box; -moz-box-sizing:border-box;
+}
+#navigation li {
+ display: inline-block;
+}
+#navigation a {
+ width: 70px;
+ height: 80px;
+ display: inline-block;
+ text-align: center;
+ padding: 20px 0;
+}
+#navigation a span {
+ display: inline-block;
+ font-size: 13px;
+ padding-bottom: 0;
+ padding-left: 0;
+ width: initial;
+}
+#navigation .icon {
+ margin: 0 auto;
+ padding: 0;
+}
+#navigation li:first-child .icon {
+ padding-top: 0;
+}
+/* Apps management as sticky footer */
+#navigation .wrapper {
+ min-height: initial;
+ margin: 0;
+}
+#apps-management, #navigation .push {
+ height: initial;
+}
+
+
+
+/* shift to account for missing navigation */
+#body-user #controls,
+#body-settings #controls {
+ padding-left: 0;
+}
+
/* don’t require a minimum width for controls bar */
#controls {
min-width: initial !important;