Blame view

sources/core/css/styles.css 23.4 KB
03e52840d   Kload   Init
1
2
3
4
5
  /* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
   This file is licensed under the Affero General Public License version 3 or later.
   See the COPYING-README file. */
  
  html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section { margin:0; padding:0; border:0; outline:0; font-weight:inherit; font-size:100%; font-family:inherit; vertical-align:baseline; cursor:default; }
31b7f2792   Kload   Upgrade to ownclo...
6
  html, body { height:100%; }
03e52840d   Kload   Init
7
8
9
10
11
12
  article, aside, dialog, figure, footer, header, hgroup, nav, section { display:block; }
  body { line-height:1.5; }
  table { border-collapse:separate; border-spacing:0; white-space:nowrap; }
  caption, th, td { text-align:left; font-weight:normal; }
  table, td, th { vertical-align:middle; }
  a { border:0; color:#000; text-decoration:none;}
6d9380f96   Cédric Dupont   Update sources OC...
13
  a, a *, input, input *, select, .button span, label { cursor:pointer; }
03e52840d   Kload   Init
14
  ul { list-style:none; }
03e52840d   Kload   Init
15

6d9380f96   Cédric Dupont   Update sources OC...
16
17
18
19
20
21
22
23
  body {
  	background: #fefefe;
  	font-weight: normal;
  	font-size: .8em;
  	line-height: 1.6em;
  	font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
  	color: #000;
  	height: auto;
31b7f2792   Kload   Upgrade to ownclo...
24
25
26
27
28
  }
  
  #body-login {
  	text-align: center;
  	background: #1d2d44; /* Old browsers */
6d9380f96   Cédric Dupont   Update sources OC...
29
30
31
32
33
34
  	background: -moz-linear-gradient(top, #35537a 0%, #1d2d44 100%); /* FF3.6+ */
  	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#35537a), color-stop(100%,#1d2d44)); /* Chrome,Safari4+ */
  	background: -webkit-linear-gradient(top, #35537a 0%,#1d2d44 100%); /* Chrome10+,Safari5.1+ */
  	background: -o-linear-gradient(top, #35537a 0%,#1d2d44 100%); /* Opera11.10+ */
  	background: -ms-linear-gradient(top, #35537a 0%,#1d2d44 100%); /* IE10+ */
  	background: linear-gradient(top, #35537a 0%,#1d2d44 100%); /* W3C */
31b7f2792   Kload   Upgrade to ownclo...
35
36
  	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#35537a', endColorstr='#1d2d44',GradientType=0 ); /* IE6-9 */
  }
03e52840d   Kload   Init
37

03e52840d   Kload   Init
38

31b7f2792   Kload   Upgrade to ownclo...
39

6d9380f96   Cédric Dupont   Update sources OC...
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
  #nojavascript {
  	position: absolute;
  	top: 0;
  	bottom: 0;
  	z-index: 999;
  	width: 100%;
  	text-align: center;
  	background-color: rgba(50,0,0,0.5);
  	color: white;
  	text-shadow: 0px 0px 5px black;
  	line-height: 125%;
  	font-size: x-large;
  }
  #nojavascript div {
  	width: 50%;
  	top: 40%;
  	position: absolute;
  	left: 50%;
  	margin-left: -25%;
  }
  #nojavascript a {
  	color: #ccc;
  	text-decoration: underline;
31b7f2792   Kload   Upgrade to ownclo...
63
  }
6d9380f96   Cédric Dupont   Update sources OC...
64
65
66
  #nojavascript a:hover {
  	color: #aaa;
  }
31b7f2792   Kload   Upgrade to ownclo...
67

03e52840d   Kload   Init
68
  /* INPUTS */
31b7f2792   Kload   Upgrade to ownclo...
69
70
71
72
73
74
75
76
77
78
  input[type="text"],
  input[type="password"],
  input[type="search"],
  input[type="number"],
  input[type="email"],
  input[type="url"],
  input[type="time"],
  textarea,
  select,
  button, .button,
6d9380f96   Cédric Dupont   Update sources OC...
79
80
  input[type="submit"],
  input[type="button"],
31b7f2792   Kload   Upgrade to ownclo...
81
82
  #quota,
  .pager li a {
6d9380f96   Cédric Dupont   Update sources OC...
83
84
85
86
87
88
89
90
  	width: 130px;
  	margin: 3px 3px 3px 0;
  	padding: 7px 6px 5px;
  	font-size: 13px;
  	background-color: #fff;
  	color: #333;
  	border: 1px solid #ddd;
  	outline: none;
31b7f2792   Kload   Upgrade to ownclo...
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
  	border-radius: 3px;
  }
  input[type="hidden"] {
  	height: 0;
  	width: 0;
  }
  input[type="text"],
  input[type="password"],
  input[type="search"],
  input[type="number"],
  input[type="email"],
  input[type="url"],
  input[type="time"],
  textarea {
  	background: #fff;
  	color: #555;
  	cursor: text;
03e52840d   Kload   Init
108
109
  	font-family: inherit; /* use default ownCloud font instead of default textarea monospace */
  }
31b7f2792   Kload   Upgrade to ownclo...
110
111
112
113
114
115
116
  input[type="text"],
  input[type="password"],
  input[type="search"],
  input[type="number"],
  input[type="email"],
  input[type="url"],
  input[type="time"] {
03e52840d   Kload   Init
117
118
119
120
121
122
123
124
  	-webkit-appearance:textfield; -moz-appearance:textfield;
  	-webkit-box-sizing:content-box; -moz-box-sizing:content-box; box-sizing:content-box;
  }
  input[type="text"]:hover, input[type="text"]:focus, input[type="text"]:active,
  input[type="password"]:hover, input[type="password"]:focus, input[type="password"]:active,
  input[type="number"]:hover, input[type="number"]:focus, input[type="number"]:active,
  .searchbox input[type="search"]:hover, .searchbox input[type="search"]:focus, .searchbox input[type="search"]:active,
  input[type="email"]:hover, input[type="email"]:focus, input[type="email"]:active,
31b7f2792   Kload   Upgrade to ownclo...
125
126
  input[type="url"]:hover, input[type="url"]:focus, input[type="url"]:active,
  input[type="time"]:hover, input[type="time"]:focus, input[type="time"]:active,
03e52840d   Kload   Init
127
  textarea:hover, textarea:focus, textarea:active {
31b7f2792   Kload   Upgrade to ownclo...
128
  	color: #333;
03e52840d   Kload   Init
129
130
131
132
  	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1;
  }
  input[type="checkbox"] { margin:0; padding:0; height:auto; width:auto; }
  input[type="checkbox"]:hover+label, input[type="checkbox"]:focus+label { color:#111 !important; }
31b7f2792   Kload   Upgrade to ownclo...
133
134
135
136
137
  input[type="time"] {
  	width: initial;
  	height: 31px;
  	-moz-box-sizing: border-box; box-sizing: border-box;
  }
6d9380f96   Cédric Dupont   Update sources OC...
138
139
140
141
142
  
  /* correctly align images inside of buttons */
  input img, button img, .button img {
  	vertical-align: text-bottom;
  }
31b7f2792   Kload   Upgrade to ownclo...
143
144
145
146
  #quota {
  	cursor: default;
  	margin: 30px;
  }
03e52840d   Kload   Init
147
148
149
  
  
  /* SCROLLING */
6d9380f96   Cédric Dupont   Update sources OC...
150
151
152
153
154
155
156
157
158
  ::-webkit-scrollbar {
  	width: 8px;
  }
  ::-webkit-scrollbar-track-piece {
  	background-color: transparent;
  }
  ::-webkit-scrollbar-thumb {
  	background: #ccc;
  }
03e52840d   Kload   Init
159
160
161
  
  
  /* BUTTONS */
31b7f2792   Kload   Upgrade to ownclo...
162
163
164
165
  input[type="submit"], input[type="button"],
  button, .button,
  #quota, select, .pager li a {
  	width: auto;
6d9380f96   Cédric Dupont   Update sources OC...
166
167
  	min-width: 25px;
  	padding: 5px;
31b7f2792   Kload   Upgrade to ownclo...
168
169
170
171
172
  	background-color: rgba(240,240,240,.9);
  	font-weight: bold;
  	color: #555;
  	border: 1px solid rgba(190,190,190,.9);
  	cursor: pointer;
03e52840d   Kload   Init
173
174
175
176
177
178
179
180
181
182
  }
  input[type="submit"]:hover, input[type="submit"]:focus,
  input[type="button"]:hover, input[type="button"]:focus,
  button:hover, button:focus,
  .button:hover, .button:focus,
  select:hover, select:focus, select:active {
  	background-color:rgba(250,250,250,.9);
  	color:#333;
  }
  input[type="submit"] img, input[type="button"] img, button img, .button img { cursor:pointer; }
31b7f2792   Kload   Upgrade to ownclo...
183
184
185
186
  #header .button {
  	border: none;
  	box-shadow: none;
  }
03e52840d   Kload   Init
187
188
189
190
191
  
  /* disabled input fields and buttons */
  input:disabled, input:disabled:hover, input:disabled:focus,
  button:disabled, button:disabled:hover, button:disabled:focus,
  .button:disabled, .button:disabled:hover, .button:disabled:focus,
31b7f2792   Kload   Upgrade to ownclo...
192
193
194
  a.disabled, a.disabled:hover, a.disabled:focus,
  textarea:disabled {
  	background-color: rgba(230,230,230,.9);
03e52840d   Kload   Init
195
196
197
198
199
200
  	color: #999;
  	cursor: default;
  }
  
  /* Primary action button, use sparingly */
  .primary, input[type="submit"].primary, input[type="button"].primary, button.primary, .button.primary {
31b7f2792   Kload   Upgrade to ownclo...
201
  	border: 1px solid #1d2d44;
6d9380f96   Cédric Dupont   Update sources OC...
202
  	background-color: #35537a;
31b7f2792   Kload   Upgrade to ownclo...
203
  	color: #ddd;
03e52840d   Kload   Init
204
205
206
  }
  	.primary:hover, input[type="submit"].primary:hover, input[type="button"].primary:hover, button.primary:hover, .button.primary:hover,
  	.primary:focus, input[type="submit"].primary:focus, input[type="button"].primary:focus, button.primary:focus, .button.primary:focus {
31b7f2792   Kload   Upgrade to ownclo...
207
  		border: 1px solid #1d2d44;
6d9380f96   Cédric Dupont   Update sources OC...
208
  		background-color: #304d76;
31b7f2792   Kload   Upgrade to ownclo...
209
  		color: #fff;
03e52840d   Kload   Init
210
211
  	}
  	.primary:active, input[type="submit"].primary:active, input[type="button"].primary:active, button.primary:active, .button.primary:active {
31b7f2792   Kload   Upgrade to ownclo...
212
  		border: 1px solid #1d2d44;
6d9380f96   Cédric Dupont   Update sources OC...
213
  		background-color: #1d2d44;
31b7f2792   Kload   Upgrade to ownclo...
214
  		color: #bbb;
03e52840d   Kload   Init
215
  	}
6d9380f96   Cédric Dupont   Update sources OC...
216
  /* Searchbox */
31b7f2792   Kload   Upgrade to ownclo...
217
  .searchbox input[type="search"] {
6d9380f96   Cédric Dupont   Update sources OC...
218
  	position: relative;
31b7f2792   Kload   Upgrade to ownclo...
219
  	font-size: 1.2em;
6d9380f96   Cédric Dupont   Update sources OC...
220
  	padding-left: 1.5em;
31b7f2792   Kload   Upgrade to ownclo...
221
222
  	background: #fff url('../img/actions/search.svg') no-repeat .5em center;
  	border: 0;
6d9380f96   Cédric Dupont   Update sources OC...
223
  	border-radius: 2em;
31b7f2792   Kload   Upgrade to ownclo...
224
  	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; filter:alpha(opacity=70); opacity: .7;
6d9380f96   Cédric Dupont   Update sources OC...
225
  	margin-top: 6px;
31b7f2792   Kload   Upgrade to ownclo...
226
227
  	float: right;
  }
6d9380f96   Cédric Dupont   Update sources OC...
228

31b7f2792   Kload   Upgrade to ownclo...
229
  input[type="submit"].enabled {
6d9380f96   Cédric Dupont   Update sources OC...
230
  	background-color: #66f866;
31b7f2792   Kload   Upgrade to ownclo...
231
232
  	border: 1px solid #5e5;
  }
03e52840d   Kload   Init
233
234
235
  
  /* CONTENT ------------------------------------------------------------------ */
  #controls {
31b7f2792   Kload   Upgrade to ownclo...
236
237
238
239
  	-moz-box-sizing: border-box;
  	-webkit-box-sizing: border-box;
  	box-sizing: border-box;
  	position: fixed;
6d9380f96   Cédric Dupont   Update sources OC...
240
  	top: 45px;
31b7f2792   Kload   Upgrade to ownclo...
241
242
243
244
245
246
  	right: 0;
  	left: 0;
  	height: 44px;
  	width: 100%;
  	padding: 0;
  	margin: 0;
6d9380f96   Cédric Dupont   Update sources OC...
247
  	background-color: rgba(255, 255, 255, .95);
31b7f2792   Kload   Upgrade to ownclo...
248
  	z-index: 50;
6d9380f96   Cédric Dupont   Update sources OC...
249
250
251
252
  	-webkit-user-select: none;
  	-moz-user-select: none;
  	-ms-user-select: none;
  	user-select: none;
31b7f2792   Kload   Upgrade to ownclo...
253
  }
6d9380f96   Cédric Dupont   Update sources OC...
254
255
256
  /* position controls for apps with app-navigation */
  #app-navigation+#app-content #controls {
  	left: 250px;
31b7f2792   Kload   Upgrade to ownclo...
257
  }
6d9380f96   Cédric Dupont   Update sources OC...
258
259
260
  .viewer-mode #app-navigation+#app-content #controls {
  	left: 0;
  }
31b7f2792   Kload   Upgrade to ownclo...
261
262
263
264
265
266
267
268
269
270
271
272
  #controls .button,
  #controls button,
  #controls input[type='submit'],
  #controls input[type='text'],
  #controls input[type='password'],
  #controls select {
  	-moz-box-sizing: border-box;
  	-webkit-box-sizing: border-box;
  	box-sizing: border-box;
  	display: inline-block;
  	height: 36px;
  	padding: 7px 10px
03e52840d   Kload   Init
273
  }
03e52840d   Kload   Init
274

6d9380f96   Cédric Dupont   Update sources OC...
275
276
277
278
279
280
281
282
283
  #controls .button.hidden {
  	display: none;
  }
  
  #content {
  	position: relative;
  	height: 100%;
  	width: 100%;
  }
31b7f2792   Kload   Upgrade to ownclo...
284
285
286
287
  #content .hascontrols {
  	position: relative;
  	top: 45px;
  }
03e52840d   Kload   Init
288
  #content-wrapper {
6d9380f96   Cédric Dupont   Update sources OC...
289
290
291
292
293
294
295
  	position: absolute;
  	height: 100%;
  	width: 100%;
  	overflow-x: hidden; /* prevent horizontal scrollbar */
  	padding-top: 45px;
  	-moz-box-sizing:border-box;
  	box-sizing:border-box;
31b7f2792   Kload   Upgrade to ownclo...
296
297
298
  }
  
  #emptycontent {
6d9380f96   Cédric Dupont   Update sources OC...
299
  	font-size: 16px;
31b7f2792   Kload   Upgrade to ownclo...
300
301
302
  	color: #888;
  	position: absolute;
  	text-align: center;
6d9380f96   Cédric Dupont   Update sources OC...
303
  	top: 30%;
31b7f2792   Kload   Upgrade to ownclo...
304
305
  	width: 100%;
  }
03e52840d   Kload   Init
306
307
308
  
  
  /* LOG IN & INSTALLATION ------------------------------------------------------------ */
31b7f2792   Kload   Upgrade to ownclo...
309
310
311
312
313
  
  /* Some whitespace to the top */
  #body-login #header {
  	padding-top: 100px;
  }
31b7f2792   Kload   Upgrade to ownclo...
314
  #body-login {
6d9380f96   Cédric Dupont   Update sources OC...
315
316
  	background-attachment: fixed; /* fix background gradient */
  	height: 100%; /* fix sticky footer */
31b7f2792   Kload   Upgrade to ownclo...
317
318
319
320
321
322
323
324
325
326
327
328
329
330
  }
  
  /* Dark subtle label text */
  #body-login p.info,
  #body-login form fieldset legend,
  #body-login #datadirContent label,
  #body-login form fieldset .warning-info,
  #body-login form input[type="checkbox"]+label {
  	text-align: center;
  	color: #ccc;
  	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
  	filter: alpha(opacity=60);
  	opacity: .6;
  }
6d9380f96   Cédric Dupont   Update sources OC...
331
332
333
334
335
336
337
338
339
  #body-login .update h2 {
  	font-weight: bold;
  	font-size: 18px;
  	margin-bottom: 30px;
  }
  
  #body-login .infogroup {
  	margin-bottom: 15px;
  }
31b7f2792   Kload   Upgrade to ownclo...
340
341
342
343
  #body-login p#message img {
  	vertical-align: middle;
  	padding: 5px;
  }
03e52840d   Kload   Init
344
  #body-login div.buttons { text-align:center; }
31b7f2792   Kload   Upgrade to ownclo...
345
346
347
348
349
350
351
352
353
354
  #body-login p.info {
  	width: 22em;
  	margin: 0 auto;
  	padding-top: 20px;
  }
  #body-login p.info a {
  	font-weight: bold;
  	padding: 13px;
  	margin: -13px;
  }
03e52840d   Kload   Init
355
  #body-login #submit.login { margin-right:7px; } /* quick fix for log in button not being aligned with input fields, should be properly fixed by input field width later */
31b7f2792   Kload   Upgrade to ownclo...
356
357
358
359
360
  #body-login form { width:22em; margin:2em auto 2em; padding:0; }
  #body-login form fieldset {
  	margin-bottom: 20px;
  	text-align: left;
  }
6d9380f96   Cédric Dupont   Update sources OC...
361
  #body-login form #adminaccount { margin-bottom:15px; }
31b7f2792   Kload   Upgrade to ownclo...
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
  #body-login form fieldset legend, #datadirContent label {
  	width: 100%;
  	font-weight: bold;
  }
  #body-login #datadirContent label {
  	display: block;
  	margin: 0;
  }
  #body-login form #datadirField legend {
  	margin-bottom: 15px;
  }
  #body-login #showAdvanced {
  	padding: 13px; /* increase clickable area of Advanced dropdown */
  }
  #body-login #showAdvanced img {
  	vertical-align: bottom; /* adjust position of Advanced dropdown arrow */
  	margin-left: -4px;
03e52840d   Kload   Init
379
  }
03e52840d   Kload   Init
380

6d9380f96   Cédric Dupont   Update sources OC...
381
382
383
384
385
386
387
388
389
390
391
392
393
394
  /* strengthify wrapper */
  #body-login .strengthify-wrapper {
  	display: inline-block;
  	position: relative;
  	left: 15px;
  	top: -21px;
  	width: 252px;
  }
  
  /* tipsy for the strengthify wrapper looks better with following font settings */
  #body-login .tipsy-inner {
  	font-weight: bold;
  	color: #ccc;
  }
03e52840d   Kload   Init
395
  /* Icons for username and password fields to better recognize them */
6d9380f96   Cédric Dupont   Update sources OC...
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
  #adminlogin,
  #adminpass,
  input[name='adminpass-clone'],
  #user,
  #password,
  input[name='password-clone'] {
  	width: 223px !important;
  	padding-left: 36px !important;
  }
  #adminlogin+label+img,
  #adminpass-icon,
  #user+label+img,
  #password-icon {
  	position: absolute;
  	left: 16px;
  	top: 22px;
  	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
  	filter: alpha(opacity=30);
  	opacity: .3;
  }
  #adminpass-icon, #password-icon {
  	top: 17px;
03e52840d   Kload   Init
418
  }
03e52840d   Kload   Init
419
420
421
422
  
  /* General new input field look */
  #body-login input[type="text"],
  #body-login input[type="password"],
837968727   Kload   [enh] Upgrade to ...
423
424
425
  #body-login input[type="email"],
  #body-login input[type="submit"] {
  	border: none;
31b7f2792   Kload   Upgrade to ownclo...
426
  	border-radius: 5px;
03e52840d   Kload   Init
427
428
429
  }
  
  /* Nicely grouping input field sets */
6d9380f96   Cédric Dupont   Update sources OC...
430
431
432
433
434
435
436
  .grouptop,
  .groupmiddle,
  .groupbottom {
  	position: relative;
  }
  #body-login .grouptop input,
  .grouptop input {
31b7f2792   Kload   Upgrade to ownclo...
437
438
439
440
441
  	margin-bottom: 0;
  	border-bottom: 0;
  	border-bottom-left-radius: 0;
  	border-bottom-right-radius: 0;
  }
6d9380f96   Cédric Dupont   Update sources OC...
442
443
  #body-login .groupmiddle input,
  .groupmiddle input {
31b7f2792   Kload   Upgrade to ownclo...
444
445
446
447
448
449
  	margin-top: 0;
  	margin-bottom: 0;
  	border-top: 0;
  	border-bottom: 0;
  	border-radius: 0;
  	box-shadow: 0 1px 0 rgba(0,0,0,.1) inset !important;
03e52840d   Kload   Init
450
  }
6d9380f96   Cédric Dupont   Update sources OC...
451
452
  #body-login .groupbottom input,
  .groupbottom input {
31b7f2792   Kload   Upgrade to ownclo...
453
454
455
456
457
  	margin-top: 0;
  	border-top: 0;
  	border-top-right-radius: 0;
  	border-top-left-radius: 0;
  	box-shadow: 0 1px 0 rgba(0,0,0,.1) inset !important;
03e52840d   Kload   Init
458
  }
6d9380f96   Cédric Dupont   Update sources OC...
459
460
461
  /* keep the labels for screen readers but hide them since we use placeholders */
  label.infield {
  	display: none;
03e52840d   Kload   Init
462
  }
6d9380f96   Cédric Dupont   Update sources OC...
463

31b7f2792   Kload   Upgrade to ownclo...
464
465
466
  #body-login form input[type="checkbox"]+label {
  	position: relative;
  	margin: 0;
31b7f2792   Kload   Upgrade to ownclo...
467
468
469
  	padding: 14px;
  	padding-left: 28px;
  	margin-left: -28px;
6d9380f96   Cédric Dupont   Update sources OC...
470
  	vertical-align: middle;
31b7f2792   Kload   Upgrade to ownclo...
471
472
473
474
475
476
477
478
479
480
  }
  #body-login form .errors { background:#fed7d7; border:1px solid #f00; list-style-indent:inside; margin:0 0 2em; padding:1em; }
  #body-login .success { background:#d7fed7; border:1px solid #0f0; width: 35%; margin: 30px auto; padding:1em; text-align: center;}
  
  #body-login #remember_login:hover+label,
  #body-login #remember_login:focus+label  {
  	color: #fff !important;
  }
  
  #body-login #showAdvanced > img {
31b7f2792   Kload   Upgrade to ownclo...
481
482
483
484
485
486
487
488
489
490
491
  	padding: 4px;
  	box-sizing: border-box;
  }
  
  #body-login p.info a, #body-login #showAdvanced {
  	color: #ccc;
  }
  
  #body-login p.info a:hover, #body-login p.info a:focus {
  	color: #fff;
  }
6d9380f96   Cédric Dupont   Update sources OC...
492
  #body-login footer .info {
31b7f2792   Kload   Upgrade to ownclo...
493
494
  	white-space: nowrap;
  }
03e52840d   Kload   Init
495
496
  
  /* Show password toggle */
31b7f2792   Kload   Upgrade to ownclo...
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
  #show, #dbpassword {
  	position: absolute;
  	right: 1em;
  	top: .8em;
  	float: right;
  }
  #show, #dbpassword, #personal-show {
  	display: none;
  }
  #show + label, #dbpassword + label {
  	right: 21px;
  	top: 15px !important;
  	margin: -14px !important;
  	padding: 14px !important;
  }
  #show:checked + label, #dbpassword:checked + label, #personal-show:checked + label {
  	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  	filter: alpha(opacity=80);
  	opacity: .8;
  }
  #show + label, #dbpassword + label, #personal-show + label {
  	position: absolute !important;
6d9380f96   Cédric Dupont   Update sources OC...
519
  	height: 20px;
31b7f2792   Kload   Upgrade to ownclo...
520
521
522
523
524
525
526
527
528
529
530
531
532
  	width: 24px;
  	background-image: url("../img/actions/toggle.png");
  	background-repeat: no-repeat;
  	background-position: center;
  	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
  	filter: alpha(opacity=30);
  	opacity: .3;
  }
  #pass2, input[name="personal-password-clone"] {
  	padding: .6em 2.5em .4em .4em;
  	width: 8em;
  }
  #personal-show + label {
6d9380f96   Cédric Dupont   Update sources OC...
533
534
535
  	height: 14px;
  	margin-top: 14px;
  	margin-left: -36px;
31b7f2792   Kload   Upgrade to ownclo...
536
537
538
  }
  #passwordbutton {
  	margin-left: .5em;
03e52840d   Kload   Init
539
  }
03e52840d   Kload   Init
540
541
  
  /* Database selector */
31b7f2792   Kload   Upgrade to ownclo...
542
543
  #body-login form #selectDbType { text-align:center; white-space: nowrap; }
  #body-login form #selectDbType label {
03e52840d   Kload   Init
544
545
  	position:static; margin:0 -3px 5px; padding:.4em;
  	font-size:12px; font-weight:bold; background:#f8f8f8; color:#888; cursor:pointer;
31b7f2792   Kload   Upgrade to ownclo...
546
  	border: 1px solid #ddd;
03e52840d   Kload   Init
547
  }
31b7f2792   Kload   Upgrade to ownclo...
548
  #body-login form #selectDbType label.ui-state-hover, #body-login form #selectDbType label.ui-state-active { color:#000; background-color:#e8e8e8; }
03e52840d   Kload   Init
549

31b7f2792   Kload   Upgrade to ownclo...
550
551
552
553
554
  
  /* Warnings and errors are the same */
  #body-login .warning, #body-login .update, #body-login .error {
  	display: block;
  	padding: 10px;
31b7f2792   Kload   Upgrade to ownclo...
555
  	background-color: rgba(0,0,0,.3);
f7d878ff1   kload   [enh] Update to 7...
556
  	color: #fff;
31b7f2792   Kload   Upgrade to ownclo...
557
558
559
  	text-align: left;
  	border-radius: 3px;
  	cursor: default;
03e52840d   Kload   Init
560
  }
31b7f2792   Kload   Upgrade to ownclo...
561
562
  
  #body-login .update {
6d9380f96   Cédric Dupont   Update sources OC...
563
  	width: inherit;
31b7f2792   Kload   Upgrade to ownclo...
564
565
566
  	text-align: center;
  	color: #ccc;
  }
6d9380f96   Cédric Dupont   Update sources OC...
567
568
569
  #body-login .v-align {
  	width: inherit;
  }
31b7f2792   Kload   Upgrade to ownclo...
570
571
572
573
574
575
576
577
578
579
580
581
582
583
  #body-login .update img.float-spinner {
  	float: left;
  }
  
  #body-user .warning, #body-settings .warning {
  	margin-top: 8px;
  	padding: 5px;
  	background: #fdd;
  	border-radius: 3px;
  }
  
  .warning legend,
  .warning a,
  .error a {
f7d878ff1   kload   [enh] Update to 7...
584
585
  	color: #fff !important;
  	font-weight: bold !important;
31b7f2792   Kload   Upgrade to ownclo...
586
587
588
589
590
591
592
  }
  .error pre {
  	white-space: pre-wrap;
  	text-align: left;
  }
  
  .error-wide {
6d9380f96   Cédric Dupont   Update sources OC...
593
594
  	width: 700px;
  	margin-left: -200px !important;
31b7f2792   Kload   Upgrade to ownclo...
595
  }
f7d878ff1   kload   [enh] Update to 7...
596
597
598
  .error-wide .button {
  	color: black !important;
  }
31b7f2792   Kload   Upgrade to ownclo...
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
  /* Fixes for log in page, TODO should be removed some time */
  #body-login .update,
  #body-login .error {
  	margin: 35px auto;
  }
  #body-login .warning {
  	margin: 0 7px 5px;
  }
  #body-login .warning legend {
  	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  	filter: alpha(opacity=100);
  	opacity: 1;
  }
  #body-login a.warning {
  	cursor: pointer;
  }
6d9380f96   Cédric Dupont   Update sources OC...
615
616
617
618
619
620
  /* fixes for update page TODO should be fixed some time in a proper way */
  /* this is just for an error while updating the ownCloud instance */
  #body-login .updateProgress .error {
  	margin-top: 10px;
  	margin-bottom: 10px;
  }
03e52840d   Kload   Init
621
622
623
624
  
  /* Alternative Logins */
  #alternative-logins legend { margin-bottom:10px; }
  #alternative-logins li { height:40px; display:inline-block; white-space:nowrap; }
31b7f2792   Kload   Upgrade to ownclo...
625
626
  /* Log in and install button */
  #body-login input {
6d9380f96   Cédric Dupont   Update sources OC...
627
628
629
  	font-size: 20px;
  	margin: 5px;
  	padding: 11px 10px 9px;
31b7f2792   Kload   Upgrade to ownclo...
630
631
632
  }
  #body-login input[type="text"],
  #body-login input[type="password"] {
6d9380f96   Cédric Dupont   Update sources OC...
633
  	width: 249px;
31b7f2792   Kload   Upgrade to ownclo...
634
635
636
637
638
639
640
641
642
  }
  #body-login input.login {
  	width: auto;
  	float: right;
  }
  #body-login input[type="submit"] {
  	padding: 10px 20px; /* larger log in and installation buttons */
  }
  #remember_login {
6d9380f96   Cédric Dupont   Update sources OC...
643
  	margin: 24px 5px 0 16px !important;
31b7f2792   Kload   Upgrade to ownclo...
644
645
646
647
648
649
650
651
652
653
654
655
  	vertical-align: text-bottom;
  }
  
  /* Sticky footer */
  #body-login .wrapper {
  	min-height: 100%;
  	margin: 0 auto -70px;
  	width: 300px;
  }
  #body-login footer, #body-login .push {
  	height: 70px;
  }
03e52840d   Kload   Init
656

03e52840d   Kload   Init
657
658
659
660
  /* VARIOUS REUSABLE SELECTORS */
  .hidden { display:none; }
  .bold { font-weight:bold; }
  .center { text-align:center; }
31b7f2792   Kload   Upgrade to ownclo...
661
  .inlineblock { display: inline-block; }
03e52840d   Kload   Init
662

6d9380f96   Cédric Dupont   Update sources OC...
663
664
665
666
667
668
  #notification-container {
  	position: absolute;
  	top: 0;
  	width: 100%;
  	text-align: center;
  }
31b7f2792   Kload   Upgrade to ownclo...
669
  #notification, #update-notification {
6d9380f96   Cédric Dupont   Update sources OC...
670
671
  	margin: 0 auto;
  	max-width: 60%;
31b7f2792   Kload   Upgrade to ownclo...
672
673
674
  	z-index: 101;
  	background-color: #fc4;
  	border: 0;
6d9380f96   Cédric Dupont   Update sources OC...
675
  	padding: 1px 8px;
31b7f2792   Kload   Upgrade to ownclo...
676
677
678
679
680
  	display: none;
  	position: relative;
  	top: 0;
  	border-bottom-left-radius: 3px;
  	border-bottom-right-radius: 3px;
6d9380f96   Cédric Dupont   Update sources OC...
681
682
683
684
685
686
687
688
  	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
  	filter:alpha(opacity=90);
  	opacity: .9;
  }
  #notification span, #update-notification span {
  	cursor: pointer;
  	font-weight: bold;
  	margin-left: 1em;
31b7f2792   Kload   Upgrade to ownclo...
689
  }
03e52840d   Kload   Init
690
691
692
693
694
695
696
  
  tr .action:not(.permanent), .selectedActions a { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter:alpha(opacity=0); opacity:0; }
  tr:hover .action, tr .action.permanent, .selectedActions a { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; filter:alpha(opacity=50); opacity:.5; }
  tr .action { width:16px; height:16px; }
  .header-action { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; filter:alpha(opacity=80); opacity:.8; }
  tr:hover .action:hover, .selectedActions a:hover, .header-action:hover { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1; }
  tbody tr:hover, tr:active { background-color:#f8f8f8; }
03e52840d   Kload   Init
697
  code { font-family:"Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", monospace; }
6d9380f96   Cédric Dupont   Update sources OC...
698
699
700
701
  #quota {
  	position: relative;
  	padding: 0;
  }
31b7f2792   Kload   Upgrade to ownclo...
702
703
704
705
706
707
708
  #quota div {
  	padding: 0;
  	background-color: rgb(220,220,220);
  	font-weight: normal;
  	white-space: nowrap;
  	border-bottom-left-radius: 3px;
  	border-top-left-radius: 3px; }
03e52840d   Kload   Init
709
  #quotatext {padding:.6em 1em;}
03e52840d   Kload   Init
710
711
712
  
  .pager { list-style:none; float:right; display:inline; margin:.7em 13em 0 0; }
  .pager li { display:inline-block; }
03e52840d   Kload   Init
713
  .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { overflow:hidden; text-overflow:ellipsis; }
03e52840d   Kload   Init
714
715
716
  .separator { display:inline; border-left:1px solid #d3d3d3; border-right:1px solid #fff; height:10px; width:0px; margin:4px; }
  
  a.bookmarklet { background-color:#ddd; border:1px solid #ccc; padding:5px;padding-top:0px;padding-bottom:2px; text-decoration:none; margin-top:5px }
31b7f2792   Kload   Upgrade to ownclo...
717
  .exception{color:#000;}
03e52840d   Kload   Init
718
719
720
721
  .exception textarea{width:95%;height:200px;background:#ffe;border:0;}
  
  .ui-icon-circle-triangle-e{ background-image:url('../img/actions/play-next.svg'); }
  .ui-icon-circle-triangle-w{ background-image:url('../img/actions/play-previous.svg'); }
31b7f2792   Kload   Upgrade to ownclo...
722
  .ui-datepicker-prev,.ui-datepicker-next{ border:1px solid #ddd; background:#fff; }
03e52840d   Kload   Init
723
724
  
  /* ---- DIALOGS ---- */
31b7f2792   Kload   Upgrade to ownclo...
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
  #oc-dialog-filepicker-content .dirtree {width:92%; overflow:hidden; }
  #oc-dialog-filepicker-content .dirtree .home {
  	background-image:url('../img/places/home.svg');
  	background-repeat:no-repeat;
  	background-position: left center;
  }
  #oc-dialog-filepicker-content .dirtree span:not(:last-child) { cursor: pointer; }
  #oc-dialog-filepicker-content .dirtree span:last-child { font-weight: bold; }
  #oc-dialog-filepicker-content .dirtree span:not(:last-child)::after { content: '>'; padding: 3px;}
  #oc-dialog-filepicker-content .filelist {
  	overflow-y:auto;
  	max-height: 300px;
  	background-color:white;
  	width:100%;
  }
  #oc-dialog-filepicker-content .filelist li {
03e52840d   Kload   Init
741
  	position: relative;
03e52840d   Kload   Init
742
  }
31b7f2792   Kload   Upgrade to ownclo...
743
  #oc-dialog-filepicker-content .filelist .filename {
03e52840d   Kload   Init
744
  	position: absolute;
31b7f2792   Kload   Upgrade to ownclo...
745
  	top: 8px;
f7d878ff1   kload   [enh] Update to 7...
746
747
748
749
  	max-width: 60%;
  	overflow: hidden;
  	white-space: nowrap;
  	text-overflow: ellipsis;
03e52840d   Kload   Init
750
  }
31b7f2792   Kload   Upgrade to ownclo...
751
752
  #oc-dialog-filepicker-content .filelist img {
  	margin: 2px 1em 0 4px;
03e52840d   Kload   Init
753
  }
31b7f2792   Kload   Upgrade to ownclo...
754
755
  #oc-dialog-filepicker-content .filelist .date {
  	float: right;
f7d878ff1   kload   [enh] Update to 7...
756
757
758
  	margin-right: 10px;
  	margin-top: 0;
  	padding-top: 9px;
03e52840d   Kload   Init
759
  }
31b7f2792   Kload   Upgrade to ownclo...
760
761
762
  #oc-dialog-filepicker-content .filepicker_element_selected { background-color:lightblue;}
  .ui-dialog {position:fixed !important;}
  span.ui-icon {float: left; margin: 3px 7px 30px 0;}
03e52840d   Kload   Init
763

31b7f2792   Kload   Upgrade to ownclo...
764
765
766
767
768
  .loading { background: url('../img/loading.gif') no-repeat center; cursor: wait; }
  .loading-small { background: url('../img/loading-small.gif') no-repeat center; cursor: wait; }
  .move2trash { /* decrease spinner size */
  	width: 16px;
  	height: 16px;
03e52840d   Kload   Init
769
  }
31b7f2792   Kload   Upgrade to ownclo...
770
771
772
  /* ---- TAGS ---- */
  #tagsdialog .content {
  	width: 100%; height: 280px;
03e52840d   Kload   Init
773
  }
31b7f2792   Kload   Upgrade to ownclo...
774
775
776
  #tagsdialog .scrollarea {
  	overflow:auto; border:1px solid #ddd;
  	width: 100%; height: 240px;
03e52840d   Kload   Init
777
  }
31b7f2792   Kload   Upgrade to ownclo...
778
779
  #tagsdialog .bottombuttons {
  	 width: 100%; height: 30px;
03e52840d   Kload   Init
780
  }
31b7f2792   Kload   Upgrade to ownclo...
781
782
783
784
  #tagsdialog .bottombuttons * { float:left;}
  #tagsdialog .taglist li { background:#f8f8f8; padding:.3em .8em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; -webkit-transition:background-color 500ms; -moz-transition:background-color 500ms; -o-transition:background-color 500ms; transition:background-color 500ms; }
  #tagsdialog .taglist li:hover, #tagsdialog .taglist li:active { background:#eee; }
  #tagsdialog .addinput { width: 90%; clear: both; }
03e52840d   Kload   Init
785

a293d369c   Kload   Update sources to...
786
787
788
789
790
791
792
793
794
795
  /* ---- APP SETTINGS - LEGACY, DO NOT USE THE POPUP! ---- */
  .popup {
  	background-color: #fff;
  	border-radius: 3px;
  	box-shadow: 0 0 10px #aaa;
  	color: #333;
  	padding: 10px;
  	position: fixed !important;
  	z-index: 100;
  }
31b7f2792   Kload   Upgrade to ownclo...
796
797
798
799
800
801
  .popup.topright { top:7em; right:1em; }
  .popup.bottomleft { bottom:1em; left:33em; }
  .popup .close { position:absolute; top:0.2em; right:0.2em; height:20px; width:20px; background:url('../img/actions/close.svg') no-repeat center; }
  .popup h2 { font-weight:bold; font-size:1.2em; }
  .arrow { border-bottom:10px solid white; border-left:10px solid transparent; border-right:10px solid transparent; display:block; height:0; position:absolute; width:0; z-index:201; }
  .arrow.left { left:-13px; bottom:1.2em; -webkit-transform:rotate(270deg); -moz-transform:rotate(270deg); -o-transform:rotate(270deg); -ms-transform:rotate(270deg); transform:rotate(270deg); }
a293d369c   Kload   Update sources to...
802
  .arrow.up { top:-8px; right:6px; }
31b7f2792   Kload   Upgrade to ownclo...
803
  .arrow.down { -webkit-transform:rotate(180deg); -moz-transform:rotate(180deg); -o-transform:rotate(180deg); -ms-transform:rotate(180deg); transform:rotate(180deg); }
03e52840d   Kload   Init
804

03e52840d   Kload   Init
805

31b7f2792   Kload   Upgrade to ownclo...
806
807
808
  /* ---- BREADCRUMB ---- */
  div.crumb {
  	float: left;
03e52840d   Kload   Init
809
  	display: block;
31b7f2792   Kload   Upgrade to ownclo...
810
811
  	background: url('../img/breadcrumb.svg') no-repeat right center;
  	height: 44px;
6d9380f96   Cédric Dupont   Update sources OC...
812
813
814
815
  	background-size: auto 24px;
  }
  div.crumb.hidden {
  	display: none;
03e52840d   Kload   Init
816
  }
31b7f2792   Kload   Upgrade to ownclo...
817
818
819
820
821
822
  div.crumb a,
  div.crumb span {
  	position: relative;
  	top: 12px;
  	padding: 14px 24px 14px 17px;
  	color: #555;
03e52840d   Kload   Init
823
  }
31b7f2792   Kload   Upgrade to ownclo...
824
825
826
  div.crumb:first-child a {
  	position: relative;
  	top: 13px;
03e52840d   Kload   Init
827
  }
31b7f2792   Kload   Upgrade to ownclo...
828
829
830
  div.crumb.last {
  	font-weight: bold;
  	margin-right: 10px;
03e52840d   Kload   Init
831
  }
31b7f2792   Kload   Upgrade to ownclo...
832
833
834
835
836
837
838
  /* some feedback for hover/tap on breadcrumbs */
  div.crumb:hover,
  div.crumb:focus,
  div.crumb:active {
  	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  	filter:alpha(opacity=70);
  	opacity:.7;
03e52840d   Kload   Init
839
  }
31b7f2792   Kload   Upgrade to ownclo...
840

a293d369c   Kload   Update sources to...
841
842
843
844
845
846
847
848
849
850
851
  .appear {
  	opacity: 1;
  	transition: opacity 500ms ease 0s;
  	-moz-transition: opacity 500ms ease 0s;
  	-ms-transition: opacity 500ms ease 0s;
  	-o-transition: opacity 500ms ease 0s;
  	-webkit-transition: opacity 500ms ease 0s;
  }
  .appear.transparent {
  	opacity: 0;
  }
6d9380f96   Cédric Dupont   Update sources OC...
852
853
854
855
856
857
858
859
860
861
862
863
864
865
  /* LEGACY FIX only - do not use fieldsets for settings */
  fieldset.warning legend, fieldset.update legend {
  	top: 18px;
  	position: relative;
  }
  fieldset.warning legend + p, fieldset.update legend + p {
  	margin-top: 12px;
  }
  
  
  /* for IE10 */
  @-ms-viewport {
  	width: device-width;
  }