2014-03-21 15:36:45 +00:00
|
|
|
@media only screen and (max-width: 768px) {
|
2014-02-20 10:33:46 +00:00
|
|
|
|
2014-05-04 14:24:01 +00:00
|
|
|
#body-login #header {
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#body-login .wrapper {
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-box-orient: horizontal;
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
-webkit-box-align: center;
|
|
|
|
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
-moz-box-align: center;
|
|
|
|
|
|
|
|
display: box;
|
|
|
|
box-orient: horizontal;
|
|
|
|
box-pack: center;
|
|
|
|
box-align: center;
|
|
|
|
}
|
|
|
|
|
2014-07-03 10:20:44 +00:00
|
|
|
/* on mobile, show logo-icon instead of logo-wide */
|
|
|
|
#header .logo-wide {
|
|
|
|
background-image: url(../img/logo-icon.svg);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
width: 62px;
|
|
|
|
height: 34px;
|
|
|
|
}
|
|
|
|
|
2014-02-20 10:33:46 +00:00
|
|
|
/* compress search box on mobile, expand when focused */
|
|
|
|
.searchbox input[type="search"] {
|
2014-07-24 12:38:19 +00:00
|
|
|
width: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: transparent;
|
|
|
|
background-image: url('../img/actions/search-white.svg');
|
|
|
|
-webkit-transition: all 100ms;
|
|
|
|
-moz-transition: all 100ms;
|
|
|
|
-o-transition: all 100ms;
|
|
|
|
transition: all 100ms;
|
2014-02-20 10:33:46 +00:00
|
|
|
}
|
|
|
|
.searchbox input[type="search"]:focus,
|
|
|
|
.searchbox input[type="search"]:active {
|
|
|
|
width: 155px;
|
2014-04-09 11:20:46 +00:00
|
|
|
max-width: 50%;
|
2014-07-24 12:38:19 +00:00
|
|
|
cursor: text;
|
|
|
|
background-color: #fff;
|
|
|
|
background-image: url('../img/actions/search.svg');
|
2014-02-20 10:33:46 +00:00
|
|
|
}
|
|
|
|
|
2014-02-20 12:37:23 +00:00
|
|
|
/* do not show display name on mobile when profile picture is present */
|
|
|
|
#header .avatardiv.avatardiv-shown + #expandDisplayName {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-03-14 08:15:20 +00:00
|
|
|
/* position share dropdown */
|
|
|
|
#dropdown {
|
|
|
|
margin-right: 10% !important;
|
|
|
|
width: 80% !important;
|
|
|
|
}
|
|
|
|
|
2014-02-20 12:37:23 +00:00
|
|
|
|
2014-04-16 13:31:15 +00:00
|
|
|
/* fix error display on smaller screens */
|
|
|
|
.error-wide {
|
|
|
|
width: 100%;
|
|
|
|
margin-left: 0 !important;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2014-06-05 11:19:56 +00:00
|
|
|
|
2014-06-06 07:44:16 +00:00
|
|
|
/* APP SIDEBAR TOGGLE and SWIPE ----------------------------------------------*/
|
|
|
|
|
2014-06-05 11:19:56 +00:00
|
|
|
#app-navigation,
|
|
|
|
#app-content {
|
2014-07-02 20:46:08 +00:00
|
|
|
position: absolute !important;
|
2014-06-05 11:19:56 +00:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#app-navigation {
|
2014-06-05 19:18:21 +00:00
|
|
|
width: 250px !important;
|
2014-06-05 11:19:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#app-content {
|
|
|
|
width: 100% !important;
|
|
|
|
left: 0 !important;
|
|
|
|
background-color: #fff;
|
2014-06-05 15:21:49 +00:00
|
|
|
overflow-x: hidden !important;
|
2014-08-26 17:18:15 +00:00
|
|
|
z-index: 1000;
|
2014-06-05 11:19:56 +00:00
|
|
|
}
|
2014-08-26 17:18:15 +00:00
|
|
|
|
2014-07-02 14:13:20 +00:00
|
|
|
/* allow horizontal scrollbar in settings
|
|
|
|
otherwise user management is not usable on mobile */
|
|
|
|
#body-settings #app-content {
|
|
|
|
overflow-x: auto !important;
|
|
|
|
}
|
2014-06-05 11:19:56 +00:00
|
|
|
|
|
|
|
#app-navigation-toggle {
|
2014-06-05 15:21:49 +00:00
|
|
|
position: fixed;
|
2014-06-05 11:19:56 +00:00
|
|
|
display: inline-block !important;
|
2014-06-05 15:21:49 +00:00
|
|
|
top: 45px;
|
2014-06-05 11:19:56 +00:00
|
|
|
left: 0;
|
|
|
|
width: 44px;
|
|
|
|
height: 44px;
|
|
|
|
z-index: 149;
|
|
|
|
background-color: rgba(255, 255, 255, .7);
|
|
|
|
cursor: pointer;
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
|
|
|
|
filter: alpha(opacity=60);
|
|
|
|
opacity: .6;
|
|
|
|
}
|
|
|
|
#app-navigation-toggle:hover,
|
|
|
|
#app-navigation-toggle:focus {
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
|
|
|
filter: alpha(opacity=100);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2014-06-06 10:22:09 +00:00
|
|
|
|
|
|
|
/* controls bar for mobile */
|
|
|
|
#controls {
|
|
|
|
min-width: initial !important;
|
2014-06-05 11:19:56 +00:00
|
|
|
left: 0 !important;
|
2014-06-06 10:28:28 +00:00
|
|
|
padding-left: 0;
|
2014-06-05 11:19:56 +00:00
|
|
|
}
|
2014-06-06 10:28:28 +00:00
|
|
|
/* position controls for apps with app-navigation */
|
|
|
|
#app-navigation+#app-content #controls {
|
|
|
|
padding-left: 44px;
|
|
|
|
}
|
|
|
|
|
2014-06-06 08:04:19 +00:00
|
|
|
/* .viewer-mode is when text editor, PDF viewer, etc is open */
|
|
|
|
#body-user .app-files.viewer-mode #controls {
|
|
|
|
padding-left: 0 !important;
|
|
|
|
}
|
|
|
|
.app-files.viewer-mode #app-navigation-toggle {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2014-06-05 11:19:56 +00:00
|
|
|
table.multiselect thead {
|
|
|
|
left: 0 !important;
|
|
|
|
}
|
|
|
|
|
2014-06-05 15:21:49 +00:00
|
|
|
|
2014-07-02 14:07:55 +00:00
|
|
|
/* prevent overflow in user management controls bar */
|
|
|
|
#usersearchform {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#body-settings #controls {
|
|
|
|
min-width: 768px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-07-31 15:35:32 +00:00
|
|
|
/* do not show dates in filepicker */
|
|
|
|
#oc-dialog-filepicker-content .filelist .date {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#oc-dialog-filepicker-content .filelist .filename {
|
|
|
|
max-width: 80%;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-06-05 11:19:56 +00:00
|
|
|
/* fix controls bar jumping when navigation is slid out */
|
2014-06-06 10:22:09 +00:00
|
|
|
.snapjs-left #app-navigation-toggle,
|
|
|
|
.snapjs-left #controls {
|
2014-06-05 11:19:56 +00:00
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
.snapjs-left table.multiselect thead {
|
|
|
|
top: 44px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* end of media query */
|
2014-02-20 10:33:46 +00:00
|
|
|
}
|