style.scss 23.4 KB
Newer Older
ransome1's avatar
ransome1 committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@charset "utf-8";
@import "variables.scss";
@font-face {
  font-family: "FreeSans";
  src: url("../fonts/FreeSans.otf") format("opentype");
  src: url("../fonts/FreeSans.ttf") format("truetype");
}
@font-face {
  font-family: "FreeSansBold";
  src: url("../fonts/FreeSansBold.otf") format("opentype");
  src: url("../fonts/FreeSansBold.ttf") format("truetype");
}
html {
  height: 100%;
}
body {
17
  font-size: 16px;
ransome1's avatar
ransome1 committed
18
19
20
21
22
23
24
25
26
27
  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 {
  border: none!important;
  box-shadow: none!important;
}
ransome1's avatar
ransome1 committed
28
29
30
.button i {
  color: $has-text-link;
}
ransome1's avatar
ransome1 committed
31
32
33
34
35
36
37
38
39
40
41
42
.is-hidden {
  display: none!important;
}
.button.is-outlined {
  background: transparent;
  border: 1px solid $mid-grey!important;
  color: $dark-grey;
}
.button.is-outlined:hover {
  border: 1px solid $mid-grey!important;
  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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
  color: white;
}
table {
  width: 100%;
  border-collapse:separate;
  margin-bottom: 2em;
  tr {
    th {
      padding: .1em 0!important;
      font-size: 1.2em;
      font-family: "FreeSansBold";
    }
    td {
      border: none;
      padding: .5em 2em .5em 0!important;
    }
  }
}
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
89
90
91
92
93
94
95
96
    }
  }
}
body::-webkit-scrollbar {
  display: none;
}
:focus,
:focus-visible {
  outline: none;
  box-shadow: none;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid $has-text-link!important;
}
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 1.15em;
  width: 1.15em;
  border-radius: 30em;
  background-color: $dark-grey;
ransome1's avatar
ransome1 committed
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
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
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
}
input[type="search"]:focus::-webkit-search-cancel-button {
  opacity: .8;
  pointer-events: all;
}
input:focus,
select:focus,
input.is-focused,
input[type="search"]:focus,
textarea:focus,
textarea.is-focused,
textarea[type="search"]:focus {
  border: none;
  box-shadow: 0 0 0 2px $has-text-link!important;
  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;
}
input[type="checkbox"]:focus {
  outline: none;
  box-shadow: none!important;
}
138
139
140
141
142
143
144
input[type="range"] {
  -webkit-appearance: none;
  height: .25em;
  background: $dark-grey;
  border-radius: 10px;
  outline: none;
}
ransome1's avatar
ransome1 committed
145
146
147
148
149
.title,
strong {
  font-family: "FreeSansBold";
  font-weight: normal!important;
}
150
151
code, pre {
  font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace!important;
ransome1's avatar
ransome1 committed
152
  background-color: $light-grey!important;
ransome1's avatar
ransome1 committed
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
  color: inherit!important;
}
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);
ransome1's avatar
ransome1 committed
177
      /*svg {
ransome1's avatar
ransome1 committed
178
        color: inherit;
ransome1's avatar
ransome1 committed
179
      }*/
ransome1's avatar
ransome1 committed
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
    }
    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
217
.contentContainer {
ransome1's avatar
ransome1 committed
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
  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 {
241
        //width: 8em;
ransome1's avatar
ransome1 committed
242
243
244
245
246
247
248
249
250
251
252
253
254
        text-align: left;
      }
      #recurrencePickerDecrease,
      #recurrencePickerIncrease,
      #recurrencePickerSpinner {
        font-size: 1.25em;
        padding: .5em;
      }
      #recurrencePickerSpinner {
        width: 2em;
      }
    }
    label {
255
      display: block;
ransome1's avatar
ransome1 committed
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
      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
272
  .button {
ransome1's avatar
ransome1 committed
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
    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;
291
    right: -1em;
ransome1's avatar
ransome1 committed
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
    top: 0;
    height: 100%;
    width: 1em;
    background-color: transparent;
    z-index: 1;
  }
  #handle::after {
    content: "";
    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;
ransome1's avatar
ransome1 committed
322
    /*svg {
ransome1's avatar
ransome1 committed
323
      color: $dark-grey;
ransome1's avatar
ransome1 committed
324
    }*/
ransome1's avatar
ransome1 committed
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
  }
  .drawer {
    width: 100%;
    height: 100%;
    float: left;
    display: none!important;
    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;
      }
    }
345
    .is-greyed-out {
346
      filter: opacity(75%) grayscale(100%);
347
348
    }
    .button.is-greyed-out {
349
      cursor: not-allowed;
350
    }
ransome1's avatar
ransome1 committed
351
352
353
354
355
356
    h4.is-4 {
      font-size: 1.35em;
      color: $dark-grey;
      font-family: FreeSansBold;
      margin-bottom: 1.5em;
      cursor: pointer;
ransome1's avatar
ransome1 committed
357
358
359
      i {
        color: $has-text-link;
      }
ransome1's avatar
ransome1 committed
360
361
362
363
364
365
    }
    .dropdown-item {
      width: 100%;
      padding: 0;
      margin: 0 0 1.5em 0;
    }
366
    /*.dropdown-item.is-greyed-out {
ransome1's avatar
ransome1 committed
367
368
      opacity: .75;
      -webkit-filter: grayscale(100%);
369
    }*/
ransome1's avatar
ransome1 committed
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
    /*#btnResetAllFilters {
      display: none;
    }
    #btnResetAllFilters.is-active {
      display: block;
    }*/
    /*.icon.is-left {
      position: absolute;
      top: .75em;
      left: .65em;
    }*/
    /*svg {
      color: $dark-grey;
    }*/
    table tr td:nth-child(odd) {
      width: auto;
      vertical-align: middle;
    }
    table tr td:nth-child(even) {
      width: 35%;
      text-align: center;
      padding-right: 0!important;
    }
  }
  .drawer.is-active {
    display: block!important;
  }
}
#drawerContainer:hover {
  a.drawerClose {
    display: inline-block;
  }
}
#drawerContainer.is-active {
  display: block;
}
#zoomStatus {
  padding: 0 .55em;
}
#zoomUndo {
  cursor: pointer;
}
ransome1's avatar
ransome1 committed
412
#datePickerInput {
ransome1's avatar
ransome1 committed
413
414
415
416
417
418
419
420
421
422
423
424
425
426
  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;
  }
427
428
429
430
  .icon.is-left i,
  .icon.is-right i {
    color: $mid-grey;
  }
ransome1's avatar
ransome1 committed
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
}
#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;
ransome1's avatar
ransome1 committed
476
    /*svg {
ransome1's avatar
ransome1 committed
477
      color: inherit;
ransome1's avatar
ransome1 committed
478
    }*/
ransome1's avatar
ransome1 committed
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
    .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 {
504
        margin: 0 .25em 0 0;
ransome1's avatar
ransome1 committed
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
      }
      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;
      max-width: 88%;
520
521
      flex: 1;
      line-height: 1.7em;
ransome1's avatar
ransome1 committed
522
523
      cursor: pointer;
      color: $dark-grey;
524
525
526
      .categories {
        margin-right: .5em;
      }
ransome1's avatar
ransome1 committed
527
      .button {
528
        font-size: 1.1em;
ransome1's avatar
ransome1 committed
529
530
        font-family: FreeSansBold;
        height: auto;
531
        padding: 0 .4em;
ransome1's avatar
ransome1 committed
532
533
534
535
536
537
      }
      .priority {
        background: transparent;
        color: darken($mid-grey, 40%);
        margin-right: .5em;
      }
538
539
      .text {
        margin-right: .5em;
540
      }
ransome1's avatar
ransome1 committed
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
    }
    .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;
575
      margin: 0 .25em 0 0;
ransome1's avatar
ransome1 committed
576
      text-transform: lowercase;
ransome1's avatar
ransome1 committed
577
      .fa-sort-down {
ransome1's avatar
ransome1 committed
578
        position: absolute;
579
580
        right: 0.2em;
        bottom: 2.25em;
ransome1's avatar
ransome1 committed
581
582
583
584
585
586
        display: none;
      }
      .tags {
        position: absolute;
        top: -1.4em;
        right: -1.5em;
587
        z-index: 50;
ransome1's avatar
ransome1 committed
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
        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;
      }
      svg {
        color: $has-text-attention;
      }
    }
    .flex-row.isPast,
    .flex-row.isPast .button {
      color: $has-text-danger;
      .tags .is-dark {
        background: $has-text-danger;
        font-family: FreeSansBold;
      }
      svg {
        color: inherit;
      }
    }
    .flex-row:hover,
    .flex-row:focus {
      .tags {
        display: block;
      }
ransome1's avatar
ransome1 committed
633
      i.fa-sort-down {
ransome1's avatar
ransome1 committed
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
        display: block;
      }
    }
    .flex-row.todoTableItemMore {
      position: absolute;
      right: 0;
      top: 0;
    }
    .flex-row.todoTableItemMore a {
      color: $has-text-link;
      display: none;
      padding: 0 .5em;
    }
    .flex-row.todoTableItemMore.is-active .dropdown-menu .dropdown-item {
      padding: .75em;
    }
    .flex-row.todoTableItemMore.is-active a,
    .flex-row.todoTableItemMore.is-active .dropdown-menu {
      display: block;
    }
  }
  .flex-table:hover {
    .flex-row.todoTableItemMore a {
      display: block;
    }
  }
  .flex-table.completed {
ransome1's avatar
ransome1 committed
661
    .flex-row {
662
      filter: opacity(50%) grayscale(100%);
ransome1's avatar
ransome1 committed
663
664
665
666
    }
    .flex-row.todoTableItemMore {
      -webkit-filter: none;
    }
ransome1's avatar
ransome1 committed
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
  }
}
#todoTable.is-active {
  display: block;
}
#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
683
684
685
    i {
      color: $has-text-link;
    }
ransome1's avatar
ransome1 committed
686
687
688
689
690
691
692
693
694
695
696
  }
  .card-header-title {
    font-family: "FreeSansBold";
  }
  .message {
    display: none;
    margin: 1em 0;
  }
  .is-active {
    display: block;
  }
ransome1's avatar
ransome1 committed
697
698
699
  .icon {
    color: $has-text-link;
  }
ransome1's avatar
ransome1 committed
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
  .field {
    width: auto;
    float: left;
    margin: .5em .5em .5em 0;
    input,
    input::placeholder,
    select,
    select::placeholder {
      background: none!important;
      border: none;
      color: $has-text-link!important;
    }
  }
  #btnItemStatus {
    display: none;
    text-align: center;
  }
  #btnItemStatus.is-active {
    display: block;
  }
  button {
    font-size: 1em;
    background: none;
    color: $has-text-link;
    border: none;
    border-right: 1px solid $light-grey!important;
    cursor: pointer;
  }
  .card-footer {
    clear: both;
  }
}
#autoCompleteContainer {
  height: auto;
  position: absolute;
  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;
}
757
758
759
760
#filterMenu {
  display: none;
  position: fixed;
  z-index: 60;
761

762
763
764
765
766
767
768
  #filterMenuDelete {
    color: $has-text-danger;
  }
}
#filterMenu.is-active {
  display: block;
}
ransome1's avatar
ransome1 committed
769
770
.contentContainer {
  width: 100%;
ransome1's avatar
ransome1 committed
771
  height: 90%;
ransome1's avatar
ransome1 committed
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
  text-align: center;
  display: none;
  flex-direction: column;
  justify-content:center;
  p {
    margin: .5em;
  }
  .fa-file-alt {
    font-size: 6em;
  }
  .title.is-1 {
    font-family: "FreeSansBold";
    margin: .5em 0;
  }
  .subtitle {
    margin: .5em 0;
  }
  .btnOnboarding {
    font-size: 1em;
    margin: 0 1em;
    padding: .25em;
    text-decoration: none;
  }
ransome1's avatar
ransome1 committed
795
  .btnOnboarding i {
ransome1's avatar
ransome1 committed
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
    font-size: 5em;
    margin: .25em 0;
  }
}
.contentContainer.is-active {
  display: flex;
}
.columns {
  height: 100%;
  margin: 0!important;
  .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
826
  .button.is-dark, .button.is-dark:hover, .button.is-dark.is-hovered  {
ransome1's avatar
ransome1 committed
827
828
829
830
831
832
833
834
835
836
837
838
839
    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
840
  .button.is-dark, .button.is-dark:hover, .button.is-dark.is-hovered {
ransome1's avatar
ransome1 committed
841
842
843
844
845
    background: darken($sleek-projects-button, 65%);
    color: white;
  }
}
.priority {
ransome1's avatar
ransome1 committed
846
  .button, .button:hover {
ransome1's avatar
ransome1 committed
847
848
849
850
851
852
853
854
855
856
    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
857
858
859
860
  .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
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
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
    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;
     content: "";
     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;
  justify-content: start!important;
  padding-top: 2.5em;
  margin: 0!important;
  .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;
  }
993
994
  .delete,
  .modal-close {
ransome1's avatar
ransome1 committed
995
996
997
998
999
1000
    background: $has-text-link!important;
    color: $has-text-link!important;
    z-index: 60;
    position: absolute!important;
  }
  .modal-card {