style.scss 22.6 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;
  }
268
269
270
  i {
    color: white!important;
  }
ransome1's avatar
ransome1 committed
271
  .button {
ransome1's avatar
ransome1 committed
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
    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;
290
    right: -1em;
ransome1's avatar
ransome1 committed
291
292
293
294
295
296
297
    top: 0;
    height: 100%;
    width: 1em;
    background-color: transparent;
    z-index: 1;
  }
  #handle::after {
298
    content: '';
ransome1's avatar
ransome1 committed
299
300
301
302
303
304
305
306
    width: 1em;
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: transparent;
    cursor: ew-resize;
    z-index: 2;
  }
307
  #drawerClose {
ransome1's avatar
ransome1 committed
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
    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;
326
    display: none !important;
ransome1's avatar
ransome1 committed
327
328
329
330
331
332
333
334
335
336
337
338
339
340
    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;
      }
    }
341
    .is-greyed-out {
342
      filter: opacity(75%) grayscale(100%);
343
344
    }
    .button.is-greyed-out {
345
      cursor: not-allowed;
346
    }
ransome1's avatar
ransome1 committed
347
    h4.is-4 {
348
      font-size: 1.25em;
ransome1's avatar
ransome1 committed
349
350
351
      color: $dark-grey;
      font-family: FreeSansBold;
      margin-bottom: 1.5em;
352
353
    }
    h4.is-4.clickable {
ransome1's avatar
ransome1 committed
354
      cursor: pointer;
ransome1's avatar
ransome1 committed
355
356
357
      i {
        color: $has-text-link;
      }
ransome1's avatar
ransome1 committed
358
    }
359
    section {
ransome1's avatar
ransome1 committed
360
361
362
363
364
365
366
367
368
369
370
      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;
371
      padding-right: 0 !important;
ransome1's avatar
ransome1 committed
372
373
374
    }
  }
  .drawer.is-active {
375
    display: block !important;
ransome1's avatar
ransome1 committed
376
377
378
  }
}
#drawerContainer:hover {
379
  #drawerClose {
ransome1's avatar
ransome1 committed
380
381
382
383
384
385
386
387
388
389
390
391
    display: inline-block;
  }
}
#drawerContainer.is-active {
  display: block;
}
#zoomStatus {
  padding: 0 .55em;
}
#zoomUndo {
  cursor: pointer;
}
ransome1's avatar
ransome1 committed
392
#datePickerInput {
ransome1's avatar
ransome1 committed
393
394
395
396
397
398
399
400
401
402
403
404
405
406
  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;
  }
407
408
409
410
  .icon.is-left i,
  .icon.is-right i {
    color: $mid-grey;
  }
ransome1's avatar
ransome1 committed
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
}
#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;
  }
434
  .todo {
ransome1's avatar
ransome1 committed
435
436
437
438
439
    position: relative;
    display: flex;
    flex-flow: row wrap;
    border-bottom: solid 1px $light-grey;
  }
440
  .todo:last-child {
ransome1's avatar
ransome1 committed
441
442
    border: none;
  }
443
  .todo#previousItem {
ransome1's avatar
ransome1 committed
444
445
446
447
448
    -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;
  }
449
  .todo#previousItem.is-highlighted {
ransome1's avatar
ransome1 committed
450
451
    background-color: $almost-white;
  }
452
453
  .group {
    min-height: 1em;
ransome1's avatar
ransome1 committed
454
455
456
457
458
459
460
461
462
463
464
    margin-top: .5em;
    border: none;
    font-family: FreeSansBold;
    .button {
      cursor: default;
      height: auto;
      line-height: auto;
      font-size: 1.2em;
      padding: 0 .4em;
    }
  }
465
466
467
468
  // .group.priority {
  //   padding: .75em 0;
  // }
  .group.due {
ransome1's avatar
ransome1 committed
469
470
471
472
473
    .button {
      padding: 0;
      background: transparent;
    }
  }
474
  .todo {
ransome1's avatar
ransome1 committed
475
    display: flex;
476
477
  }
    .cell {
ransome1's avatar
ransome1 committed
478
479
480
481
482
483
484
485
      padding: .75em 0;
      margin-right: 1em;
      height: auto;
      line-height: 1.5em;
      .is-white {
        background: none;
      }
      span.tag {
486
        margin: 0 .25em 0 0;
ransome1's avatar
ransome1 committed
487
488
489
490
491
492
493
494
      }
      span.tag.projects {
        background: $sleek-projects-button;
      }
      span.tag.contexts {
        background: $sleek-contexts-button;
      }
    }
495
    .cell.checkbox a {
ransome1's avatar
ransome1 committed
496
497
498
      flex: 0 0 1em;
      font-size: 1.25em;
    }
499
    .cell.text {
ransome1's avatar
ransome1 committed
500
      width: auto;
501
502
      flex: 1;
      line-height: 1.7em;
ransome1's avatar
ransome1 committed
503
504
      cursor: pointer;
      color: $dark-grey;
505
      margin-right: 0;
506
507
508
      .categories {
        margin-right: .5em;
      }
ransome1's avatar
ransome1 committed
509
      .button {
510
        font-size: 1.1em;
ransome1's avatar
ransome1 committed
511
512
        font-family: FreeSansBold;
        height: auto;
513
        padding: 0 .4em;
ransome1's avatar
ransome1 committed
514
515
516
517
518
519
      }
      .priority {
        background: transparent;
        color: darken($mid-grey, 40%);
        margin-right: .5em;
      }
520
521
      .text {
        margin-right: .5em;
522
      }
ransome1's avatar
ransome1 committed
523
    }
524
    .cell.spacer {
ransome1's avatar
ransome1 committed
525
526
527
      width: .5em;
      background: transparent;
    }
528
    .cell.priority {
ransome1's avatar
ransome1 committed
529
530
531
532
      background: $mid-grey;
      flex: 0 0 .5em;
      opacity: .5;
    }
533
534
    .cell.priority.A,
    .cell .priority.A {
ransome1's avatar
ransome1 committed
535
536
537
      color: #ffe6eb;
      background: $has-text-danger;
    }
538
539
    .cell.priority.B,
    .cell .priority.B {
ransome1's avatar
ransome1 committed
540
541
542
      color: #fadcd8;
      background: $has-text-attention;
    }
543
544
    .cell.priority.C,
    .cell .priority.C {
ransome1's avatar
ransome1 committed
545
546
      background: $has-text-warning;
    }
547
    .cell .contexts {
ransome1's avatar
ransome1 committed
548
549
      background: $sleek-contexts-button;
    }
550
    .cell .projects {
ransome1's avatar
ransome1 committed
551
552
      background: $sleek-projects-button;
    }
553
    .cell.itemDueDate {
ransome1's avatar
ransome1 committed
554
555
556
      color: $dark-grey;
      position: relative;
      white-space: nowrap;
557
      margin: 0 .25em 0 0;
ransome1's avatar
ransome1 committed
558
      text-transform: lowercase;
ransome1's avatar
ransome1 committed
559
      .fa-sort-down {
ransome1's avatar
ransome1 committed
560
        position: absolute;
561
562
        right: 0.2em;
        bottom: 2.25em;
ransome1's avatar
ransome1 committed
563
564
565
566
567
568
        display: none;
      }
      .tags {
        position: absolute;
        top: -1.4em;
        right: -1.5em;
569
        z-index: 40;
ransome1's avatar
ransome1 committed
570
571
572
573
574
575
576
577
578
579
        display: none;
        .tag {
          margin: 0;
        }
        .is-dark {
          background: $dark-grey;
          font-family: FreeSansBold;
        }
      }
    }
580
581
    .cell.isToday,
    .cell.isToday .button {
ransome1's avatar
ransome1 committed
582
583
584
585
586
587
      color: $has-text-danger;
      .tags .is-dark {
        background: $has-text-danger;
        font-family: FreeSansBold;
      }
    }
588
589
    .cell.isTomorrow,
    .cell.isTomorrow .button {
ransome1's avatar
ransome1 committed
590
591
592
593
594
595
      color: $has-text-attention;
      .tags .is-dark {
        background: $has-text-attention;
        font-family: FreeSansBold;
      }
    }
596
597
    .cell.isPast,
    .cell.isPast .button {
ransome1's avatar
ransome1 committed
598
599
600
601
602
603
      color: $has-text-danger;
      .tags .is-dark {
        background: $has-text-danger;
        font-family: FreeSansBold;
      }
    }
604
605
    .cell:hover,
    .cell:focus {
ransome1's avatar
ransome1 committed
606
607
608
      .tags {
        display: block;
      }
ransome1's avatar
ransome1 committed
609
      i.fa-sort-down {
ransome1's avatar
ransome1 committed
610
611
612
        display: block;
      }
    }
613
614
  .todo.completed {
    .cell {
615
      filter: opacity(50%) grayscale(100%);
ransome1's avatar
ransome1 committed
616
    }
ransome1's avatar
ransome1 committed
617
618
619
620
621
  }
}
#todoTable.is-active {
  display: block;
}
622
623
624
625
626
627

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

ransome1's avatar
ransome1 committed
628
629
630
631
632
633
634
635
636
637
638
#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
639
640
641
    i {
      color: $has-text-link;
    }
ransome1's avatar
ransome1 committed
642
643
  }
  .card-header-title {
644
    font-family: 'FreeSansBold';
ransome1's avatar
ransome1 committed
645
646
647
648
  }
  .is-active {
    display: block;
  }
ransome1's avatar
ransome1 committed
649
650
651
  .icon {
    color: $has-text-link;
  }
ransome1's avatar
ransome1 committed
652
653
654
655
656
657
658
659
  .field {
    width: auto;
    float: left;
    margin: .5em .5em .5em 0;
    input,
    input::placeholder,
    select,
    select::placeholder {
660
      background: none !important;
ransome1's avatar
ransome1 committed
661
      border: none;
662
      color: $has-text-link !important;
ransome1's avatar
ransome1 committed
663
664
    }
  }
665
666
667
668
669
670
671
  .message {
    display: none;
    margin: 1em 0 0 0;
  }
  .message.is-active {
    display: block;
  }
ransome1's avatar
ransome1 committed
672
673
674
675
676
677
678
679
680
681
682
683
  #btnItemStatus {
    display: none;
    text-align: center;
  }
  #btnItemStatus.is-active {
    display: block;
  }
  button {
    font-size: 1em;
    background: none;
    color: $has-text-link;
    border: none;
684
    border-right: 1px solid $light-grey !important;
ransome1's avatar
ransome1 committed
685
686
687
688
689
690
691
692
    cursor: pointer;
  }
  .card-footer {
    clear: both;
  }
}
#autoCompleteContainer {
  height: auto;
693
  position: fixed;
ransome1's avatar
ransome1 committed
694
695
696
  display: none;
  z-index: 50;
  opacity: .90;
697
698
  padding: 0.75em 1em;
  section {
ransome1's avatar
ransome1 committed
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
    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;
}
716
717
718
719
720
721
722
723
724
725
726
#todoContext {
  display: none;
  position: fixed;
  z-index: 60;
  a {
    color: $has-text-link;
  }
}
#todoContext.is-active {
  display: block;
}
727
#filterContext {
728
729
730
  display: none;
  position: fixed;
  z-index: 60;
731

732
  #filterContextDelete {
733
734
735
    color: $has-text-danger;
  }
}
736
#filterContext.is-active {
737
738
  display: block;
}
739
740
741
742
743
744
#modalPrompt {
  z-index: 60;
  .modal-content {
    width: 20em;
  }
}
ransome1's avatar
ransome1 committed
745
746
.contentContainer {
  width: 100%;
ransome1's avatar
ransome1 committed
747
  height: 90%;
ransome1's avatar
ransome1 committed
748
749
750
751
752
753
754
755
756
757
758
  text-align: center;
  display: none;
  flex-direction: column;
  justify-content:center;
  p {
    margin: .5em;
  }
  .fa-file-alt {
    font-size: 6em;
  }
  .title.is-1 {
759
    font-family: 'FreeSansBold';
ransome1's avatar
ransome1 committed
760
761
762
763
764
765
766
767
768
769
770
    margin: .5em 0;
  }
  .subtitle {
    margin: .5em 0;
  }
  .btnOnboarding {
    font-size: 1em;
    margin: 0 1em;
    padding: .25em;
    text-decoration: none;
  }
ransome1's avatar
ransome1 committed
771
  .btnOnboarding i {
ransome1's avatar
ransome1 committed
772
773
774
775
776
777
778
779
780
    font-size: 5em;
    margin: .25em 0;
  }
}
.contentContainer.is-active {
  display: flex;
}
.columns {
  height: 100%;
781
  margin: 0 !important;
ransome1's avatar
ransome1 committed
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
  .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
802
  .button.is-dark, .button.is-dark:hover, .button.is-dark.is-hovered  {
ransome1's avatar
ransome1 committed
803
804
805
806
807
808
809
810
811
812
813
814
815
    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
816
  .button.is-dark, .button.is-dark:hover, .button.is-dark.is-hovered {
ransome1's avatar
ransome1 committed
817
818
819
820
821
    background: darken($sleek-projects-button, 65%);
    color: white;
  }
}
.priority {
ransome1's avatar
ransome1 committed
822
  .button, .button:hover {
823
    font-size: 1.25em;
ransome1's avatar
ransome1 committed
824
825
826
827
828
829
830
831
832
    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
833
834
835
836
  .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
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
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
    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;
927
     content: '';
ransome1's avatar
ransome1 committed
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
     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 {
945
  z-index: 60;
946
  justify-content: start !important;
ransome1's avatar
ransome1 committed
947
  padding-top: 2.5em;
948
  margin: 0 !important;
ransome1's avatar
ransome1 committed
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
  .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;
  }
969
970
  .delete,
  .modal-close {
971
972
    background: $has-text-link !important;
    color: $has-text-link !important;
ransome1's avatar
ransome1 committed
973
    z-index: 60;
974
    position: absolute !important;
ransome1's avatar
ransome1 committed
975
976
977
  }
  .modal-card {
    z-index: 60;
ransome1's avatar
ransome1 committed
978
    background: $light-grey;
979
980
    padding: 0 2em 2em 2em;
    max-height: calc(100vh - 5em);
981
    border-radius: 0.25rem;
ransome1's avatar
ransome1 committed
982
983
984
985
986
987
988
989
990
991
992
993
  }
  .modal-background {
    z-index: 55;
  }
  .modal-card-body {
    background: none;
    display: none;
    ul li a {
      text-decoration: underline;
    }
    table.settings tr td {
      position: relative;
994

ransome1's avatar
ransome1 committed
995
996
997
998
999
1000
      .alert {
        position: absolute;
        top: 1em;
        left: -.8em;
      }
    }