aboutsummaryrefslogtreecommitdiffstats
path: root/core/css/mobile.css
blob: c67ac3e5ecf82d3a3563c9ad2e7fade5593721f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
@media only screen and (max-width: 768px) {

/* 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;
}

/* compress search box on mobile, expand when focused */
.searchbox input[type="search"] {
	width: 15%;
	-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;
}

/* do not show display name on mobile when profile picture is present */
#header .avatardiv.avatardiv-shown + #expandDisplayName {
	display: none;
}

/* toggle navigation */
#content-wrapper {
	padding-left: 0;
}

#navigation {
	top: 45px;
	bottom: initial;
	width: 255px;
	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 {
	width: 80px;
	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;
	width: 80px;
}
#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;
}

/* don’t require a minimum width for controls bar */
#controls {
	min-width: initial !important;
}

/* position share dropdown */
#dropdown {
	margin-right: 10% !important;
	width: 80% !important;
}


}