aboutsummaryrefslogtreecommitdiff
path: root/gui/default/assets/css/overrides.css
blob: b773cf00060a810684733031836b665a8779f2f5 (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
/*
// Copyright (C) 2014 The Syncthing Authors.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.

*/

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    overflow-y: scroll;
}

h1, h2, h3, h4, h5 {
    font-family: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.25;
}

ul+h5 {
    margin-top: 1.5em;
}

.content {
    margin-bottom: 50px;
}

.panel-progress {
    height: 3px;
    left: 0;
    position: absolute;
    top: 0;
    display: block;
}

.checkbox {
    margin-top: 0px;
}

.checkbox input[type="checkbox"], .radio input[type="radio"] {
    float: none; /* issue #1197 */
}

#advancedAccordion input.form-control[type="checkbox"] {
    box-shadow: none;
    margin: 0;
    width: auto;
}

.popover {
    max-width: none;
    min-width: 250px;
}

.tooltip {
    word-wrap:break-word;
}

.text-monospace {
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

.table-condensed>thead>tr>th, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>th, .table-condensed>thead>tr>td, .table-condensed>tbody>tr>td, .table-condensed>tfoot>tr>td {
    border-top: none;
}

.logo {
    margin: 0;
    padding: 0;
    top: -5px;
    position: relative;
}

.list-no-bullet {
    list-style-type: none;
}

.li-column {
    display: inline-block;
    min-width: 7em;
    margin-right: 1em;
    padding: 1px 4px;
    margin: 2px 2px;
}
.li-column span.data {
    margin-left: 0.5em;
    min-width: 10em;
    text-align: right;
    display: inline-block;
}

.ng-cloak {
    display: none !important;
}

.table th {
    white-space: nowrap;
    font-weight: 400;
}

.table td {
    /*padding-left: 20px !important;*/
}

.table td.small-data {
    white-space: nowrap;
}

/* Removing text decoration on anchor link hover pull request: #4135 */
.table td.small-data span a:hover {
    text-decoration: none;
}

table.table-condensed {
    table-layout: fixed;
}

table.table-dynamic {
    word-wrap: break-word;
    word-break: break-all;
}

table.table-condensed td,
table.table-condensed th {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

table.table-condensed td.no-overflow-ellipse {
    white-space: normal;
}

table.table-auto {
	table-layout: auto;
}

table.table-auto th {
	width: 1px;
}

table.table-auto td {
    max-width: 0px;
}

/* Tag name is needed for selector to be specific enough to override Bootstrap style */
input[type="checkbox"].extended-attributes-filter-rule-checkbox {
    margin-top: 13px;
}

/* Remote Devices connection-quality indicator */
.reception-0 {
    background: url('../../vendor/bootstrap/fonts/reception-0.svg') no-repeat;
}

.reception-1 {
    background: url('../../vendor/bootstrap/fonts/reception-1.svg') no-repeat;
}

.reception-2 {
    background: url('../../vendor/bootstrap/fonts/reception-2.svg') no-repeat;
}

.reception-3 {
    background: url('../../vendor/bootstrap/fonts/reception-3.svg') no-repeat;
}

.reception-4 {
    background: url('../../vendor/bootstrap/fonts/reception-4.svg') no-repeat;
}

.reception {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -10%;
    background-size: contain;
    /* Simulate same width as Fork Awesome icons. */
    margin-left: .14285715em;
    margin-right: .14285715em;
}

.inline-icon {
    display: inline-block;
}

/* Wrap long file paths to prevent text overflow. See issue #6268. */
.word-break-all {
    word-break: break-all;
}

.folder-advanced {
    padding: 1rem;
    margin-bottom: 15px;
}

.folder-advanced-toggle {
    cursor: pointer;
}
.folder-advanced-toggle .collapse,
.folder-advanced-toggle.collapsed .expand {
    display: inline-block;
}

.folder-advanced-toggle.collapsed .collapse,
.folder-advanced-toggle .expand{
    display: none;
}

li[language-select] > .dropdown-menu {
    column-count: 2;
    column-gap: 0;
    width: 450px;
}

li[language-select] > .dropdown-menu > li > a {
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav>li{
    float: left;
}
.navbar-right {
    /* to align with panel */
    padding-right: 15px;
    float: right;
}

.panel-body .table-condensed {
    margin-bottom: 0;
}

.dl-horizontal.dl-narrow dt {
    width: 40px;
}

.dl-horizontal.dl-narrow dd {
    margin-left: 60px;
}

/**
 * Panel, Model and Accordion Title bars
 */

.panel-icon {
    float: left;
    margin-right: 15px;
    margin-top: 0.125em;
    margin-bottom: 0.125em;
    line-height: 1;
}

.modal-title .panel-icon {
    margin-top: 0.25em;
    margin-bottom: 0.25em;
}

button.panel-heading {
    display: block;
    position: relative;
    width: 100%;
    text-align: left;
    border-top-width: 0;
    border-left-width: 0;
    border-right-width: 0;
    border-radius: 0 !important;
}

.panel-heading .panel-title-text {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.panel-heading .panel-status {
    margin-left:15px;
}

identicon {
    width: 1em;
    height: 1em;
    line-height: 1;
}

.identicon {
    width: 1em;
    height: 1em;
    shape-rendering: crispEdges;
}

a.toggler {
    color: inherit;
}
a.toggler:hover {
    border-bottom: 1px dashed;
    text-decoration: none;
}

/**
 * Panel padding decrease
 */

.panel-collapse .panel-body {
    padding: 5px;
}

/**
 * Progress bars with centered text
 */

.progress {
    margin-bottom: 0px;
    position: relative;
}

.progress span.frontal {
    text-align: center;
    position: absolute;
    display: block;
    width: 100%;
}

.three-columns {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
}

.two-columns {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
}

ul.three-columns li, ul.two-columns li {
    padding-left: 0.5em;
    text-indent: -0.5em;
}

.navbar-fixed-bottom {
    z-index: 980;
}

/*
 * Restore Versions tweaks
 */

#restoreTree-container {
    overflow-y: scroll;
    resize: vertical;
    /* Limit height to prevent vertical screen overflow. */
    max-height: calc(100vh - 390px);
    /* Always fit at least one folder with dropdown open. */
    min-height: 136px;
}
@media (min-width: 768px) {
    #restoreTree-container {
        max-height: calc(100vh - 401px);
    }
}
@media (min-width: 992px) {
    #restoreTree-container {
        max-height: calc(100vh - 333px);
    }
}

/* Ignore fixed height when manually resized. */
#restoreTree-container[style*="height"] {
    max-height: none;
}

/* Remove table outline as rows have own focus style already. */
#restoreTree:focus {
    outline: 0;
}

/* Align dropdown with title first line. */
#restoreTree td + td {
    padding-top: 4px;
    vertical-align: top;
}

/* Reduce space between toggle and menu on mobile. */
#restoreTree .dropdown-toggle {
    margin-bottom: 0;
}

/* Change direction to remain on screen on mobile. */
#restoreTree .dropdown-menu {
    left: auto;
    right: 0;
}

/* Ensure maximum space for filtering and date range. */
#restoreVersions .form-group,
#restoreVersions .form-control {
    width: 100%;
}

@media (max-width: 768px) {
    /* Layout after the normal contents, as this is when the footer switches
    to a vertical layout. */

    body {
        padding-bottom: 0px;
    }

    .navbar-brand {
        margin: 3.25px -15px;
    }

    .navbar-nav .open .dropdown-menu {
        position: absolute;
        left: auto;
        right: 0;
        background-color: #ffffff;
        border: 1px solid #cccccc;
        border: 1px solid rgba(0, 0, 0, 0.15);
        -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
        border-radius: 2px;
    }

    li[language-select] {
        position: static !important;
    }

    li[language-select] > .dropdown-menu {
        column-count: auto;
        margin-left: 15px;
        margin-right: 15px;
        margin-top: -12px !important;
        max-width: 450px;
        overflow-y: scroll;
        /* height of 5.5 elements + negative margin-top */
        height: 276px;
    }

    .two-columns {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

@media (max-width:479px) {

    nav .dropdown-toggle {
        font-size: 1em;
    }

    .navbar-nav .open .dropdown-menu > li > a {
        padding: 12px 15px 12px 25px;
    }
}

.tab-content {
    padding-top: 10px;
}

@media (max-width: 419px) {
    /* The selectors are build to target only the content of folder and device
       panels as it would "destroy" e.g. out of sync or recent changes listings.
       The !important is needed to override .visible-xs that sets display to a
       specific table element instead of block. */
    div[id^='device-'].panel-collapse table,
    div[id^='folder-'].panel-collapse table,
    div[id^='device-'].panel-collapse tbody,
    div[id^='folder-'].panel-collapse tbody,
    div[id^='device-'].panel-collapse tr,
    div[id^='folder-'].panel-collapse tr {
        display: block !important;
    }
    div[id^='device-'].panel-collapse th,
    div[id^='folder-'].panel-collapse th,
    div[id^='device-'].panel-collapse td,
    div[id^='folder-'].panel-collapse td {
        display: block;
        max-width: 100%;
        width: 100%;
    }

    /* All buttons, except panel headings, get bottom margin, as they
       won't fit beside each other anymore. Reduce footer padding to
       compensate for the margin. */
    .btn:not(.panel-heading),
    .btn:not(.panel-heading) + .btn:not(.panel-heading) {
        margin-bottom: 10px;
    }
    .panel-footer {
        padding-bottom: 0;
    }
    .modal-footer {
        padding-bottom: 5px;
    }

    table.table-auto td,
    table.table-auto th,
    table.table-condensed td,
    table.table-condensed th {
        /* for mobile phones to allow linebreaks in long repro folder/shared with
        * columns. */
        white-space: normal;
    }

    /* Move share buttons below device ID on small screens. */
    #shareDeviceIdButtons {
        display: inline-block;
    }
}

.form-horizontal .form-group {
    margin-bottom: 5px;
}

.form-horizontal {
    margin-bottom: 10px;
}

/* Use the same style as Bootstrap uses for disabled <select>. */
.form-control option[disabled] {
    background-color: #eeeeee;
    opacity: 1;
}

.checkbox[disabled] {
    background-color: #eeeeee;
    opacity: 1;
    margin-left: -5px;
    padding-left: 5px;
}

.checkbox[disabled] *, .checkbox[disabled] .help-block {
    color: #999999;
    cursor: not-allowed;
}

/* Make a "well" look more like a readonly text input when grouped with a button */
.input-group .well-sm {
  padding-top: 6px;
  padding-bottom: 6px;
}

/* CJK languages don't use italic at all, hence don't force it on them. */
html[lang|="zh"] i,
html[lang="ja"] i,
html[lang|="ko"] i {
    font-style: normal;
}

.select-on-click {
    -webkit-user-select: all;
    user-select: all;
}