style.scss 21.8 KB
Newer Older
1
2
@charset 'utf-8';
@import 'variables.scss';
ransome1's avatar
ransome1 committed
3
@import 'dark.scss';
ransome1's avatar
ransome1 committed
4
@font-face {
5
6
7
  font-family: 'FreeSans';
  src: url('../fonts/FreeSans.otf') format('opentype');
  src: url('../fonts/FreeSans.ttf') format('truetype');
ransome1's avatar
ransome1 committed
8
9
}
@font-face {
10
11
12
  font-family: 'FreeSansBold';
  src: url('../fonts/FreeSansBold.otf') format('opentype');
  src: url('../fonts/FreeSansBold.ttf') format('truetype');
ransome1's avatar
ransome1 committed
13
14
15
16
17
}
html {
  height: 100%;
}
body {
18
  font-size: 16px;
ransome1's avatar
ransome1 committed
19
20
21
22
23
24
25
  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 {
26
27
  border: none !important;
  box-shadow: none !important;
ransome1's avatar
ransome1 committed
28
}
ransome1's avatar
ransome1 committed
29
30
31
.button i {
  color: $has-text-link;
}
ransome1's avatar
ransome1 committed
32
.is-hidden {
33
  display: none !important;
ransome1's avatar
ransome1 committed
34
35
36
}
.button.is-outlined {
  background: transparent;
37
  border: 1px solid $mid-grey !important;
ransome1's avatar
ransome1 committed
38
39
40
  color: $dark-grey;
}
.button.is-outlined:hover {
41
  border: 1px solid $mid-grey !important;
ransome1's avatar
ransome1 committed
42
43
  color: $dark-grey;
}
ransome1's avatar
ransome1 committed
44
.button.is-link i {
ransome1's avatar
ransome1 committed
45
46
  color: white;
}
ransome1's avatar
ransome1 committed
47
48
49
50
51
52
53
54
55
.button.is-greyed-out {
  cursor: not-allowed;
}
.is-greyed-out {
  filter: opacity(75%) grayscale(100%);
  .tag {
    display: none;
  }
}
ransome1's avatar
ransome1 committed
56
57
58
59
60
table {
  width: 100%;
  border-collapse:separate;
  tr {
    th {
61
      padding: .1em 0 !important;
ransome1's avatar
ransome1 committed
62
      font-size: 1.2em;
63
      font-family: 'FreeSansBold';
ransome1's avatar
ransome1 committed
64
65
66
    }
    td {
      border: none;
67
      padding: .5em 2em .5em 0 !important;
ransome1's avatar
ransome1 committed
68
69
70
71
72
73
74
75
76
77
78
79
80
81
    }
  }
}
table.files {
  margin: 0;
  tr {
    td {
      vertical-align: middle;
    }
    td:first-child {
      width: 3em;
    }
    td:last-child {
      cursor: pointer;
82
83
84
      i {
        color: $has-text-link;
      }
ransome1's avatar
ransome1 committed
85
86
87
88
89
90
91
92
93
94
95
96
97
    }
  }
}
body::-webkit-scrollbar {
  display: none;
}
:focus,
:focus-visible {
  outline: none;
  box-shadow: none;
}
button:focus-visible,
a:focus-visible {
98
  outline: 2px solid $has-text-link !important;
ransome1's avatar
ransome1 committed
99
}
100
input[type='search']::-webkit-search-cancel-button {
ransome1's avatar
ransome1 committed
101
102
103
104
105
  -webkit-appearance: none;
  height: 1.15em;
  width: 1.15em;
  border-radius: 30em;
  background-color: $dark-grey;
106
107
  -webkit-mask-image: url('../img/svg/times-circle.svg');
  mask-image: url('../img/svg/times-circle.svg');
ransome1's avatar
ransome1 committed
108
109
110
111
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
}
112
input[type='search']:focus::-webkit-search-cancel-button {
ransome1's avatar
ransome1 committed
113
114
115
116
117
118
  opacity: .8;
  pointer-events: all;
}
input:focus,
select:focus,
input.is-focused,
119
input[type='search']:focus,
ransome1's avatar
ransome1 committed
120
121
textarea:focus,
textarea.is-focused,
122
textarea[type='search']:focus {
ransome1's avatar
ransome1 committed
123
  border: none;
124
  box-shadow: 0 0 0 2px $has-text-link !important;
ransome1's avatar
ransome1 committed
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
  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;
}
143
input[type='checkbox']:focus {
ransome1's avatar
ransome1 committed
144
  outline: none;
145
  box-shadow: none !important;
ransome1's avatar
ransome1 committed
146
}
147
input[type='range'] {
148
149
150
151
152
153
  -webkit-appearance: none;
  height: .25em;
  background: $dark-grey;
  border-radius: 10px;
  outline: none;
}
ransome1's avatar
ransome1 committed
154
155
.title,
strong {
156
157
  font-family: 'FreeSansBold';
  font-weight: normal !important;
ransome1's avatar
ransome1 committed
158
}
159
code, pre {
160
161
162
  font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace !important;
  background-color: $light-grey !important;
  color: inherit !important;
ransome1's avatar
ransome1 committed
163
164
165
166
167
168
169
170
171
172
173
174
}
nav {
  width: auto;
  height: 100%;
  float: left;
  position: relative;
  background: $almost-white;
  ul {
    float: left;
  	list-style-type: none;
  	margin: 0;
  	padding: 0;
ransome1's avatar
ransome1 committed
175
    li {
ransome1's avatar
ransome1 committed
176
177
178
179
180
181
182
183
184
      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
185
    li:focus {
ransome1's avatar
ransome1 committed
186
187
188
189
190
191
192
      background: $light-grey;
      outline-style: none;
    }
    li:hover,
    li.is-highlighted {
      background: $light-grey;
    }
ransome1's avatar
ransome1 committed
193
    li#navBtnFilter.is-hidden {
ransome1's avatar
ransome1 committed
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
      display: none;
    }
    li.logo {
      background: $dark-grey;
      color: white;
      font-family: FreeSansBold;
      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
215
.contentContainer {
ransome1's avatar
ransome1 committed
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
  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 {
252
      display: block;
ransome1's avatar
ransome1 committed
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
      padding: 0;
      margin: .25em 0;
    }
  }
  .card.is-active {
    display: block;
  }
}
#recurrencePicker.is-active {
  display: block;
}
#errorContainer {
  display: none;
  p {
    margin: .1em 0;
  }
269
270
271
  i {
    color: white!important;
  }
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
    top: 0;
    height: 100%;
    width: 1em;
    background-color: transparent;
    z-index: 1;
  }
  #handle::after {
299
    content: '';
ransome1's avatar
ransome1 committed
300
301
302
303
304
305
306
307
    width: 1em;
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: transparent;
    cursor: ew-resize;
    z-index: 2;
  }
308
  #drawerClose {
ransome1's avatar
ransome1 committed
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
    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;
327
    display: none !important;
ransome1's avatar
ransome1 committed
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
    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;
      }
    }
    h4.is-4 {
343
      font-size: 1.25em;
ransome1's avatar
ransome1 committed
344
345
      font-family: FreeSansBold;
      margin-bottom: 1.5em;
346
347
    }
    h4.is-4.clickable {
ransome1's avatar
ransome1 committed
348
      cursor: pointer;
ransome1's avatar
ransome1 committed
349
350
351
      i {
        color: $has-text-link;
      }
ransome1's avatar
ransome1 committed
352
    }
353
    section {
ransome1's avatar
ransome1 committed
354
355
356
357
      width: 100%;
      padding: 0;
      margin: 0 0 1.5em 0;
    }
ransome1's avatar
ransome1 committed
358
359
360
    table {
      margin-bottom: 2em;
    }
ransome1's avatar
ransome1 committed
361
362
363
364
365
366
367
    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
  }
}
#drawerContainer:hover {
376
  #drawerClose {
ransome1's avatar
ransome1 committed
377
378
379
380
381
382
383
384
385
386
387
388
    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
}
#todoTableSearchContainer.is-active {
  display: block;
}
#todoTable {
  width: 100%;
ransome1's avatar
ransome1 committed
414
  min-width: 30em;
ransome1's avatar
ransome1 committed
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
  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;
  }
432
  .todo {
ransome1's avatar
ransome1 committed
433
434
435
436
437
    position: relative;
    display: flex;
    flex-flow: row wrap;
    border-bottom: solid 1px $light-grey;
  }
438
  .todo:last-child {
ransome1's avatar
ransome1 committed
439
440
    border: none;
  }
441
  .todo#previousItem {
ransome1's avatar
ransome1 committed
442
443
444
445
446
    -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;
  }
447
  .todo#previousItem.is-highlighted {
ransome1's avatar
ransome1 committed
448
449
    background-color: $almost-white;
  }
450
451
  .group {
    min-height: 1em;
ransome1's avatar
ransome1 committed
452
453
454
455
456
457
458
459
460
461
462
    margin-top: .5em;
    border: none;
    font-family: FreeSansBold;
    .button {
      cursor: default;
      height: auto;
      line-height: auto;
      font-size: 1.2em;
      padding: 0 .4em;
    }
  }
463
  .group.due {
ransome1's avatar
ransome1 committed
464
465
466
467
468
    .button {
      padding: 0;
      background: transparent;
    }
  }
469
  .todo {
ransome1's avatar
ransome1 committed
470
    display: flex;
471
472
  }
    .cell {
ransome1's avatar
ransome1 committed
473
      line-height: 1.7em;
ransome1's avatar
ransome1 committed
474
475
476
      padding: .75em 0;
      margin-right: 1em;
      height: auto;
ransome1's avatar
ransome1 committed
477
      cursor: pointer;
ransome1's avatar
ransome1 committed
478
479
480
481
      .is-white {
        background: none;
      }
      span.tag {
ransome1's avatar
ransome1 committed
482
        margin: 0 0.25em 0 0;
ransome1's avatar
ransome1 committed
483
484
485
486
487
488
489
490
      }
      span.tag.projects {
        background: $sleek-projects-button;
      }
      span.tag.contexts {
        background: $sleek-contexts-button;
      }
    }
491
    .cell.checkbox a {
ransome1's avatar
ransome1 committed
492
493
494
      flex: 0 0 1em;
      font-size: 1.25em;
    }
495
    .cell.text {
ransome1's avatar
ransome1 committed
496
      width: auto;
497
      flex: 1;
ransome1's avatar
ransome1 committed
498
      color: $dark-grey;
499
      margin-right: 0;
500
501
502
      .categories {
        margin-right: .5em;
      }
ransome1's avatar
ransome1 committed
503
      .button {
504
        font-size: 1.1em;
ransome1's avatar
ransome1 committed
505
506
        font-family: FreeSansBold;
        height: auto;
507
        padding: 0 .4em;
ransome1's avatar
ransome1 committed
508
509
510
511
512
513
      }
      .priority {
        background: transparent;
        color: darken($mid-grey, 40%);
        margin-right: .5em;
      }
514
515
      .text {
        margin-right: .5em;
516
      }
ransome1's avatar
ransome1 committed
517
    }
518
    .cell.spacer {
ransome1's avatar
ransome1 committed
519
520
521
      width: .5em;
      background: transparent;
    }
522
    .cell.priority {
ransome1's avatar
ransome1 committed
523
524
525
526
      background: $mid-grey;
      flex: 0 0 .5em;
      opacity: .5;
    }
527
528
    .cell.priority.A,
    .cell .priority.A {
ransome1's avatar
ransome1 committed
529
530
531
      color: #ffe6eb;
      background: $has-text-danger;
    }
532
533
    .cell.priority.B,
    .cell .priority.B {
ransome1's avatar
ransome1 committed
534
535
536
      color: #fadcd8;
      background: $has-text-attention;
    }
537
538
    .cell.priority.C,
    .cell .priority.C {
ransome1's avatar
ransome1 committed
539
540
      background: $has-text-warning;
    }
541
    .cell .contexts {
ransome1's avatar
ransome1 committed
542
543
      background: $sleek-contexts-button;
    }
544
    .cell .projects {
ransome1's avatar
ransome1 committed
545
546
      background: $sleek-projects-button;
    }
547
    .cell.itemDueDate {
ransome1's avatar
ransome1 committed
548
549
550
      color: $dark-grey;
      position: relative;
      white-space: nowrap;
551
      margin: 0 .25em 0 0;
ransome1's avatar
ransome1 committed
552
      text-transform: lowercase;
ransome1's avatar
ransome1 committed
553
      .fa-sort-down {
ransome1's avatar
ransome1 committed
554
        position: absolute;
555
        right: 0.2em;
ransome1's avatar
ransome1 committed
556
        bottom: 2.1em;
ransome1's avatar
ransome1 committed
557
558
559
560
561
562
        display: none;
      }
      .tags {
        position: absolute;
        top: -1.4em;
        right: -1.5em;
563
        z-index: 40;
ransome1's avatar
ransome1 committed
564
565
566
567
568
569
570
571
572
573
        display: none;
        .tag {
          margin: 0;
        }
        .is-dark {
          background: $dark-grey;
          font-family: FreeSansBold;
        }
      }
    }
574
575
    .cell.isToday,
    .cell.isToday .button {
ransome1's avatar
ransome1 committed
576
577
578
579
580
581
      color: $has-text-danger;
      .tags .is-dark {
        background: $has-text-danger;
        font-family: FreeSansBold;
      }
    }
582
583
    .cell.isTomorrow,
    .cell.isTomorrow .button {
ransome1's avatar
ransome1 committed
584
585
586
587
588
589
      color: $has-text-attention;
      .tags .is-dark {
        background: $has-text-attention;
        font-family: FreeSansBold;
      }
    }
590
591
    .cell.isPast,
    .cell.isPast .button {
ransome1's avatar
ransome1 committed
592
593
594
595
596
597
      color: $has-text-danger;
      .tags .is-dark {
        background: $has-text-danger;
        font-family: FreeSansBold;
      }
    }
598
599
    .cell:hover,
    .cell:focus {
ransome1's avatar
ransome1 committed
600
601
602
      .tags {
        display: block;
      }
ransome1's avatar
ransome1 committed
603
      i.fa-sort-down {
ransome1's avatar
ransome1 committed
604
605
606
        display: block;
      }
    }
607
608
  .todo.completed {
    .cell {
609
      filter: opacity(50%) grayscale(100%);
ransome1's avatar
ransome1 committed
610
    }
ransome1's avatar
ransome1 committed
611
612
613
614
615
  }
}
#todoTable.is-active {
  display: block;
}
616
617
618
619
620
621

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

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

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

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