style.scss 22.4 KB
Newer Older
1
2
@charset 'utf-8';
@import 'variables.scss';
ransome1's avatar
ransome1 committed
3
@font-face {
4
5
6
  font-family: 'FreeSans';
  src: url('../fonts/FreeSans.otf') format('opentype');
  src: url('../fonts/FreeSans.ttf') format('truetype');
ransome1's avatar
ransome1 committed
7
8
}
@font-face {
9
10
11
  font-family: 'FreeSansBold';
  src: url('../fonts/FreeSansBold.otf') format('opentype');
  src: url('../fonts/FreeSansBold.ttf') format('truetype');
ransome1's avatar
ransome1 committed
12
13
14
15
16
}
html {
  height: 100%;
}
body {
17
  font-size: 16px;
ransome1's avatar
ransome1 committed
18
19
20
21
22
23
24
  height: 100%;
  margin: auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
button, button:focus, button:active, button:active, button:after, button::before, button:active:after, .button, .button-is-white {
25
26
  border: none !important;
  box-shadow: none !important;
ransome1's avatar
ransome1 committed
27
}
ransome1's avatar
ransome1 committed
28
29
30
.button i {
  color: $has-text-link;
}
ransome1's avatar
ransome1 committed
31
.is-hidden {
32
  display: none !important;
ransome1's avatar
ransome1 committed
33
34
35
}
.button.is-outlined {
  background: transparent;
36
  border: 1px solid $mid-grey !important;
ransome1's avatar
ransome1 committed
37
38
39
  color: $dark-grey;
}
.button.is-outlined:hover {
40
  border: 1px solid $mid-grey !important;
ransome1's avatar
ransome1 committed
41
42
  color: $dark-grey;
}
ransome1's avatar
ransome1 committed
43
.button.is-link i {
ransome1's avatar
ransome1 committed
44
45
46
47
48
49
50
51
  color: white;
}
table {
  width: 100%;
  border-collapse:separate;
  margin-bottom: 2em;
  tr {
    th {
52
      padding: .1em 0 !important;
ransome1's avatar
ransome1 committed
53
      font-size: 1.2em;
54
      font-family: 'FreeSansBold';
ransome1's avatar
ransome1 committed
55
56
57
    }
    td {
      border: none;
58
      padding: .5em 2em .5em 0 !important;
ransome1's avatar
ransome1 committed
59
60
61
62
63
64
65
66
67
68
69
70
71
72
    }
  }
}
table.files {
  margin: 0;
  tr {
    td {
      vertical-align: middle;
    }
    td:first-child {
      width: 3em;
    }
    td:last-child {
      cursor: pointer;
73
74
75
      i {
        color: $has-text-link;
      }
ransome1's avatar
ransome1 committed
76
77
78
79
80
81
82
83
84
85
86
87
88
    }
  }
}
body::-webkit-scrollbar {
  display: none;
}
:focus,
:focus-visible {
  outline: none;
  box-shadow: none;
}
button:focus-visible,
a:focus-visible {
89
  outline: 2px solid $has-text-link !important;
ransome1's avatar
ransome1 committed
90
}
91
input[type='search']::-webkit-search-cancel-button {
ransome1's avatar
ransome1 committed
92
93
94
95
96
  -webkit-appearance: none;
  height: 1.15em;
  width: 1.15em;
  border-radius: 30em;
  background-color: $dark-grey;
97
98
  -webkit-mask-image: url('../img/svg/times-circle.svg');
  mask-image: url('../img/svg/times-circle.svg');
ransome1's avatar
ransome1 committed
99
100
101
102
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
}
103
input[type='search']:focus::-webkit-search-cancel-button {
ransome1's avatar
ransome1 committed
104
105
106
107
108
109
  opacity: .8;
  pointer-events: all;
}
input:focus,
select:focus,
input.is-focused,
110
input[type='search']:focus,
ransome1's avatar
ransome1 committed
111
112
textarea:focus,
textarea.is-focused,
113
textarea[type='search']:focus {
ransome1's avatar
ransome1 committed
114
  border: none;
115
  box-shadow: 0 0 0 2px $has-text-link !important;
ransome1's avatar
ransome1 committed
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
  outline: none;
}
input,
input::placeholder,
select {
  width: auto;
  font-size: 1em;
  color: $has-text-link;
  box-shadow: none;
  background: transparent;
}
input[type=number] {
  text-align: center;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
134
input[type='checkbox']:focus {
ransome1's avatar
ransome1 committed
135
  outline: none;
136
  box-shadow: none !important;
ransome1's avatar
ransome1 committed
137
}
138
input[type='range'] {
139
140
141
142
143
144
  -webkit-appearance: none;
  height: .25em;
  background: $dark-grey;
  border-radius: 10px;
  outline: none;
}
ransome1's avatar
ransome1 committed
145
146
.title,
strong {
147
148
  font-family: 'FreeSansBold';
  font-weight: normal !important;
ransome1's avatar
ransome1 committed
149
}
150
code, pre {
151
152
153
  font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace !important;
  background-color: $light-grey !important;
  color: inherit !important;
ransome1's avatar
ransome1 committed
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
}
nav {
  width: auto;
  height: 100%;
  float: left;
  position: relative;
  background: $almost-white;
  ul {
    width: 5em;
    height: 100%;
    float: left;
  	list-style-type: none;
  	margin: 0;
  	padding: 0;
    li a {
      width: 5em;
      height: 5em;
      display: block;
      color: $dark-grey;
    	cursor: pointer;
    	line-height: 5em;
    	text-align: center;
    	border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    li a:focus {
      background: $light-grey;
      outline-style: none;
    }
    li:hover,
    li.is-highlighted {
      background: $light-grey;
    }
    li#navBtnFilter {
      display: none;
    }
    li#navBtnFilter.is-active {
      display: block;
    }
    li.logo {
      background: $dark-grey;
      color: white;
      font-size: 1em;
      font-family: FreeSansBold;
      line-height: 5em;
      text-align: center;
      cursor: default;
    }
    li span.alert {
      position: absolute;
      top: 13%;
      right: 35%;
    }
  }
  ul:nth-child(2) {
    height: auto;
    position: absolute;
    bottom: 0;
    left: 0;
  }
}
ransome1's avatar
ransome1 committed
214
.contentContainer {
ransome1's avatar
ransome1 committed
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
  height: 80%;
}
#recurrencePicker {
  position: relative;
  #recurrencePickerInput {
    cursor: pointer;
  }
  .card {
    width: auto;
    display: none;
    position: fixed;
    .content {
      margin: 0;
      padding: 1em;
      display: flex;
      align-items: center;
      div {
        width: auto;
        float: left;
        text-align: center;
        padding: 0 .5em;
      }
      div.options {
        text-align: left;
      }
      #recurrencePickerDecrease,
      #recurrencePickerIncrease,
      #recurrencePickerSpinner {
        font-size: 1.25em;
        padding: .5em;
      }
      #recurrencePickerSpinner {
        width: 2em;
      }
    }
    label {
251
      display: block;
ransome1's avatar
ransome1 committed
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
      padding: 0;
      margin: .25em 0;
    }
  }
  .card.is-active {
    display: block;
  }
}
#recurrencePicker.is-active {
  display: block;
}
#errorContainer {
  display: none;
  p {
    margin: .1em 0;
  }
ransome1's avatar
ransome1 committed
268
  .button {
ransome1's avatar
ransome1 committed
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
    color: white;
  }
}
#errorContainer.is-active {
  display: block;
}
#drawerContainer {
  width: var(--resizeable-width);
  min-width: var(--min-width);
  max-width: var(--max-width);
  --resizeable-width: 34em;
  height: 100%;
  float: left;
  display: none;
  /* HANDLE FOR DRAGGING */
  /* https://spin.atomicobject.com/2019/11/21/creating-a-resizable-html-element/ */
  #handle {
    position: absolute;
287
    right: -1em;
ransome1's avatar
ransome1 committed
288
289
290
291
292
293
294
    top: 0;
    height: 100%;
    width: 1em;
    background-color: transparent;
    z-index: 1;
  }
  #handle::after {
295
    content: '';
ransome1's avatar
ransome1 committed
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
    width: 1em;
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: transparent;
    cursor: ew-resize;
    z-index: 2;
  }
  a.drawerClose {
    width: 2.5em;
    height: 2.5em;
    display: none;
    line-height: 2.5em;
    text-align: center;
    font-size: 1.25em;
    position: absolute;
    right: -0.75em;
    top: 50% - 2.5%;
    z-index: 30;
    background: $light-grey;
    border-radius: 50%;
    cursor: pointer;
  }
  .drawer {
    width: 100%;
    height: 100%;
    float: left;
323
    display: none !important;
ransome1's avatar
ransome1 committed
324
325
326
327
328
329
330
331
332
333
334
335
336
337
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2em;
    background: $light-grey;
    .button {
      margin: 0 .5rem .5rem 0;
      span.tag {
        font-family: FreeSansBold;
        position: absolute;
        right: -.75em;
        top: -.75em;
        z-index: 35;
      }
    }
338
    .is-greyed-out {
339
      filter: opacity(75%) grayscale(100%);
340
341
    }
    .button.is-greyed-out {
342
      cursor: not-allowed;
343
    }
ransome1's avatar
ransome1 committed
344
345
346
347
348
    h4.is-4 {
      font-size: 1.35em;
      color: $dark-grey;
      font-family: FreeSansBold;
      margin-bottom: 1.5em;
349
350
    }
    h4.is-4.clickable {
ransome1's avatar
ransome1 committed
351
      cursor: pointer;
ransome1's avatar
ransome1 committed
352
353
354
      i {
        color: $has-text-link;
      }
ransome1's avatar
ransome1 committed
355
356
357
358
359
360
361
362
363
364
365
366
367
    }
    .dropdown-item {
      width: 100%;
      padding: 0;
      margin: 0 0 1.5em 0;
    }
    table tr td:nth-child(odd) {
      width: auto;
      vertical-align: middle;
    }
    table tr td:nth-child(even) {
      width: 35%;
      text-align: center;
368
      padding-right: 0 !important;
ransome1's avatar
ransome1 committed
369
370
371
    }
  }
  .drawer.is-active {
372
    display: block !important;
ransome1's avatar
ransome1 committed
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
  }
}
#drawerContainer:hover {
  a.drawerClose {
    display: inline-block;
  }
}
#drawerContainer.is-active {
  display: block;
}
#zoomStatus {
  padding: 0 .55em;
}
#zoomUndo {
  cursor: pointer;
}
ransome1's avatar
ransome1 committed
389
#datePickerInput {
ransome1's avatar
ransome1 committed
390
391
392
393
394
395
396
397
398
399
400
401
402
403
  cursor: pointer;
}
#todoTableSearchContainer {
  width: 100%;
  display: none;
  padding: 0 1.5em;
  background: white;
  position: sticky;
  top: 0;
  z-index: 45;
  .icon.is-left {
    top: .65em;
    left: .65em;
  }
404
405
406
407
  .icon.is-left i,
  .icon.is-right i {
    color: $mid-grey;
  }
ransome1's avatar
ransome1 committed
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
}
#todoTableSearchContainer.is-active {
  display: block;
}
#todoTable {
  width: 100%;
  float: left;
  display: none;
  padding: 0 2.5em 1.5em 2.5em;
  #resultStats {
    width: 100%;
    display: none;
    text-align: center;
    padding: 0;
    white-space: nowrap;
  }
  #resultStats.is-active {
    display: block;
  }
  #todoTableContainer {
    width: 100%;
    float: left;
  }
  .flex-table {
    position: relative;
    display: flex;
    flex-flow: row wrap;
    border-bottom: solid 1px $light-grey;
  }
  .flex-table:last-child {
    border: none;
  }
  .flex-table#previousItem {
    -webkit-transition: background-color 0.5s ease-out;
    -moz-transition: background-color 0.5s ease-out;
    -o-transition: background-color 0.5s ease-out;
    transition: background-color 0.5s ease-out;
  }
  .flex-table#previousItem.is-highlighted {
    background-color: $almost-white;
  }
  .flex-table.group {
    margin-top: .5em;
    border: none;
    font-family: FreeSansBold;
    .button {
      cursor: default;
      height: auto;
      line-height: auto;
      font-size: 1.2em;
      padding: 0 .4em;
    }
  }
  .flex-table.group.due {
    .button {
      padding: 0;
      background: transparent;
    }
  }
  .flex-table {
    display: flex;
    .flex-row {
      padding: .75em 0;
      margin-right: 1em;
      height: auto;
      line-height: 1.5em;
      .is-white {
        background: none;
      }
      span.tag {
478
        margin: 0 .25em 0 0;
ransome1's avatar
ransome1 committed
479
480
481
482
483
484
485
486
487
488
489
490
491
492
      }
      span.tag.projects {
        background: $sleek-projects-button;
      }
      span.tag.contexts {
        background: $sleek-contexts-button;
      }
    }
    .flex-row.checkbox a {
      flex: 0 0 1em;
      font-size: 1.25em;
    }
    .flex-row.text {
      width: auto;
493
494
      flex: 1;
      line-height: 1.7em;
ransome1's avatar
ransome1 committed
495
496
      cursor: pointer;
      color: $dark-grey;
497
      margin-right: 0;
498
499
500
      .categories {
        margin-right: .5em;
      }
ransome1's avatar
ransome1 committed
501
      .button {
502
        font-size: 1.1em;
ransome1's avatar
ransome1 committed
503
504
        font-family: FreeSansBold;
        height: auto;
505
        padding: 0 .4em;
ransome1's avatar
ransome1 committed
506
507
508
509
510
511
      }
      .priority {
        background: transparent;
        color: darken($mid-grey, 40%);
        margin-right: .5em;
      }
512
513
      .text {
        margin-right: .5em;
514
      }
ransome1's avatar
ransome1 committed
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
    }
    .flex-row.spacer {
      width: .5em;
      background: transparent;
    }
    .flex-row.priority {
      background: $mid-grey;
      flex: 0 0 .5em;
      opacity: .5;
    }
    .flex-row.priority.A,
    .flex-row .priority.A {
      color: #ffe6eb;
      background: $has-text-danger;
    }
    .flex-row.priority.B,
    .flex-row .priority.B {
      color: #fadcd8;
      background: $has-text-attention;
    }
    .flex-row.priority.C,
    .flex-row .priority.C {
      background: $has-text-warning;
    }
    .flex-row .contexts {
      background: $sleek-contexts-button;
    }
    .flex-row .projects {
      background: $sleek-projects-button;
    }
    .flex-row.itemDueDate {
      color: $dark-grey;
      position: relative;
      white-space: nowrap;
549
      margin: 0 .25em 0 0;
ransome1's avatar
ransome1 committed
550
      text-transform: lowercase;
ransome1's avatar
ransome1 committed
551
      .fa-sort-down {
ransome1's avatar
ransome1 committed
552
        position: absolute;
553
554
        right: 0.2em;
        bottom: 2.25em;
ransome1's avatar
ransome1 committed
555
556
557
558
559
560
        display: none;
      }
      .tags {
        position: absolute;
        top: -1.4em;
        right: -1.5em;
561
        z-index: 50;
ransome1's avatar
ransome1 committed
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
        display: none;
        .tag {
          margin: 0;
        }
        .is-dark {
          background: $dark-grey;
          font-family: FreeSansBold;
        }
      }
    }
    .flex-row.isToday,
    .flex-row.isToday .button {
      color: $has-text-danger;
      .tags .is-dark {
        background: $has-text-danger;
        font-family: FreeSansBold;
      }
    }
    .flex-row.isTomorrow,
    .flex-row.isTomorrow .button {
      color: $has-text-attention;
      .tags .is-dark {
        background: $has-text-attention;
        font-family: FreeSansBold;
      }
    }
    .flex-row.isPast,
    .flex-row.isPast .button {
      color: $has-text-danger;
      .tags .is-dark {
        background: $has-text-danger;
        font-family: FreeSansBold;
      }
    }
    .flex-row:hover,
    .flex-row:focus {
      .tags {
        display: block;
      }
ransome1's avatar
ransome1 committed
601
      i.fa-sort-down {
ransome1's avatar
ransome1 committed
602
603
604
605
606
        display: block;
      }
    }
  }
  .flex-table.completed {
ransome1's avatar
ransome1 committed
607
    .flex-row {
608
      filter: opacity(50%) grayscale(100%);
ransome1's avatar
ransome1 committed
609
    }
ransome1's avatar
ransome1 committed
610
611
612
613
614
  }
}
#todoTable.is-active {
  display: block;
}
615
616
617
618
619
620

#modalForm[open]:not(:focus-within) {
  background-color: rgb(255, 255, 254);
  transition: background-color 0.01s;
}

ransome1's avatar
ransome1 committed
621
622
623
624
625
626
627
628
629
630
631
#modalForm {
  textarea#modalFormInput {
    min-height: 5.5em;
    overflow: hidden;
    resize: none;
  }
  #modalFormInputHelp,
  #modalFormInputResize {
    z-index: 60;
    cursor: pointer;
    pointer-events: all;
ransome1's avatar
ransome1 committed
632
633
634
    i {
      color: $has-text-link;
    }
ransome1's avatar
ransome1 committed
635
636
  }
  .card-header-title {
637
    font-family: 'FreeSansBold';
ransome1's avatar
ransome1 committed
638
639
640
641
642
643
644
645
  }
  .message {
    display: none;
    margin: 1em 0;
  }
  .is-active {
    display: block;
  }
ransome1's avatar
ransome1 committed
646
647
648
  .icon {
    color: $has-text-link;
  }
ransome1's avatar
ransome1 committed
649
650
651
652
653
654
655
656
  .field {
    width: auto;
    float: left;
    margin: .5em .5em .5em 0;
    input,
    input::placeholder,
    select,
    select::placeholder {
657
      background: none !important;
ransome1's avatar
ransome1 committed
658
      border: none;
659
      color: $has-text-link !important;
ransome1's avatar
ransome1 committed
660
661
662
663
664
665
666
667
668
669
670
671
672
673
    }
  }
  #btnItemStatus {
    display: none;
    text-align: center;
  }
  #btnItemStatus.is-active {
    display: block;
  }
  button {
    font-size: 1em;
    background: none;
    color: $has-text-link;
    border: none;
674
    border-right: 1px solid $light-grey !important;
ransome1's avatar
ransome1 committed
675
676
677
678
679
680
681
682
    cursor: pointer;
  }
  .card-footer {
    clear: both;
  }
}
#autoCompleteContainer {
  height: auto;
683
  position: fixed;
ransome1's avatar
ransome1 committed
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
  display: none;
  z-index: 50;
  opacity: .90;
  padding: .25em .5em;
  .dropdown-item {
    margin: 0;
    .button {
      margin: 0 .5rem .5rem 0;
    }
  }
  h4.title {
    font-size: 1.3em;
    margin: .7em 0;
  }
}
#autoCompleteContainer.card {
  height: auto;
  overflow: auto;
}
#autoCompleteContainer.is-active {
  display: block;
}
706
707
708
709
710
711
712
713
714
715
716
#todoContext {
  display: none;
  position: fixed;
  z-index: 60;
  a {
    color: $has-text-link;
  }
}
#todoContext.is-active {
  display: block;
}
717
718
719
720
#filterMenu {
  display: none;
  position: fixed;
  z-index: 60;
721

722
723
724
725
726
727
728
  #filterMenuDelete {
    color: $has-text-danger;
  }
}
#filterMenu.is-active {
  display: block;
}
ransome1's avatar
ransome1 committed
729
730
.contentContainer {
  width: 100%;
ransome1's avatar
ransome1 committed
731
  height: 90%;
ransome1's avatar
ransome1 committed
732
733
734
735
736
737
738
739
740
741
742
  text-align: center;
  display: none;
  flex-direction: column;
  justify-content:center;
  p {
    margin: .5em;
  }
  .fa-file-alt {
    font-size: 6em;
  }
  .title.is-1 {
743
    font-family: 'FreeSansBold';
ransome1's avatar
ransome1 committed
744
745
746
747
748
749
750
751
752
753
754
    margin: .5em 0;
  }
  .subtitle {
    margin: .5em 0;
  }
  .btnOnboarding {
    font-size: 1em;
    margin: 0 1em;
    padding: .25em;
    text-decoration: none;
  }
ransome1's avatar
ransome1 committed
755
  .btnOnboarding i {
ransome1's avatar
ransome1 committed
756
757
758
759
760
761
762
763
764
    font-size: 5em;
    margin: .25em 0;
  }
}
.contentContainer.is-active {
  display: flex;
}
.columns {
  height: 100%;
765
  margin: 0 !important;
ransome1's avatar
ransome1 committed
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
  .column {
    position: relative;
    .is-right {
      float: right;
    }
  }
  .column.content {
    overflow-y: auto;
    overflow-x: hidden;
  }
}
.contexts {
  .button {
    background: $sleek-contexts-button;
    color: darken($sleek-contexts-button, 60%);
    span.tag {
      color: white;
      background: darken($sleek-contexts-button, 50%);
    }
  }
ransome1's avatar
ransome1 committed
786
  .button.is-dark, .button.is-dark:hover, .button.is-dark.is-hovered  {
ransome1's avatar
ransome1 committed
787
788
789
790
791
792
793
794
795
796
797
798
799
    background: darken($sleek-contexts-button, 65%);
    color: white;
  }
}
.projects {
  .button {
    background: $sleek-projects-button;
    color: darken($sleek-projects-button, 60%);
    span.tag {
      color: white;
      background: darken($sleek-projects-button, 50%);
    }
  }
ransome1's avatar
ransome1 committed
800
  .button.is-dark, .button.is-dark:hover, .button.is-dark.is-hovered {
ransome1's avatar
ransome1 committed
801
802
803
804
805
    background: darken($sleek-projects-button, 65%);
    color: white;
  }
}
.priority {
ransome1's avatar
ransome1 committed
806
  .button, .button:hover {
ransome1's avatar
ransome1 committed
807
808
809
810
811
812
813
814
815
816
    font-size: 1.35em;
    font-family: FreeSansBold;
    background: $mid-grey;
    color: darken($mid-grey, 40%);
    padding: .25em .7em;
    height: auto;
    span.tag {
      color: inherit;
    }
  }
ransome1's avatar
ransome1 committed
817
818
819
820
  .button.is-dark span.tag {
    background: darken($mid-grey, 50%);
  }
  .button.is-dark, .button.is-dark:hover, .button.is-dark.is-hovered {
ransome1's avatar
ransome1 committed
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
    background: darken($mid-grey, 35%);
    color: white;
  }
  .button.A {
    background: $has-text-danger;
    color: lighten($has-text-danger, 35%);
    span.tag {
      color: $has-text-danger;
      background: lighten($has-text-danger, 35%);
    }
  }
  .button.A.is-dark {
    background: darken($has-text-danger, 20%);
    span.tag {
      color: darken($has-text-danger, 20%);
    }
  }
  .button.B {
    color: lighten($has-text-attention, 35%);
    background: $has-text-attention;
    span.tag {
      color: $has-text-attention;
      background: lighten($has-text-attention, 30%);
    }
  }
  .button.B.is-dark {
    background: darken($has-text-attention, 20%);
    span.tag {
      color: darken($has-text-attention, 20%);
    }
  }
  .button.C {
    color: lighten($has-text-warning, 35%);
    background: $has-text-warning;
    span.tag {
      color: $has-text-warning;
      background: lighten($has-text-warning, 30%);
    }
  }
  .button.C.is-dark {
    background: darken($has-text-warning, 20%);
    span.tag {
      color: darken($has-text-warning, 20%);
    }
  }
}
.toggle {
  margin: 0;
  text-align: center;
  .switch {
    position: relative;
    display: inline-block;
    width: 3.5em;
    height: 1.93em;
    .itemText {
      float: left;
    }
    input {
     opacity: 1;
     width: 3.5em;
     height: 1.9375em;
     background: none;
    }
    input:checked + .slider {
     background-color: $dark-grey;
    }
    input:focus + .slider {
     box-shadow: 0 0 1px $dark-grey;
    }
    input:focus-visible {
      outline: 2px solid $has-text-link;
    }
    input:checked + .slider:before {
     -webkit-transform: translateX(1.5625em);
     -ms-transform: translateX(1.5625em);
     transform: translateX(1.5625em);
    }
    .slider {
     position: absolute;
     cursor: pointer;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background-color: $mid-grey;
     -webkit-transition: .4s;
     transition: .4s;
    }
    .slider:before {
     position: absolute;
911
     content: '';
ransome1's avatar
ransome1 committed
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
     height: 1.5625em;
     width: 1.5625em;
     left: 0.1875em;
     bottom: 0.1875em;
     background-color: white;
     -webkit-transition: .4s;
     transition: .4s;
    }
    .slider.round {
     border-radius: 1.875em;
    }
    .slider.round:before {
     border-radius: 50%;
    }
  }
}
.modal.content {
  z-index: 55;
930
  justify-content: start !important;
ransome1's avatar
ransome1 committed
931
  padding-top: 2.5em;
932
  margin: 0 !important;
ransome1's avatar
ransome1 committed
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
  .title.is-4 {
    font-size: 1.2em;
    margin:1em 0 0.5em 0;
  }
  .title.is-3 {
    font-size: 1.75em;
  }
  p {
    display: block;
    margin: 1em 0;
  }
  img {
    width: 100%;
    margin: 0 auto;
    display: block;
  }
  ul {
    margin-left: 0;
    border: none;
  }
953
954
  .delete,
  .modal-close {
955
956
    background: $has-text-link !important;
    color: $has-text-link !important;
ransome1's avatar
ransome1 committed
957
    z-index: 60;
958
    position: absolute !important;
ransome1's avatar
ransome1 committed
959
960
961
  }
  .modal-card {
    z-index: 60;
ransome1's avatar
ransome1 committed
962
    background: $light-grey;
963
964
    padding: 0 2em 2em 2em;
    max-height: calc(100vh - 5em);
965
    border-radius: 0.25rem;
ransome1's avatar
ransome1 committed
966
967
968
969
970
971
972
973
974
975
976
977
  }
  .modal-background {
    z-index: 55;
  }
  .modal-card-body {
    background: none;
    display: none;
    ul li a {
      text-decoration: underline;
    }
    table.settings tr td {
      position: relative;
978

ransome1's avatar
ransome1 committed
979
980
981
982
983
984
985
986
987
988
      .alert {
        position: absolute;
        top: 1em;
        left: -.8em;
      }
    }
    table.settings tr td:first-child {
      padding-right: 3em;
    }
    table.settings tr td:last-child {
989
      width: 25%;
ransome1's avatar
ransome1 committed
990
    }
991
992
993
994
995
996
997
998
999
1000
    table.shortcuts {
      th:nth-child(2),
      th:nth-child(3) {
        width: 13em;
      }
      tr:last-child {
        border: none;
      }
      td {
        .tag {