summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-06-06 12:22:09 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-06-06 12:22:09 +0200
commit23c83c076cdb3de039de7d1eafa2764247faefa4 (patch)
tree1e6eda99a9acdf017cb4ab226842489746745ef6 /core
parent289accc31bd2adb98833e470162483119924e2e9 (diff)
downloadnextcloud-server-23c83c076cdb3de039de7d1eafa2764247faefa4.tar.gz
nextcloud-server-23c83c076cdb3de039de7d1eafa2764247faefa4.zip
unify controls bar, remove duplicate from user management
Diffstat (limited to 'core')
-rw-r--r--core/css/mobile.css20
-rw-r--r--core/css/styles.css10
2 files changed, 15 insertions, 15 deletions
diff --git a/core/css/mobile.css b/core/css/mobile.css
index 98033528210..9dad72a0286 100644
--- a/core/css/mobile.css
+++ b/core/css/mobile.css
@@ -40,11 +40,6 @@
display: none;
}
-/* don’t require a minimum width for controls bar */
-#controls {
- min-width: initial !important;
-}
-
/* position share dropdown */
#dropdown {
margin-right: 10% !important;
@@ -109,11 +104,13 @@
opacity: 1;
}
-/* fix controls bar for apps which don't use the standard */
-#body-user .app-files #controls,
-#user-controls {
+
+/* controls bar for mobile */
+#controls {
+ min-width: initial !important;
left: 0 !important;
padding-left: 44px !important;
+ padding-right: 0 !important;
}
/* .viewer-mode is when text editor, PDF viewer, etc is open */
#body-user .app-files.viewer-mode #controls {
@@ -134,11 +131,8 @@ table.multiselect thead {
/* fix controls bar jumping when navigation is slid out */
-.snapjs-left #app-navigation-toggle {
- top: 0;
-}
-.snapjs-left .app-files #controls,
-.snapjs-left #user-controls {
+.snapjs-left #app-navigation-toggle,
+.snapjs-left #controls {
top: 0;
}
.snapjs-left table.multiselect thead {
diff --git a/core/css/styles.css b/core/css/styles.css
index 5ad9796137d..5e0546536ab 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -243,9 +243,9 @@ input[type="submit"].enabled {
-webkit-box-sizing: border-box;
box-sizing: border-box;
position: fixed;
- top:45px;
+ top: 45px;
right: 0;
- left:0;
+ left: 0;
height: 44px;
width: 100%;
padding: 0;
@@ -258,6 +258,12 @@ input[type="submit"].enabled {
-ms-user-select: none;
user-select: none;
}
+/* position controls for apps with app-navigation */
+#app-navigation+#app-content #controls {
+ left: 250px;
+ padding-right: 250px;
+}
+
#controls .button,
#controls button,
#controls input[type='submit'],