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 {
|
|
|
|
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-02-20 14:33:46 +04:00
|
|
|
/* compress search box on mobile, expand when focused */
|
|
|
|
.searchbox input[type="search"] {
|
2014-02-20 21:38:33 +04:00
|
|
|
width: 15%;
|
2014-02-20 14:33:46 +04:00
|
|
|
-webkit-transition: width 100ms;
|
|
|
|
-moz-transition: width 100ms;
|
|
|
|
-o-transition: width 100ms;
|
|
|
|
transition: width 100ms;
|
|
|
|
}
|
|
|
|
.searchbox input[type="search"]:focus,
|
|
|
|
.searchbox input[type="search"]:active {
|
|
|
|
width: 155px;
|
2014-04-09 15:20:46 +04:00
|
|
|
max-width: 50%;
|
2014-02-20 14:33:46 +04:00
|
|
|
}
|
|
|
|
|
2014-02-20 16:37:23 +04:00
|
|
|
/* do not show display name on mobile when profile picture is present */
|
|
|
|
#header .avatardiv.avatardiv-shown + #expandDisplayName {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-03-14 12:15:20 +04:00
|
|
|
/* position share dropdown */
|
|
|
|
#dropdown {
|
|
|
|
margin-right: 10% !important;
|
|
|
|
width: 80% !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;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
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 ----------------------------------------------*/
|
|
|
|
|
|
|
|
/* prevent scrollbar when sidebar is open */
|
|
|
|
.snapjs-left #content-wrapper {
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
2014-06-05 19:28:01 +04:00
|
|
|
|
2014-06-05 15:19:56 +04:00
|
|
|
#app-navigation,
|
|
|
|
#app-content {
|
|
|
|
position: absolute;
|
|
|
|
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;
|
|
|
|
background-color: #fff;
|
2014-06-05 19:21:49 +04:00
|
|
|
overflow-x: hidden !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;
|
|
|
|
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 14:22:09 +04:00
|
|
|
|
|
|
|
/* controls bar for mobile */
|
|
|
|
#controls {
|
|
|
|
min-width: initial !important;
|
2014-06-05 15:19:56 +04:00
|
|
|
left: 0 !important;
|
2014-06-06 14:28:28 +04:00
|
|
|
padding-left: 0;
|
2014-06-05 15:19:56 +04:00
|
|
|
}
|
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-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
|
|
|
}
|