aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/css/settings.scss
blob: 04ecfc41620686b5bcccc0b9af32914d1d4fe713 (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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
#files_external {
	margin-bottom: 0px;
}

#externalStorage {
	margin: 15px 0 20px 0;
}

#externalStorage td.status {
	/* overwrite conflicting core styles */
	display: table-cell;
	vertical-align: middle;
}

#externalStorage td.status > span {
	display: inline-block;
	height: 28px;
	width: 28px;
	vertical-align: text-bottom;
	border-radius: 50%;
	cursor: pointer;
}

td.mountPoint, td.backend { width:160px; }
#externalStorage td>img { padding-top:7px; opacity: 0.5; }
#externalStorage td>img:hover { padding-top:7px; cursor:pointer; opacity: 1; }
#addMountPoint>td { border:none; }
#addMountPoint>td.applicable { visibility:hidden; }
#addMountPoint>td.hidden { visibility:hidden; }

#externalStorage td {
	height: 50px;
	&.mountOptionsToggle,
	&.remove,
	&.save {
		position: relative;
		padding: 0 !important;
		width: 44px;
		[class^='icon-'],
		[class*=' icon-'] {
			opacity: 0.5;
			padding: 14px;
			vertical-align: text-bottom;
			cursor: pointer;
			&:hover {
				opacity: 1;
			}
		}
	}
}

#selectBackend {
	margin-left: -10px;
	width: 150px;
}

#externalStorage td.configuration,
#externalStorage td.backend {
	white-space: normal;
}
#externalStorage td.configuration > * {
	white-space: nowrap;
}

#externalStorage td.configuration input.added  {
	margin-right: 6px;
}

#externalStorage label > input[type="checkbox"] {
	margin-right: 3px;
}

#externalStorage td.configuration label {
	width: 100%;
	display: inline-flex;
	align-items: center;
}

#externalStorage td.configuration input.disabled-success {
	background-color: rgba(134, 255, 110, 0.9);
}


#externalStorage td.applicable div.chzn-container {
	position: relative;
	top: 3px;
}

#userMountingBackends {
	padding-left: 25px;
}

.files-external-select2 .select2-results .select2-result-label {
	height: 32px;
	padding: 3px;
}
.files-external-select2 .select2-results .select2-result-label > span {
	display: block;
	position: relative;
}
.files-external-select2 .select2-results .select2-result-label .avatardiv {
	display:inline-block;
}
.files-external-select2 .select2-results .select2-result-label .avatardiv + span {
	position: absolute;
	top: 5px;
	margin-left: 10px;
}
.files-external-select2 .select2-results .select2-result-label .avatardiv[data-type="group"] + span {
	vertical-align: top;
	top: 6px;
	position: absolute;
	max-width: 80%;
	left: 30px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

#externalStorage .mountOptionsToggle .dropdown {
	width: auto;
}

.nav-icon-external-storage {
	@include icon-color('app-dark', 'files_external', $color-black);
}