blob: 7bec14fbcda1a166f579cdcd4207037d5d19cb0c [file] [log] [blame]
Copybara botbe50d492023-11-30 00:16:42 +01001:root {
2 --material-green: rgb(76,175,80);
3}
4
5body {
6 font-family: "Roboto", "Helvetica", "Arial", sans-serif;
7}
8
9.main {
10 position: relative;
11 display: block;
12 width: Calc(100% - 64px);
13 max-width: 1024px;
14 margin: 20px auto;
15 padding: 16px 16px 32px 16px;
16 border-radius: 2px;
17 background: #FFFFFF;
18}
19
20.main.withfab {
21 padding: 16px 16px 64px 16px!important;
22}
23
24.delete, .icon {
25 color: black!important;
26 vertical-align: middle;
27}
28
29.icon-no-black {
30 vertical-align: middle;
31}
32
33a.backbtn {
34 text-decoration: none;
35 color: #424242;
36}
37
38a.backbtn .material-icons {
39 vertical-align: middle;
40}
41
42.mdl-tabs__panel {
43 padding-top: 16px;
44}
45
46.mdl-navigation__link span {
47 vertical-align: middle;
48}
49
50dynscript {
51 display: none;
52}
53
54details.debug summary {
55 color: rgb(255, 64, 129);
56 font-size: 12px;
57 cursor: pointer;
58}
59
60.overflow-wrapper {
61 max-width: 100%;
62 overflow-x: auto;
63 -webkit-overflow-scrolling: touch;
64}
65
66.overflow-wrapper.overflow-wrapper--for-table {
67 padding: 4px;
68 margin: -4px;
69}
70
71details.debug pre {
72 margin: 0;
73 max-width: 100%;
74 overflow: auto;
75}
76
77.margintop {
78 margin-top: 16px;
79}
80
81i.help {
82 vertical-align: middle;
83 cursor: help;
84}
85
86.mdl-data-table__cell--centered {
87 text-align: center!important;
88}
89
90.mdl-dialog .mdl-dialog__content, .copyto {
91 overflow-y: auto;
92 background: linear-gradient(white 30%, rgba(255, 255, 255, 0)), linear-gradient(rgba(255, 255, 255, 0), white 70%) 0 100%, radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) 0 100%;
93 background-repeat: no-repeat;
94 background-color: white;
95 background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
96 background-attachment: local, local, scroll, scroll;
97}
98
99.mdl-dialog .mdl-dialog__content {
100 max-height: Calc(100vh - 232px);
101}
102
103.copyto {
104 max-height: 300px;
105}
106
107.mdl-dialog .mdl-dialog__title {
108 margin-bottom: 4px; /* Otherwise sometimes the title is not entirely shown */
109}
110
111a.mdl-js-ripple-effect {
112 position: relative;
113}
114
115.always-focused {
116 font-size: 12px;
117 top: 4px;
118 visibility: visible;
119}
120
121.clicky-container {
122 text-decoration: none!important;
123 color: black!important;
124}
125
126.clicky {
127 position: relative;
128 display: block;
129 width: Calc(100% - 10px);
130 margin-bottom: 5px;
131 overflow-x: hidden;
132 overflow-y: hidden;
133 padding: 5px;
134 border-left: 4px solid #212121;
135}
136
137.clicky:hover {
138 background-color: #EEE;
139}
140
141.clicky .icon {
142 float: left;
143 margin-right: 8px;
144}
145
146.clicky .material-icons {
147 font-size: 40px;
148}
149
150.clicky .title {
151 font-weight: bold;
152}
153
154.clicky .description {
155 color: rgba(0, 0, 0, .54);
156 font-weight: 400;
157}
158
159main .actions {
160 margin: 16px 0 16px 16px;
161 float: right;
162}
163
164.mdl-menu a {
165 text-decoration: none;
166}
167
168.oneline {
169 overflow: hidden;
170 white-space: nowrap;
171 text-overflow: ellipsis;
172}
173
174.icon-text {
175 font-size: 14px!important;
176 vertical-align: middle;
177}
178
179.pagination {
180 margin: 16px 0;
181}
182
183.pagination .page {
184 padding: 0 4px;
185}
186
187.mdl-button .material-icons {
188 vertical-align: middle;
189}
190
191[data-dyndialog-href] {
192 cursor: pointer;
193}
194
195.mdl-dialog__actions .mdl-button.mdl-button--icon {
196 height: 32px!important;
197 margin-top: 2px;
198}
199
200
201.mdl-layout__drawer>span.mdl-layout-title {
202 line-height: 20px!important;
203 margin-top: 22px;
204}
205
206body.dark-background header, body.dark-background header .material-icons {
207 color: white!important;
208}
209
210.mdl-layout__drawer .logo {
211 max-height: 32px;
212}
213
214option:disabled {
215 color: graytext!important;
216}
217
218.subtitle {
219 display: inline-block;
220 padding-top: 8px;
221 padding-left: 40px;
222 padding-right: 40px;
223}
224
225.help-btn--top-right {
226 float: right;
227 margin: 16px 0;
228}
229
230.help-btn--top-right.help-btn--top-right-margin {
231 margin: 16px;
232}
233
234.mdl-button .material-icons, .mdl-button span {
235 vertical-align: middle;
236}
237
238/* Multiselect custom element stylings */
239.mdl-custom-multiselect__item {
240 line-height: normal;
241 height: auto;
242 padding: 0;
243}
244
245.mdl-custom-multiselect__item .mdl-checkbox {
246 height: auto;
247 padding: 4px 16px 4px 40px;
248}
249
250.mdl-custom-multiselect__item .mdl-checkbox__focus-helper, .mdl-custom-multiselect__item .mdl-checkbox__box-outline {
251 top: Calc(3px + 4px);
252 left: 16px;
253}
254
255.mdl-custom-multiselect__item {
256 line-height: normal;
257 height: auto;
258 padding: 0;
259}
260
261.mdl-custom-multiselect__item, .mdl-custom-multiselect__item .mdl-checkbox {
262 cursor: pointer!important;
263}
264
265.mdl-custom-selectfield__select {
266 user-select: none;
267}
268
269/* mdlext-selectfield color fix */
270.mdlext-selectfield__label::after {
271 background-color: var(--material-green);
272}
273
274.mdlext-selectfield.is-focused .mdlext-selectfield__label {
275 color: var(--material-green)!important;
276}
277
278/* Date-picker polyfill fixes */
279dialog {
280 z-index: 10;
281}
282
283/* Limit change */
284.limit-change-container {
285 margin: 4px 0;
286 padding: 4px 0 4px 8px;
287 border-left: 2px solid #212121;
288}
289
290/* Left actions above table */
291.left-actions {
292 position: sticky;
293 z-index: 10;
294 background: white;
295 top: 0;
296 padding: 8px 0;
297 border-top: 1px solid rgba(0,0,0,.12);
298 border-bottom: 1px solid rgba(0,0,0,.12);
299}
300
301.highlighted {
302 font-weight: 500;
303}
304
305@media (max-width: 700px) {
306 .main {
307 width: Calc(100% - 40px);
308 }
309}
310
311@media screen and (max-width: 1024px) {
312 .mdl-layout__drawer>span.mdl-layout-title {
313 margin-top: 18px;
314 }
315
316 .subtitle {
317 padding-left: 16px;
318 padding-right: 16px;
319 }
320}