forked from m417z/winbindex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwinbindex.css
More file actions
117 lines (101 loc) · 2.85 KB
/
winbindex.css
File metadata and controls
117 lines (101 loc) · 2.85 KB
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
#main-logo-canvas {
width: 88px;
height: 88px;
clip-path: url(#windows-clip);
}
.winbindex-table-container-hidden {
height: 0;
overflow: hidden;
}
th .winbindex-column-header-with-yadcf {
display: none;
}
/* Cursor for disabled buttons: https://stackoverflow.com/a/50349274 */
button:disabled {
cursor: not-allowed;
}
.disabled-cursor {
cursor: not-allowed;
}
/* bootstrap4-dialog - add spacing between buttons */
.bootstrap-dialog .bootstrap-dialog-footer-buttons .btn {
margin-right: .5rem;
}
/* select2 - make block and not inline-block */
.yadcf-filter-wrapper {
display: block;
}
/* select2 bootstrap4 improve width with bold text */
.yadcf-filter {
font-weight: bold;
padding-left: 14px;
}
/* Unset nowrap style that causes scrolling on mobile */
div.dataTables_wrapper div.dataTables_info {
white-space: normal;
}
/* large select2 on front page: https://stackoverflow.com/a/41830955 */
/*#winbindex-file-select-container {
font-size: 1.6rem;
}
#winbindex-file-select-container .select2-selection__rendered {
line-height: 61px !important;
}
#winbindex-file-select-container .select2-container .select2-selection--single {
height: 65px !important;
}
#winbindex-file-select-container .select2-selection__arrow {
height: 64px !important;
}*/
/* Virtual select and the button below customizations */
#winbindex-file-select {
max-height: 60px;
}
#winbindex-file-select .ui-virtual-select--search-input {
font-size: 1.6rem;
}
#winbindex-file-select .ui-virtual-select--items {
/* fix redundant scrollbar */
box-sizing: content-box;
overflow-y: auto !important;
/* keep dropdown list on top */
position: relative;
z-index: 1;
}
#winbindex-file-select-container button {
width: 100%;
font-size: 1.6rem;
margin-top: 1rem;
height: 65px;
}
/* Fixed select validation placement: https://github.com/select2/select2/issues/128#issuecomment-288606061 */
/*#winbindex-file-select-container .form-control.select2-hidden-accessible {
top: 40px;
right: 25px;
}*/
/* Add a horizontal scrollbar when needed */
#winbindex-table_wrapper > .row:nth-child(2) > .col-sm-12 {
overflow-x: auto;
}
#winbindex-table_wrapper > .row:nth-child(3) > .col-sm-12:nth-child(2) {
overflow-x: auto;
}
/* select2 bootstrap4 - reduce height */
#winbindex-table .select2-container--bootstrap4 .select2-selection--single {
height: 28px !important;
}
#winbindex-table .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
line-height: 28px;
}
#winbindex-settings-button .settings-button {
font-size: .8rem;
}
#winbindex-settings-button .dropdown-item input[type="checkbox"] {
pointer-events: none;
}
.winbindex-extra-info-json {
/* https://stackoverflow.com/a/28852473 */
max-height: calc(100vh - 225px);
padding: 10px;
margin-bottom: 0;
}