2018-11-14 19:19:35 +03:00
|
|
|
@media only screen and (max-width: $breakpoint-mobile) {
|
2014-02-20 14:33:46 +04:00
|
|
|
|
2018-06-25 10:26:43 +03:00
|
|
|
/* position share dropdown */
|
|
|
|
#dropdown {
|
|
|
|
margin-right: 10% !important;
|
|
|
|
width: 80% !important;
|
|
|
|
}
|
2015-03-25 14:43:05 +03:00
|
|
|
|
2018-06-25 10:26:43 +03:00
|
|
|
/* fix name autocomplete not showing on mobile */
|
|
|
|
.ui-autocomplete {
|
|
|
|
z-index: 1000 !important;
|
|
|
|
}
|
2014-03-14 12:15:20 +04:00
|
|
|
|
2018-06-25 10:26:43 +03:00
|
|
|
/* fix error display on smaller screens */
|
|
|
|
.error-wide {
|
|
|
|
width: 100%;
|
|
|
|
margin-left: 0 !important;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2014-02-20 16:37:23 +04:00
|
|
|
|
2018-06-25 10:26:43 +03:00
|
|
|
/* APP SIDEBAR TOGGLE and SWIPE ----------------------------------------------*/
|
|
|
|
#app-navigation {
|
2018-07-23 21:14:19 +03:00
|
|
|
transform: translateX(-#{$navigation-width});
|
2018-06-25 10:26:43 +03:00
|
|
|
}
|
|
|
|
.snapjs-left {
|
|
|
|
#app-navigation {
|
|
|
|
transform: translateX(0);
|
|
|
|
}
|
|
|
|
}
|
2014-04-16 17:31:15 +04:00
|
|
|
|
2018-08-01 15:29:26 +03:00
|
|
|
#app-navigation:not(.hidden) + #app-content {
|
2018-07-23 21:14:19 +03:00
|
|
|
margin-left: 0;
|
2018-06-25 10:26:43 +03:00
|
|
|
}
|
2014-06-05 15:19:56 +04:00
|
|
|
|
2019-11-07 15:07:02 +03:00
|
|
|
.skip-navigation.skip-content {
|
|
|
|
left: 3px;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2014-06-06 11:44:16 +04:00
|
|
|
|
2018-06-25 10:26:43 +03:00
|
|
|
/* full width for message list on mobile */
|
|
|
|
.app-content-list {
|
|
|
|
background: var(--color-main-background);
|
2018-07-27 20:43:47 +03:00
|
|
|
flex: 1 1 100%;
|
2018-07-30 13:02:45 +03:00
|
|
|
// make full height scroll since app-content-details is hidden
|
|
|
|
max-height: unset;
|
2018-09-25 11:36:46 +03:00
|
|
|
// ignore 300px default max width
|
|
|
|
max-width: 100%;
|
2018-07-30 13:02:45 +03:00
|
|
|
+ .app-content-details {
|
2018-07-27 20:43:47 +03:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
&.showdetails {
|
|
|
|
display: none;
|
2018-07-30 13:02:45 +03:00
|
|
|
+ .app-content-details {
|
2018-07-27 20:43:47 +03:00
|
|
|
display: initial;
|
|
|
|
}
|
2018-06-25 10:26:43 +03:00
|
|
|
}
|
|
|
|
}
|
2014-06-05 15:19:56 +04:00
|
|
|
|
2018-06-25 10:26:43 +03:00
|
|
|
/* Show app details page */
|
|
|
|
#app-content.showdetails {
|
|
|
|
#app-navigation-toggle {
|
|
|
|
transform: translateX(-44px);
|
|
|
|
}
|
|
|
|
#app-navigation-toggle-back {
|
|
|
|
position: fixed;
|
|
|
|
display: inline-block !important;
|
2018-07-27 20:43:47 +03:00
|
|
|
top: $header-height;
|
2018-06-25 10:26:43 +03:00
|
|
|
left: 0;
|
|
|
|
width: 44px;
|
|
|
|
height: 44px;
|
2019-06-11 11:17:09 +03:00
|
|
|
z-index: 1050; // above app-content
|
2018-06-25 10:26:43 +03:00
|
|
|
background-color: rgba(255, 255, 255, .7);
|
|
|
|
cursor: pointer;
|
|
|
|
opacity: .6;
|
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
.app-content-list {
|
|
|
|
transform: translateX(-100%);
|
|
|
|
}
|
2014-06-05 15:19:56 +04:00
|
|
|
|
2018-06-25 10:26:43 +03:00
|
|
|
}
|
2014-06-05 19:21:49 +04:00
|
|
|
|
2018-06-25 10:26:43 +03:00
|
|
|
#app-navigation-toggle {
|
|
|
|
position: fixed;
|
|
|
|
display: inline-block !important;
|
|
|
|
left: 0;
|
|
|
|
width: 44px;
|
|
|
|
height: 44px;
|
2019-06-11 11:17:09 +03:00
|
|
|
z-index: 1050; // above app-content
|
2018-06-25 10:26:43 +03:00
|
|
|
cursor: pointer;
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
#app-navigation-toggle:hover,
|
|
|
|
#app-navigation-toggle:focus {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2014-07-02 18:07:55 +04:00
|
|
|
|
2018-06-25 10:26:43 +03:00
|
|
|
/* position controls for apps with app-navigation */
|
|
|
|
#app-navigation + #app-content #controls {
|
|
|
|
padding-left: 44px;
|
|
|
|
}
|
2014-07-02 18:07:55 +04:00
|
|
|
|
2018-06-25 10:26:43 +03: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-07-31 19:35:32 +04:00
|
|
|
|
2018-06-25 10:26:43 +03:00
|
|
|
table.multiselect thead {
|
|
|
|
left: 0 !important;
|
|
|
|
}
|
2014-07-31 19:35:32 +04:00
|
|
|
|
2018-06-25 10:26:43 +03:00
|
|
|
/* prevent overflow in user management controls bar */
|
|
|
|
#usersearchform {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#body-settings #controls {
|
2018-11-14 19:19:35 +03:00
|
|
|
min-width: $breakpoint-mobile !important;
|
2018-06-25 10:26:43 +03:00
|
|
|
}
|
2014-06-05 15:19:56 +04:00
|
|
|
|
2018-06-25 10:26:43 +03:00
|
|
|
/* do not show dates in filepicker */
|
2020-04-24 22:09:22 +03:00
|
|
|
#oc-dialog-filepicker-content .filelist #headerSize,
|
|
|
|
#oc-dialog-filepicker-content .filelist #headerDate,
|
2018-06-25 10:26:43 +03:00
|
|
|
#oc-dialog-filepicker-content .filelist .filesize,
|
|
|
|
#oc-dialog-filepicker-content .filelist .date {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#oc-dialog-filepicker-content .filelist .filename {
|
2018-10-01 22:23:10 +03:00
|
|
|
max-width: 100%;
|
2018-06-25 10:26:43 +03:00
|
|
|
}
|
2014-06-05 15:19:56 +04:00
|
|
|
|
2018-06-25 10:26:43 +03:00
|
|
|
.snapjs-left table.multiselect thead {
|
|
|
|
top: 44px;
|
|
|
|
}
|
2014-06-05 15:19:56 +04:00
|
|
|
|
2018-06-25 10:26:43 +03:00
|
|
|
/* 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-08-24 17:45:40 +03:00
|
|
|
#header .header-right > div > .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 {
|
2018-06-25 10:26:43 +03:00
|
|
|
&.openedMenu {
|
2018-02-21 11:48:07 +03:00
|
|
|
&::after {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
border: 10px solid transparent;
|
2018-06-03 12:24:18 +03:00
|
|
|
border-bottom-color: var(--color-main-background);
|
2018-02-21 11:48:07 +03:00
|
|
|
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
|
|
|
}
|
2018-08-27 16:24:51 +03:00
|
|
|
|
|
|
|
#notification-container {
|
|
|
|
max-width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2018-02-21 11:48:07 +03:00
|
|
|
}
|