2014-03-21 19:36:45 +04:00
|
|
|
@media only screen and (max-width: 768px) {
|
2014-02-20 14:33:46 +04:00
|
|
|
|
2014-05-04 18:24:01 +04:00
|
|
|
#body-login #header {
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#body-login .wrapper {
|
2016-01-02 21:43:09 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-self: center;
|
|
|
|
align-items: center;
|
2014-05-04 18:24:01 +04:00
|
|
|
}
|
|
|
|
|
2015-03-25 14:43:05 +03:00
|
|
|
/* do not show update notification on mobile */
|
|
|
|
#update-notification {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2014-03-14 12:15:20 +04:00
|
|
|
/* position share dropdown */
|
|
|
|
#dropdown {
|
|
|
|
margin-right: 10% !important;
|
|
|
|
width: 80% !important;
|
|
|
|
}
|
|
|
|
|
2015-09-25 09:09:43 +03:00
|
|
|
/* fix name autocomplete not showing on mobile */
|
|
|
|
.ui-autocomplete {
|
|
|
|
z-index: 1000 !important;
|
|
|
|
}
|
2014-02-20 16:37:23 +04:00
|
|
|
|
2014-04-16 17:31:15 +04:00
|
|
|
/* fix error display on smaller screens */
|
|
|
|
.error-wide {
|
|
|
|
width: 100%;
|
|
|
|
margin-left: 0 !important;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2014-06-05 15:19:56 +04:00
|
|
|
|
2014-06-06 11:44:16 +04:00
|
|
|
/* APP SIDEBAR TOGGLE and SWIPE ----------------------------------------------*/
|
|
|
|
|
2014-06-05 15:19:56 +04:00
|
|
|
#app-navigation,
|
|
|
|
#app-content {
|
2014-07-03 00:46:08 +04:00
|
|
|
position: absolute !important;
|
2014-06-05 15:19:56 +04:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#app-navigation {
|
2014-06-05 23:18:21 +04:00
|
|
|
width: 250px !important;
|
2014-06-05 15:19:56 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#app-content {
|
|
|
|
width: 100% !important;
|
|
|
|
left: 0 !important;
|
2017-09-06 14:28:00 +03:00
|
|
|
background-color: $color-main-background;
|
2014-06-05 19:21:49 +04:00
|
|
|
overflow-x: hidden !important;
|
2014-08-26 21:18:15 +04:00
|
|
|
z-index: 1000;
|
2014-06-05 15:19:56 +04:00
|
|
|
}
|
2014-08-26 21:18:15 +04:00
|
|
|
|
2014-07-02 18:13:20 +04: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 15:19:56 +04:00
|
|
|
|
|
|
|
#app-navigation-toggle {
|
2014-06-05 19:21:49 +04:00
|
|
|
position: fixed;
|
2014-06-05 15:19:56 +04:00
|
|
|
display: inline-block !important;
|
2014-06-05 19:21:49 +04:00
|
|
|
top: 45px;
|
2014-06-05 15:19:56 +04:00
|
|
|
left: 0;
|
|
|
|
width: 44px;
|
|
|
|
height: 44px;
|
|
|
|
z-index: 149;
|
2017-09-06 14:28:00 +03:00
|
|
|
background-color: rgba($color-main-background, .7);
|
2014-06-05 15:19:56 +04:00
|
|
|
cursor: pointer;
|
|
|
|
opacity: .6;
|
|
|
|
}
|
|
|
|
#app-navigation-toggle:hover,
|
|
|
|
#app-navigation-toggle:focus {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2014-06-06 14:28:28 +04:00
|
|
|
/* position controls for apps with app-navigation */
|
|
|
|
#app-navigation+#app-content #controls {
|
|
|
|
padding-left: 44px;
|
|
|
|
}
|
|
|
|
|
2014-06-06 12:04:19 +04: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 15:19:56 +04:00
|
|
|
table.multiselect thead {
|
|
|
|
left: 0 !important;
|
|
|
|
}
|
|
|
|
|
2014-06-05 19:21:49 +04:00
|
|
|
|
2014-07-02 18:07:55 +04:00
|
|
|
/* prevent overflow in user management controls bar */
|
|
|
|
#usersearchform {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#body-settings #controls {
|
|
|
|
min-width: 768px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-07-31 19:35:32 +04:00
|
|
|
/* do not show dates in filepicker */
|
2016-10-17 15:26:25 +03:00
|
|
|
#oc-dialog-filepicker-content .filelist .filesize,
|
2014-07-31 19:35:32 +04:00
|
|
|
#oc-dialog-filepicker-content .filelist .date {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#oc-dialog-filepicker-content .filelist .filename {
|
|
|
|
max-width: 80%;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-06-05 15:19:56 +04:00
|
|
|
/* fix controls bar jumping when navigation is slid out */
|
2014-06-06 14:22:09 +04:00
|
|
|
.snapjs-left #app-navigation-toggle,
|
|
|
|
.snapjs-left #controls {
|
2014-06-05 15:19:56 +04:00
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
.snapjs-left table.multiselect thead {
|
|
|
|
top: 44px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* end of media query */
|
2014-02-20 14:33:46 +04:00
|
|
|
}
|
2018-02-21 11:48:07 +03:00
|
|
|
|
|
|
|
@media only screen and (max-width: 480px) {
|
2018-03-04 18:10:45 +03:00
|
|
|
#header .header-right .menu {
|
2018-04-10 22:34:51 +03:00
|
|
|
max-width: calc(100vw - 10px);
|
2018-02-21 11:48:07 +03:00
|
|
|
position: fixed;
|
|
|
|
&::after {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* Arrow directly child of menutoggle */
|
|
|
|
#header .header-right > div {
|
|
|
|
&.openedMenu{
|
|
|
|
&::after {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
border: 10px solid transparent;
|
|
|
|
border-bottom-color: $color-main-background;
|
|
|
|
bottom: 0;
|
|
|
|
content: ' ';
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
2018-04-04 16:05:51 +03:00
|
|
|
right: 15px;
|
2018-02-21 11:48:07 +03:00
|
|
|
z-index: 2001;
|
|
|
|
display: none;
|
|
|
|
}
|
2018-04-04 16:05:51 +03:00
|
|
|
|
|
|
|
/* settings need a different offset, since they have a right padding */
|
|
|
|
&#settings::after {
|
|
|
|
right: 27px;
|
|
|
|
}
|
2018-02-21 11:48:07 +03:00
|
|
|
}
|
|
|
|
}
|