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-03-18 20:48:28 +04:00
|
|
|
|
/* show caret indicator next to logo to make clear it is tappable */
|
|
|
|
|
#owncloud.menutoggle {
|
|
|
|
|
background-image: url('../img/actions/caret.svg');
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
background-position: right 26px;
|
|
|
|
|
padding-right: 16px !important;
|
|
|
|
|
}
|
2014-04-16 12:49:16 +04:00
|
|
|
|
/* do not show menu toggle on public share links as there is no menu */
|
|
|
|
|
#body-public #owncloud.menutoggle {
|
|
|
|
|
background-image: none;
|
|
|
|
|
padding-right: 0 !important;
|
|
|
|
|
}
|
2014-03-18 20:48:28 +04:00
|
|
|
|
|
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 13:33:19 +04:00
|
|
|
|
/* toggle navigation */
|
|
|
|
|
#content-wrapper {
|
|
|
|
|
padding-left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#navigation {
|
|
|
|
|
top: 45px;
|
|
|
|
|
bottom: initial;
|
2014-03-21 19:40:39 +04:00
|
|
|
|
width: 255px;
|
2014-03-14 13:33:19 +04:00
|
|
|
|
max-height: 90%;
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
top: 45px;
|
|
|
|
|
background-color: rgba(36, 40, 47, .97);
|
|
|
|
|
overflow-x: initial;
|
|
|
|
|
border-bottom-right-radius: 7px;
|
|
|
|
|
border-bottom: 1px #333 solid;
|
|
|
|
|
border-right: 1px #333 solid;
|
|
|
|
|
box-shadow: 0 0 7px rgba(29,45,68,.97);
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
#navigation, #navigation * {
|
|
|
|
|
box-sizing:border-box; -moz-box-sizing:border-box;
|
|
|
|
|
}
|
|
|
|
|
#navigation li {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|
|
|
|
|
#navigation a {
|
2014-03-21 17:30:11 +04:00
|
|
|
|
width: 80px;
|
2014-03-14 13:33:19 +04:00
|
|
|
|
height: 80px;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 20px 0;
|
|
|
|
|
}
|
|
|
|
|
#navigation a span {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
padding-left: 0;
|
2014-03-21 17:30:11 +04:00
|
|
|
|
width: 80px;
|
2014-03-14 13:33:19 +04:00
|
|
|
|
}
|
|
|
|
|
#navigation .icon {
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
#navigation li:first-child .icon {
|
|
|
|
|
padding-top: 0;
|
|
|
|
|
}
|
|
|
|
|
/* Apps management as sticky footer */
|
|
|
|
|
#navigation .wrapper {
|
|
|
|
|
min-height: initial;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
#apps-management, #navigation .push {
|
|
|
|
|
height: initial;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* shift to account for missing navigation */
|
|
|
|
|
#body-user #controls,
|
|
|
|
|
#body-settings #controls {
|
|
|
|
|
padding-left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2014-03-14 12:14:52 +04:00
|
|
|
|
/* don’t require a minimum width for controls bar */
|
|
|
|
|
#controls {
|
|
|
|
|
min-width: initial !important;
|
|
|
|
|
}
|
|
|
|
|
|
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-02-20 14:33:46 +04:00
|
|
|
|
}
|