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