Skip to content
Snippets Groups Projects
Commit 23c83c07 authored by Jan-Christoph Borchardt's avatar Jan-Christoph Borchardt
Browse files

unify controls bar, remove duplicate from user management

parent 289accc3
Branches
No related tags found
No related merge requests found
...@@ -92,21 +92,6 @@ ...@@ -92,21 +92,6 @@
height: 100%; height: 100%;
} }
/**
* Override global #controls styles
* to be more flexible / relative
*/
#body-user .app-files #controls {
left: 250px; /* sidebar width */
position: fixed;
padding-left: 0px;
}
/* this is mostly for file viewer apps, text editor, etc */
#body-user .app-files.no-sidebar #controls {
left: 0px;
}
/* move Deleted Files to bottom of sidebar */ /* move Deleted Files to bottom of sidebar */
.nav-trashbin { .nav-trashbin {
position: absolute !important; position: absolute !important;
...@@ -224,7 +209,7 @@ table.multiselect thead { ...@@ -224,7 +209,7 @@ table.multiselect thead {
z-index: 10; z-index: 10;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
left: 230px; /* sidebar */ left: 250px; /* sidebar */
} }
table.multiselect thead th { table.multiselect thead th {
......
...@@ -40,11 +40,6 @@ ...@@ -40,11 +40,6 @@
display: none; display: none;
} }
/* don’t require a minimum width for controls bar */
#controls {
min-width: initial !important;
}
/* position share dropdown */ /* position share dropdown */
#dropdown { #dropdown {
margin-right: 10% !important; margin-right: 10% !important;
...@@ -109,11 +104,13 @@ ...@@ -109,11 +104,13 @@
opacity: 1; opacity: 1;
} }
/* fix controls bar for apps which don't use the standard */
#body-user .app-files #controls, /* controls bar for mobile */
#user-controls { #controls {
min-width: initial !important;
left: 0 !important; left: 0 !important;
padding-left: 44px !important; padding-left: 44px !important;
padding-right: 0 !important;
} }
/* .viewer-mode is when text editor, PDF viewer, etc is open */ /* .viewer-mode is when text editor, PDF viewer, etc is open */
#body-user .app-files.viewer-mode #controls { #body-user .app-files.viewer-mode #controls {
...@@ -134,11 +131,8 @@ table.multiselect thead { ...@@ -134,11 +131,8 @@ table.multiselect thead {
/* fix controls bar jumping when navigation is slid out */ /* fix controls bar jumping when navigation is slid out */
.snapjs-left #app-navigation-toggle { .snapjs-left #app-navigation-toggle,
top: 0; .snapjs-left #controls {
}
.snapjs-left .app-files #controls,
.snapjs-left #user-controls {
top: 0; top: 0;
} }
.snapjs-left table.multiselect thead { .snapjs-left table.multiselect thead {
......
...@@ -258,6 +258,12 @@ input[type="submit"].enabled { ...@@ -258,6 +258,12 @@ input[type="submit"].enabled {
-ms-user-select: none; -ms-user-select: none;
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 button, #controls button,
#controls input[type='submit'], #controls input[type='submit'],
......
...@@ -5,17 +5,6 @@ ...@@ -5,17 +5,6 @@
select#languageinput, select#timezone { width:15em; } select#languageinput, select#timezone { width:15em; }
input#openid, input#webdav { width:20em; } input#openid, input#webdav { width:20em; }
#user-controls {
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
position: fixed;
right: 0;
left: 250px;
height: 44px;
padding: 0; margin: 0;
background: #eee; border-bottom: 1px solid #e7e7e7;
z-index: 50;
}
/* PERSONAL */ /* PERSONAL */
#rootcert_import { #rootcert_import {
margin: 0 0 10px 0; margin: 0 0 10px 0;
......
<div id="user-controls"> <div id="controls">
<form id="newuser" autocomplete="off"> <form id="newuser" autocomplete="off">
<input id="newusername" type="text" <input id="newusername" type="text"
placeholder="<?php p($l->t('Login Name'))?>" placeholder="<?php p($l->t('Login Name'))?>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment