Welcome to mirror list, hosted at ThFree Co, Russian Federation.

files.scss « css « files « apps - github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6dcdec0711c694a9a392075f73a2cec5f50e981f (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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
/* 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. */

/* SETTINGS */
#files-setting-showhidden {
	padding-bottom: 8px;
}

/* FILE MENU */
.actions { padding:5px; height:32px; display: inline-block; float: left; }
.actions input, .actions button, .actions .button { margin:0; float:left; }
.actions .button a { color: #555; }
.actions .button a:hover,
.actions .button a:focus,
.actions .button a:active {
	color: #333;
}

.actions.creatable {
	position: relative;
	display: flex;
	flex: 1 1;
	.button:not(:last-child) {
		margin-right: 3px;
	}
}

.actions.hidden {
	display: none;
}

#trash {
	margin-right: 8px;
	float: right;
	z-index: 1010;
	padding: 10px;
	font-weight: normal;
}

.newFileMenu .error,
.newFileMenu .error + .icon-confirm,
#fileList .error {
	color: var(--color-error);
	border-color: var(--color-error);
}

/* FILE TABLE */
#filestable {
	position: relative;
	width: 100%;
}

#filestable tbody tr {
	height: 51px;
}

/* fit app list view heights */
.app-files #app-content>.viewcontainer {
	min-height: 0%;
}

.app-files #app-content {
	transition: background-color 0.3s ease;
	overflow-x: hidden;
}

.file-drag, .file-drag #filestable tbody tr, .file-drag #filestable tbody tr:hover {
	transition: background-color 0.3s ease!important;
	background-color: rgb(179, 230, 255)!important;
}

.app-files #app-content.dir-drop {
	background-color: var(--color-main-background) !important;
}

.file-drag #filestable tbody tr, .file-drag #filestable tbody tr:hover{
	background-color: transparent !important;
}

.app-files #app-content.dir-drop #filestable tbody tr.dropping-to-dir{
	background-color: rgb(179, 230, 255) !important;
}

/* icons for sidebar */
.nav-icon-files {
	@include icon-color(folder, 'files', $color-black);
}
.nav-icon-recent {
	@include icon-color(recent, 'files', $color-black);
}
.nav-icon-favorites {
	@include icon-color(star, 'files', $color-black);
}
.nav-icon-sharingin,
.nav-icon-sharingout {
	@include icon-color(share, 'files', $color-black);
}
.nav-icon-sharinglinks {
	@include icon-color(public, 'files', $color-black);
}
.nav-icon-extstoragemounts {
	@include icon-color(external, 'files', $color-black);
}
.nav-icon-trashbin {
	@include icon-color(delete, 'files', $color-black);
}
.nav-icon-deletedshares {
	background-image: url('../img/unshare.svg?v=1');
}

#app-navigation .nav-files a.nav-icon-files {
	width: auto;
}
/* button needs overrides due to navigation styles */
#app-navigation .nav-files a.new {
	width: 40px;
	height: 32px;
	padding: 0 10px;
	margin: 0;
	cursor: pointer;
}

#app-navigation .nav-files a.new.hidden {
	display: none;
}

#app-navigation .nav-files a.new.disabled {
	opacity: 0.3;
}

#filestable tbody tr {
	transition: background-color 0.3s ease;
	height: 40px;
}
#filestable tbody tr:hover,
#filestable tbody tr:focus,
#filestable tbody .name:focus,
#filestable tbody tr:active,
#filestable tbody tr.highlighted,
#filestable tbody tr.highlighted .name:focus,
#filestable tbody tr.selected,
#filestable tbody tr.searchresult,
table tr.mouseOver td {
	transition: background-color 0.3s ease;
	background-color: var(--color-background-dark);
}
tbody a { color: var(--color-main-text); }

span.conflict-path, span.extension, span.uploading, td.date {
	color: var(--color-text-maxcontrast);
}
span.conflict-path, span.extension {
	-webkit-transition: opacity 300ms;
	-moz-transition: opacity 300ms;
	-o-transition: opacity 300ms;
	transition: opacity 300ms;
	vertical-align: top;
}
tr:hover span.conflict-path,
tr:focus span.conflict-path,
tr:hover span.extension,
tr:focus span.extension {
	opacity: 1;
	color: var(--color-text-maxcontrast);
}

table th, table th a {
	color: var(--color-text-maxcontrast);
}
table.multiselect th a {
	color: #000;
}
table th .columntitle {
	display: block;
	padding: 15px;
	height: 50px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	vertical-align: middle;
}
table.multiselect th .columntitle {
    display: inline-block;
}
table th .columntitle.name {
	padding-left: 5px;
	margin-left: 50px;
}

table th .sort-indicator {
	width: 10px;
	height: 8px;
	margin-left: 5px;
	display: inline-block;
	vertical-align: text-bottom;
	opacity: .3;
}
.sort-indicator.hidden,
.multiselect .sort-indicator,
table.multiselect th:hover .sort-indicator.hidden,
table.multiselect th:focus .sort-indicator.hidden {
	visibility: hidden;
}
.multiselect .sort, .multiselect .sort span {
	cursor: default;
}
table th:hover .sort-indicator.hidden,
table th:focus .sort-indicator.hidden {
	visibility: visible;
}

table th,
table td {
	border-bottom: 1px solid var(--color-border);
	text-align: left;
	font-weight: normal;
}
table td {
	padding: 0 15px;
	font-style: normal;
	background-position: 8px center;
	background-repeat: no-repeat;
}
table th#headerName {
	position: relative;
	width: 9999px; /* not really sure why this works better than 100% … table styling */
	padding: 0;
}

#headerName-container {
	position: relative;
	height: 50px;
}

table th#headerSize, table td.filesize {
	text-align: right;
}
table th#headerDate, table td.date,
table th.column-last, table td.column-last {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
	/* this can not be just width, both need to be set … table styling */
	min-width: 130px;
	max-width: 130px;
}

/* Multiselect bar */
#filestable.multiselect {
	top: 51px;
}
table.multiselect thead {
	position: fixed;
	top: 94px;
	z-index: 55;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	left: 250px; /* sidebar */
}

table.multiselect thead th {
	background-color: rgba(255, 255, 255, 0.95); /* like controls bar */
	color: #000;
	font-weight: bold;
	border-bottom: 0;
}

#app-content.with-app-sidebar table.multiselect thead{
	margin-right: 27%;
}

table.multiselect #headerName {
	position: relative;
	width: 9999px; /* when we use 100%, the styling breaks on mobile … table styling */
}
table.multiselect #modified {
	display: none;
}

table td.selection,
table th.selection,
table td.fileaction {
	width: 32px;
	text-align: center;
}
table td.filename a.name {
	display: flex;
	position:relative; /* Firefox needs to explicitly have this default set … */
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	height: 50px;
	line-height: 50px;
	padding: 0;
}
table td.filename .thumbnail-wrapper {
	/* we need this to make sure flex is working inside a table cell */
	width: 0;
	min-width: 50px;
	max-width: 50px;
	height: 50px;
}
table td.filename .thumbnail-wrapper.icon-loading-small {
	&:after {
		z-index: 10;
	}
	.thumbnail {
		opacity: 0.2;
	}
}
table td.filename .thumbnail {
	display: inline-block;
	width: 32px;
	height: 32px;
	background-size: 32px;
	margin-left: 9px;
	margin-top: 9px;
	cursor: pointer;
	position: absolute;
	z-index: 4;
}
table td.filename input.filename {
	width: 70%;
	margin-top: 9px;
	margin-left: 48px;
	cursor: text;
}

table td.filename a, table td.login, table td.logout, table td.download, table td.upload, table td.create, table td.delete { padding:3px 8px 8px 3px; }
table td.filename .nametext, .modified, .column-last>span:first-child { float:left; padding:15px 0; }

.modified, .column-last>span:first-child {
	position: relative;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 110px;
}

/* TODO fix usability bug (accidental file/folder selection) */
table {
	td.filename {
		max-width: 0;
		.nametext {
			width: 0;
			flex-grow: 1;
			display: flex;
			padding: 0;
			overflow: hidden;
			white-space: nowrap;
			text-overflow: ellipsis;
			height: 100%;
			z-index: 10;
			padding-right: 20px;
		}
	}

	.uploadtext {
		position: absolute;
		left: 55px;
	}
}

.hide-hidden-files #fileList tr.hidden-file,
.hide-hidden-files #fileList tr.hidden-file.dragging {
	display: none;
}

#fileList tr.animate-opacity {
	-webkit-transition:opacity 250ms;
	-moz-transition:opacity 250ms;
	-o-transition:opacity 250ms;
	transition:opacity 250ms;
}
#fileList tr.dragging {
	opacity: 0.2;
}

table td.filename .nametext .innernametext {
	text-overflow: ellipsis;
	overflow: hidden;
	position: relative;
	vertical-align: top;
}

/* for smaller resolutions - see mobile.css */

table td.filename .uploadtext {
	font-weight: normal;
	margin-left: 55px;
	margin-top: 5px;
	height: 20px;
	padding: 10px 0;
	font-size: 11px;
	opacity: .5;
}

table td.selection {
	padding: 0;
}

/* File checkboxes */
#fileList tr td.selection>.selectCheckBox + label:before {
	opacity: 0.3;
}

/* Show checkbox with full opacity when hovering, checked, or selected */
#fileList tr:hover td.selection>.selectCheckBox + label:before,
#fileList tr:focus td.selection>.selectCheckBox + label:before,
#fileList tr td.selection>.selectCheckBox:checked + label:before,
#fileList tr.selected td.selection>.selectCheckBox + label:before {
	opacity: 1;
}

/* Use label to have bigger clickable size for checkbox */
#fileList tr td.selection>.selectCheckBox + label,
.select-all + label {
	padding: 16px;
}

#fileList tr td.filename {
	position: relative;
	width: 100%;
	padding-left: 0;
	padding-right:0;
	-webkit-transition:background-image 500ms; -moz-transition:background-image 500ms; -o-transition:background-image 500ms; transition:background-image 500ms;
}

#fileList tr td.filename a.name label {
	position: absolute;
	width: 80%;
	height: 50px;
}

#fileList tr td.filename .favorite {
	display: inline-block;
	float: left;
}
#fileList tr td.filename .favorite-mark {
	position: absolute;
	display: block;
	top: -6px;
	right: -6px;
	line-height: 100%;
	text-align: center;
}

#uploadsize-message,#delete-confirm { display:none; }

/* File actions */
.fileactions {
	z-index: 50;
}

.busy .fileactions, .busy .action {
	visibility: hidden;
}

/* fix position of bubble pointer for Files app */
.bubble,
#app-navigation .app-navigation-entry-menu {
	border-top-right-radius: 3px;
	min-width: 100px;
}

/* force show the loading icon, not only on hover */
#fileList .icon-loading-small {
	opacity: 1 !important;
	display: inline !important;
}

#fileList .action.action-share-notification span, #fileList a.name {
	cursor: default !important;
}

a.action > img {
	height: 16px;
	width: 16px;
	vertical-align: text-bottom;
}

/* Actions for selected files */
.selectedActions {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}
.selectedActions.hidden {
    display: none;
}
.selectedActions a {
	display: inline;
	line-height: 50px;
	padding: 16px 5px;
}

.selectedActions a.hidden {
	display: none;
}
.selectedActions a img {
	position:relative;
	vertical-align: text-bottom;
	margin-bottom: -1px;
}

.selectedActions .actions-selected .icon-more {
	margin-top: -3px;
}

#fileList td a {
	a.action {
		display: inline;
		padding: 17px 8px;
		line-height: 50px;
		opacity: .3;
		&.action-share {
			padding: 17px 14px;
			.avatar {
				display: inline-block;
				vertical-align: middle;
			}
		}
		&.action-menu {
			padding-top: 17px;
			padding-bottom: 17px;
			padding-left: 14px;
			padding-right: 14px;
		}
		&.no-permission {
			&:hover, &:focus {
				opacity: .3;
			}
		}
		&.disabled {
			&:hover, &:focus,
			img {
				opacity: .3;
			}
			&.action-download {
				opacity: .7;
				&:hover, &:focus {
					opacity: .7;
				}
			}
		}
		&:hover, &:focus {
			opacity: .7;
		}
	}
	.fileActionsMenu a.action, a.action.action-share.shared-style {
		opacity: .7;
	}
}

// Ellipsize long sharer names
#fileList .action.action-share.permanent.shared-style span:not(.icon) {
	display: inline-block;
	max-width: 70px;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: middle;
	margin-left: 6px;
}

#fileList .remoteAddress .userDomain {
	margin-left: 0 !important;
}

#fileList .favorite-mark.permanent {
	opacity: 1;
}

#fileList .fileActionsMenu a.action:hover,
#fileList .fileActionsMenu a.action:focus,
/* show share action of shared items darker to distinguish from non-shared */
#fileList a.action.action-share.shared-style:hover,
#fileList a.action.action-share.shared-style:focus {
	opacity: 1;
}

#fileList tr a.action.disabled {
	background: none;
}

#selectedActionsList a.download.disabled,
#fileList tr a.action.action-download.disabled {
	color: #000000;
}

#fileList tr:hover a.action.disabled:hover * {
	cursor: default;
}

.summary {
	opacity: .3;
	/* add whitespace to bottom of files list to correctly show dropdowns */
	height: 300px;
}
.summary:hover,
.summary:focus,
.summary,
table tr.summary td {
	background-color: transparent;
}
.summary td {
	border-bottom: none;
	vertical-align: top;
	padding-top: 20px;
}
.summary .info {
	margin-left: 35px; /* td has padding of 15, col width is 50 */
}

table.dragshadow {
	width:auto;
	z-index: 100;
}
table.dragshadow td.filename {
	padding-left:60px;
	padding-right:16px;
	height: 36px;
}
table.dragshadow td.size {
	padding-right:8px;
}
.mask {
	z-index: 50;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--color-main-background);
	background-repeat: no-repeat no-repeat;
	background-position: 50%;
	opacity: 0.7;
	transition: opacity 100ms;
	-moz-transition: opacity 100ms;
	-o-transition: opacity 100ms;
	-ms-transition: opacity 100ms;
	-webkit-transition: opacity 100ms;
}
.mask.transparent{
	opacity: 0;
}

.newFileMenu {
	font-weight: 300;
	top: 100%;
	margin-top: 4px;
	min-width: 100px;
	margin-left: 7px;
	z-index: 1001;
}

#filestable .filename .action .icon,
#filestable .selectedActions a .icon,
#filestable .filename .favorite-mark .icon,
#controls .actions .button .icon {
	display: inline-block;
	vertical-align: middle;
	background-size: 16px 16px;
}

#filestable .filename .favorite-mark {
	// Override default icons to always hide the star icon and always show the
	// starred icon even when hovered or focused.
	& .icon-star {
		background-image: none;
	}
	& .icon-starred {
		@include icon-color('star-dark', 'actions', 'FC0', true);
	}
}

#filestable .filename .action .icon.hidden,
#filestable .selectedActions a .icon.hidden,
#controls .actions .button .icon.hidden {
	display: none;
}

#filestable .filename .action .icon.loading,
#filestable .selectedActions a .icon.loading,
#controls .actions .button .icon.loading {
	width: 15px;
	height: 15px;
}

.app-files .actions .button.new {
	position: relative;
}
.app-files .actions .button.new .icon {
	margin-bottom: 2px;
}

.breadcrumb .canDrop > a,
#filestable tbody tr.canDrop {
	background-color: rgb(179, 230, 255);
}


#quota {
	margin: 0 !important;
	border: none;
	border-radius: 0;
	background-color: transparent;
	z-index:1;

	.quota-container {
		height: 5px;
		border-radius: var(--border-radius);

		div {
			height: 100%;
			background-color: var(--color-primary);
		}
	}
}

#quotatext {
	padding: 0;
	height: 30px;
	line-height: 30px;
}