style.scss 22.9 KB
Newer Older
ransome1's avatar
ransome1 committed
1
2
3
@charset "utf-8";
@import "variables.scss";
@import "dark.scss";
ransome1's avatar
ransome1 committed
4
@font-face {
ransome1's avatar
ransome1 committed
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 {
ransome1's avatar
ransome1 committed
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
  height: 100%;
  margin: auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
ransome1's avatar
ransome1 committed
25
26
27
28
29
30
31
body::-webkit-scrollbar {
  display: none;
}
//  ####################################
//  BUTTONS
//  ####################################

ransome1's avatar
ransome1 committed
32
button, button:focus, button:active, button:active, button:after, button::before, button:active:after, .button, .button-is-white {
33
34
  border: none !important;
  box-shadow: none !important;
ransome1's avatar
ransome1 committed
35
}
ransome1's avatar
ransome1 committed
36
37
38
.button i {
  color: $has-text-link;
}
ransome1's avatar
ransome1 committed
39
.is-hidden {
40
  display: none !important;
ransome1's avatar
ransome1 committed
41
42
43
}
.button.is-outlined {
  background: transparent;
44
  border: 1px solid $mid-grey !important;
ransome1's avatar
ransome1 committed
45
46
47
  color: $dark-grey;
}
.button.is-outlined:hover {
48
  border: 1px solid $mid-grey !important;
ransome1's avatar
ransome1 committed
49
50
  color: $dark-grey;
}
ransome1's avatar
ransome1 committed
51
.button.is-link i {
ransome1's avatar
ransome1 committed
52
53
  color: white;
}
ransome1's avatar
ransome1 committed
54
55
56
57
58
59
.button.is-greyed-out {
  cursor: not-allowed;
}
.is-greyed-out {
  filter: opacity(75%) grayscale(100%);
}
ransome1's avatar
ransome1 committed
60
61
62
63
64

//  ####################################
//  TABLE
//  ####################################

ransome1's avatar
ransome1 committed
65
66
table {
  width: 100%;
ransome1's avatar
ransome1 committed
67
  border-collapse: separate;
ransome1's avatar
ransome1 committed
68
69
  tr {
    th {
70
      padding: .1em 0 !important;
ransome1's avatar
ransome1 committed
71
      font-size: 1.2em;
ransome1's avatar
ransome1 committed
72
      font-family: "FreeSansBold";
ransome1's avatar
ransome1 committed
73
74
75
    }
    td {
      border: none;
76
      padding: .5em 2em .5em 0 !important;
ransome1's avatar
ransome1 committed
77
78
79
80
81
82
83
84
85
86
87
88
89
90
    }
  }
}
table.files {
  margin: 0;
  tr {
    td {
      vertical-align: middle;
    }
    td:first-child {
      width: 3em;
    }
    td:last-child {
      cursor: pointer;
91
92
93
      i {
        color: $has-text-link;
      }
ransome1's avatar
ransome1 committed
94
95
96
    }
  }
}
ransome1's avatar
ransome1 committed
97
98
99
100
101

//  ####################################
//  FOCUS OUTLINES
//  ####################################

ransome1's avatar
ransome1 committed
102
103
104
105
106
107
:focus,
:focus-visible {
  outline: none;
  box-shadow: none;
}
button:focus-visible,
ransome1's avatar
ransome1 committed
108
109
a:focus-visible,
li:focus-visible,
ransome1's avatar
ransome1 committed
110
select:focus,
ransome1's avatar
ransome1 committed
111
input:focus,
ransome1's avatar
ransome1 committed
112
textarea:focus,
ransome1's avatar
ransome1 committed
113
114
115
116
input[type="text"]:focus {
  box-shadow: 0 0 0 2px $has-text-link inset!important;
  outline: none!important;
  border: none!important;
ransome1's avatar
ransome1 committed
117
}
ransome1's avatar
ransome1 committed
118
119
120
121
122

//  ####################################
//  INPUT
//  ####################################

ransome1's avatar
ransome1 committed
123
124
input,
select {
ransome1's avatar
ransome1 committed
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
  border: none!important;
  color: $has-text-link!important;
}

input[type="text"] {
  border: 1px solid $mid-grey!important;
  color: $darker-grey!important;
}

input[type="text"]::placeholder {
  color: $mid-grey!important;
}

input::placeholder {
  color: $has-text-link!important;
ransome1's avatar
ransome1 committed
140
}
ransome1's avatar
ransome1 committed
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173

//TODO reactivate
// input[type="text"]::-webkit-search-cancel-button {
//   -webkit-appearance: none;
//   height: 1.15em;
//   width: 1.15em;
//   border-radius: 30em;
//   background-color: $dark-grey;
//   -webkit-mask-image: url("../../node_modules/@fortawesome/fontawesome-free/svgs/solid/times-circle.svg");
//   mask-image: url("../../node_modules/@fortawesome/fontawesome-free/svgs/solid/times-circle.svg");
//   opacity: 0;
//   pointer-events: none;
//   cursor: pointer;
// }
// input:focus,
// input.is-focused,
// select:focus,
// textarea:focus,
// textarea.is-focused {
//   box-shadow: none!important;
//   outline: none;
//   border: none;
// }
// input,
// input::placeholder,
// select {
//   width: auto;
//   font-size: 1em;
//   color: $has-text-link;
//   box-shadow: none;
//   background: transparent;
// }
input[type="number"] {
ransome1's avatar
ransome1 committed
174
175
  text-align: center;
}
ransome1's avatar
ransome1 committed
176
177
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
ransome1's avatar
ransome1 committed
178
179
  -webkit-appearance: none;
}
ransome1's avatar
ransome1 committed
180
input[type="range"] {
181
182
183
184
185
186
  -webkit-appearance: none;
  height: .25em;
  background: $dark-grey;
  border-radius: 10px;
  outline: none;
}
ransome1's avatar
ransome1 committed
187
188
189
190
191

//  ####################################
//  TEXT
//  ####################################

ransome1's avatar
ransome1 committed
192
193
.title,
strong {
ransome1's avatar
ransome1 committed
194
  font-family: "FreeSansBold";
195
  font-weight: normal !important;
ransome1's avatar
ransome1 committed
196
}
197
code, pre {
198
199
200
  font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace !important;
  background-color: $light-grey !important;
  color: inherit !important;
ransome1's avatar
ransome1 committed
201
}
ransome1's avatar
ransome1 committed
202
203
204
205
206

//  ####################################
//  NAVIGATION
//  ####################################

ransome1's avatar
ransome1 committed
207
208
209
210
211
212
213
214
215
216
217
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
218
    li {
ransome1's avatar
ransome1 committed
219
220
221
222
223
224
225
226
227
      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
228
    li:focus {
ransome1's avatar
ransome1 committed
229
230
231
232
233
234
235
      background: $light-grey;
      outline-style: none;
    }
    li:hover,
    li.is-highlighted {
      background: $light-grey;
    }
ransome1's avatar
ransome1 committed
236
    li#navBtnFilter.is-hidden {
ransome1's avatar
ransome1 committed
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
      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
258
259
260
261
262

//  ####################################
//TODO
//  ####################################

ransome1's avatar
ransome1 committed
263
.contentContainer {
ransome1's avatar
ransome1 committed
264
  height: 80%;
ransome1's avatar
ransome1 committed
265
266
267
  p {
    padding: 0 10%;
  }
ransome1's avatar
ransome1 committed
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
}
#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 {
303
      display: block;
ransome1's avatar
ransome1 committed
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
      padding: 0;
      margin: .25em 0;
    }
  }
  .card.is-active {
    display: block;
  }
}
#recurrencePicker.is-active {
  display: block;
}
#errorContainer {
  display: none;
  p {
    margin: .1em 0;
  }
320
321
322
  i {
    color: white!important;
  }
ransome1's avatar
ransome1 committed
323
  .button {
ransome1's avatar
ransome1 committed
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
    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;
342
    right: -1em;
ransome1's avatar
ransome1 committed
343
344
345
346
347
348
349
    top: 0;
    height: 100%;
    width: 1em;
    background-color: transparent;
    z-index: 1;
  }
  #handle::after {
ransome1's avatar
ransome1 committed
350
    content: "";
ransome1's avatar
ransome1 committed
351
352
353
354
355
356
357
358
    width: 1em;
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: transparent;
    cursor: ew-resize;
    z-index: 2;
  }
359
  #drawerClose {
ransome1's avatar
ransome1 committed
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
    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;
378
    display: none !important;
ransome1's avatar
ransome1 committed
379
380
381
382
383
384
385
386
387
388
389
390
391
392
    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;
      }
    }
ransome1's avatar
ransome1 committed
393
394
395
396
397
    .button.is-greyed-out {
      .tag {
        display: none;
      }
    }
ransome1's avatar
ransome1 committed
398
    h4.is-4 {
399
      font-size: 1.25em;
ransome1's avatar
ransome1 committed
400
      font-family: FreeSansBold;
ransome1's avatar
ransome1 committed
401
      margin-bottom: 0.75em;
402
403
    }
    h4.is-4.clickable {
ransome1's avatar
ransome1 committed
404
      cursor: pointer;
ransome1's avatar
ransome1 committed
405
406
407
      i {
        color: $has-text-link;
      }
ransome1's avatar
ransome1 committed
408
    }
409
    section {
ransome1's avatar
ransome1 committed
410
411
412
413
414
415
416
417
418
      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) {
419
      width: auto;
ransome1's avatar
ransome1 committed
420
      text-align: center;
421
      padding-right: 0 !important;
ransome1's avatar
ransome1 committed
422
423
424
    }
  }
  .drawer.is-active {
425
    display: block !important;
ransome1's avatar
ransome1 committed
426
  }
ransome1's avatar
ransome1 committed
427
428
429
430
431
432
433
434
435
  .drawer::-webkit-scrollbar {
    background-color: transparent;
    width: .8em
  }
  .drawer::-webkit-scrollbar-thumb:window-inactive,
  .drawer::-webkit-scrollbar-thumb {
    background: $mid-grey;
    border-radius: 5px;
  }
ransome1's avatar
ransome1 committed
436
437
438
439
  #viewDrawer {
    .button {
      margin: 0;
    }
440
441
442
443
444
445
446
    table {
      tr {
        th h3 {
          margin-top: 1em;
        }
      }
    }
ransome1's avatar
ransome1 committed
447
  }
ransome1's avatar
ransome1 committed
448
}
ransome1's avatar
ransome1 committed
449
450
451
452
453
454
455
456
457
#todoTableWrapper::-webkit-scrollbar {
  background-color: transparent;
  width: .8em
}
#todoTableWrapper::-webkit-scrollbar-thumb:window-inactive,
#todoTableWrapper::-webkit-scrollbar-thumb {
  background: $mid-grey;
  border-radius: 5px;
}
ransome1's avatar
ransome1 committed
458
#drawerContainer:hover {
459
  #drawerClose {
ransome1's avatar
ransome1 committed
460
461
462
463
464
465
466
467
468
469
470
471
    display: inline-block;
  }
}
#drawerContainer.is-active {
  display: block;
}
#zoomStatus {
  padding: 0 .55em;
}
#zoomUndo {
  cursor: pointer;
}
ransome1's avatar
ransome1 committed
472
#datePickerInput {
ransome1's avatar
ransome1 committed
473
474
475
476
477
478
479
480
481
482
483
484
485
486
  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;
  }
487
488
489
490
  .icon.is-left i,
  .icon.is-right i {
    color: $mid-grey;
  }
ransome1's avatar
ransome1 committed
491
492
493
494
}
#todoTableSearchContainer.is-active {
  display: block;
}
ransome1's avatar
ransome1 committed
495
496
497
498
499
500
501
502
503
504
#resultStats {
  width: 100%;
  display: none;
  text-align: center;
  padding: 0;
  white-space: nowrap;
}
#resultStats.is-active {
  display: block;
}
ransome1's avatar
ransome1 committed
505
506
#todoTable {
  width: 100%;
ransome1's avatar
ransome1 committed
507
  min-width: 30em;
ransome1's avatar
ransome1 committed
508
509
510
511
512
513
514
  float: left;
  display: none;
  padding: 0 2.5em 1.5em 2.5em;
  #todoTableContainer {
    width: 100%;
    float: left;
  }
515
  .todo {
ransome1's avatar
ransome1 committed
516
517
518
519
520
    position: relative;
    display: flex;
    flex-flow: row wrap;
    border-bottom: solid 1px $light-grey;
  }
521
  .todo:last-child {
ransome1's avatar
ransome1 committed
522
523
    border: none;
  }
524
  .todo#previousItem {
ransome1's avatar
ransome1 committed
525
526
527
528
529
    -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;
  }
530
  .todo#previousItem.is-highlighted {
ransome1's avatar
ransome1 committed
531
532
    background-color: $almost-white;
  }
533
534
  .group {
    min-height: 1em;
ransome1's avatar
ransome1 committed
535
    margin: .5em 0;
ransome1's avatar
ransome1 committed
536
537
538
539
540
541
542
543
544
545
    border: none;
    font-family: FreeSansBold;
    .button {
      cursor: default;
      height: auto;
      line-height: auto;
      font-size: 1.2em;
      padding: 0 .4em;
    }
  }
546
  .group.due {
ransome1's avatar
ransome1 committed
547
548
549
550
551
    .button {
      padding: 0;
      background: transparent;
    }
  }
552
  .todo {
ransome1's avatar
ransome1 committed
553
    display: flex;
ransome1's avatar
ransome1 committed
554
    cursor: pointer;
555
    .cell {
ransome1's avatar
ransome1 committed
556
      line-height: 1.7em;
ransome1's avatar
ransome1 committed
557
558
559
560
561
562
563
      padding: .75em 0;
      margin-right: 1em;
      height: auto;
      .is-white {
        background: none;
      }
      span.tag {
ransome1's avatar
ransome1 committed
564
        margin: 0 0.25em 0 0;
ransome1's avatar
ransome1 committed
565
566
567
568
569
570
571
572
      }
      span.tag.projects {
        background: $sleek-projects-button;
      }
      span.tag.contexts {
        background: $sleek-contexts-button;
      }
    }
573
    .cell.checkbox a {
ransome1's avatar
ransome1 committed
574
575
576
      flex: 0 0 1em;
      font-size: 1.25em;
    }
577
    .cell.text {
ransome1's avatar
ransome1 committed
578
      width: auto;
579
      flex: 1;
ransome1's avatar
ransome1 committed
580
      color: $dark-grey;
581
      margin-right: 0;
582
583
584
      .categories {
        margin-right: .5em;
      }
ransome1's avatar
ransome1 committed
585
      .button {
586
        font-size: 1.1em;
ransome1's avatar
ransome1 committed
587
588
        font-family: FreeSansBold;
        height: auto;
589
        padding: 0 .4em;
ransome1's avatar
ransome1 committed
590
591
592
593
594
595
      }
      .priority {
        background: transparent;
        color: darken($mid-grey, 40%);
        margin-right: .5em;
      }
596
597
      .text {
        margin-right: .5em;
598
      }
ransome1's avatar
ransome1 committed
599
    }
600
    .cell.spacer {
ransome1's avatar
ransome1 committed
601
602
603
      width: .5em;
      background: transparent;
    }
604
    .cell.priority {
ransome1's avatar
ransome1 committed
605
606
607
608
      background: $mid-grey;
      flex: 0 0 .5em;
      opacity: .5;
    }
609
610
    .cell.priority.A,
    .cell .priority.A {
ransome1's avatar
ransome1 committed
611
612
613
      color: #ffe6eb;
      background: $has-text-danger;
    }
614
615
    .cell.priority.B,
    .cell .priority.B {
ransome1's avatar
ransome1 committed
616
617
618
      color: #fadcd8;
      background: $has-text-attention;
    }
619
620
    .cell.priority.C,
    .cell .priority.C {
ransome1's avatar
ransome1 committed
621
622
      background: $has-text-warning;
    }
623
    .cell .contexts {
ransome1's avatar
ransome1 committed
624
625
      background: $sleek-contexts-button;
    }
626
    .cell .projects {
ransome1's avatar
ransome1 committed
627
628
      background: $sleek-projects-button;
    }
629
    .cell.itemDueDate {
ransome1's avatar
ransome1 committed
630
631
632
      color: $dark-grey;
      position: relative;
      white-space: nowrap;
633
      margin: 0 .25em 0 0;
ransome1's avatar
ransome1 committed
634
      text-transform: lowercase;
ransome1's avatar
ransome1 committed
635
      .fa-sort-down {
ransome1's avatar
ransome1 committed
636
        position: absolute;
637
        right: 0.2em;
ransome1's avatar
ransome1 committed
638
        bottom: 2.1em;
ransome1's avatar
ransome1 committed
639
640
641
642
643
644
        display: none;
      }
      .tags {
        position: absolute;
        top: -1.4em;
        right: -1.5em;
645
        z-index: 40;
ransome1's avatar
ransome1 committed
646
647
648
649
650
651
652
653
654
655
        display: none;
        .tag {
          margin: 0;
        }
        .is-dark {
          background: $dark-grey;
          font-family: FreeSansBold;
        }
      }
    }
656
657
    .cell.isToday,
    .cell.isToday .button {
ransome1's avatar
ransome1 committed
658
659
660
661
662
663
      color: $has-text-danger;
      .tags .is-dark {
        background: $has-text-danger;
        font-family: FreeSansBold;
      }
    }
664
665
    .cell.isTomorrow,
    .cell.isTomorrow .button {
ransome1's avatar
ransome1 committed
666
667
668
669
670
671
      color: $has-text-attention;
      .tags .is-dark {
        background: $has-text-attention;
        font-family: FreeSansBold;
      }
    }
672
673
    .cell.isPast,
    .cell.isPast .button {
ransome1's avatar
ransome1 committed
674
675
676
677
678
679
      color: $has-text-danger;
      .tags .is-dark {
        background: $has-text-danger;
        font-family: FreeSansBold;
      }
    }
680
681
    .cell:hover,
    .cell:focus {
ransome1's avatar
ransome1 committed
682
683
684
      .tags {
        display: block;
      }
ransome1's avatar
ransome1 committed
685
      i.fa-sort-down {
ransome1's avatar
ransome1 committed
686
687
688
        display: block;
      }
    }
ransome1's avatar
ransome1 committed
689
  }
690
691
  .todo.completed {
    .cell {
692
      filter: opacity(50%) grayscale(100%);
ransome1's avatar
ransome1 committed
693
    }
694
695
696
    .cell.priority {
      background: $has-text-link;
    }
ransome1's avatar
ransome1 committed
697
698
699
700
701
  }
}
#todoTable.is-active {
  display: block;
}
702
703
704
705
#modalForm[open]:not(:focus-within) {
  background-color: rgb(255, 255, 254);
  transition: background-color 0.01s;
}
ransome1's avatar
ransome1 committed
706
707
708
709
710
711
712
713
714
715
716
#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
717
718
719
    i {
      color: $has-text-link;
    }
ransome1's avatar
ransome1 committed
720
721
  }
  .card-header-title {
ransome1's avatar
ransome1 committed
722
    font-family: "FreeSansBold";
ransome1's avatar
ransome1 committed
723
724
725
726
  }
  .is-active {
    display: block;
  }
ransome1's avatar
ransome1 committed
727
728
729
  .icon {
    color: $has-text-link;
  }
ransome1's avatar
ransome1 committed
730
731
732
733
734
  .field {
    width: auto;
    float: left;
    margin: .5em .5em .5em 0;
  }
735
736
737
738
739
740
741
  .message {
    display: none;
    margin: 1em 0 0 0;
  }
  .message.is-active {
    display: block;
  }
ransome1's avatar
ransome1 committed
742
743
744
745
746
747
748
749
750
751
752
753
  #btnItemStatus {
    display: none;
    text-align: center;
  }
  #btnItemStatus.is-active {
    display: block;
  }
  button {
    font-size: 1em;
    background: none;
    color: $has-text-link;
    border: none;
754
    border-right: 1px solid $light-grey !important;
ransome1's avatar
ransome1 committed
755
756
757
758
759
760
761
762
    cursor: pointer;
  }
  .card-footer {
    clear: both;
  }
}
#autoCompleteContainer {
  height: auto;
763
  position: fixed;
ransome1's avatar
ransome1 committed
764
765
  display: none;
  z-index: 50;
766
767
  padding: 0.75em 1em;
  section {
ransome1's avatar
ransome1 committed
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
    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;
}
785
786
787
788
789
790
#todoContext {
  display: none;
  position: fixed;
  z-index: 60;
  a {
    color: $has-text-link;
ransome1's avatar
ransome1 committed
791
    padding: 0.75em 1em;
792
793
794
795
796
  }
}
#todoContext.is-active {
  display: block;
}
797
#filterContext {
798
799
800
  display: none;
  position: fixed;
  z-index: 60;
801

802
  #filterContextDelete {
803
804
805
    color: $has-text-danger;
  }
}
806
#filterContext.is-active {
807
808
  display: block;
}
ransome1's avatar
ransome1 committed
809
810
#sortByContainer {
  width: auto;
811
  float: none;
ransome1's avatar
ransome1 committed
812
  list-style: none;
813
814
815
816
  li {
    width: 100%;
    height: auto!important;
    line-height: 1.5em!important;
817
818
    margin: 0 0 2px 0;
    padding: 0.5em 1em;
819
820
    cursor: grab;
    white-space: nowrap;
821
    background: white;
822
    text-align: left;
823
824
    border-radius: 0.2em;
    border: none;
825
826
    i {
      color: $has-text-link;
827
828
      font-size: 0.9em;
      margin-right: 1em;
829
830
    }
  }
831
832
  li.drag-sort-active {
    border-left: 0.2em solid $has-text-link;
ransome1's avatar
ransome1 committed
833
  }
ransome1's avatar
ransome1 committed
834
}
ransome1's avatar
ransome1 committed
835
836
.contentContainer {
  width: 100%;
ransome1's avatar
ransome1 committed
837
  height: 90%;
ransome1's avatar
ransome1 committed
838
839
840
841
842
843
844
845
846
847
848
  text-align: center;
  display: none;
  flex-direction: column;
  justify-content:center;
  p {
    margin: .5em;
  }
  .fa-file-alt {
    font-size: 6em;
  }
  .title.is-1 {
ransome1's avatar
ransome1 committed
849
    font-family: "FreeSansBold";
ransome1's avatar
ransome1 committed
850
851
852
853
854
855
856
857
858
859
860
    margin: .5em 0;
  }
  .subtitle {
    margin: .5em 0;
  }
  .btnOnboarding {
    font-size: 1em;
    margin: 0 1em;
    padding: .25em;
    text-decoration: none;
  }
ransome1's avatar
ransome1 committed
861
  .btnOnboarding i {
ransome1's avatar
ransome1 committed
862
863
864
865
866
867
868
869
870
    font-size: 5em;
    margin: .25em 0;
  }
}
.contentContainer.is-active {
  display: flex;
}
.columns {
  height: 100%;
871
  margin: 0 !important;
ransome1's avatar
ransome1 committed
872
873
874
875
876
877
878
879
880
881
882
883
  .column {
    position: relative;
    .is-right {
      float: right;
    }
  }
  .column.content {
    overflow-y: auto;
    overflow-x: hidden;
  }
}
.contexts {
ransome1's avatar
ransome1 committed
884
885
  .button,
  .button:hover {
ransome1's avatar
ransome1 committed
886
887
888
889
890
891
892
    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
893
  .button.is-dark, .button.is-dark:hover, .button.is-dark.is-hovered  {
ransome1's avatar
ransome1 committed
894
895
896
897
898
    background: darken($sleek-contexts-button, 65%);
    color: white;
  }
}
.projects {
ransome1's avatar
ransome1 committed
899
900
  .button,
  .button:hover {
ransome1's avatar
ransome1 committed
901
902
903
904
905
906
907
    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
908
  .button.is-dark, .button.is-dark:hover, .button.is-dark.is-hovered {
ransome1's avatar
ransome1 committed
909
910
911
912
913
    background: darken($sleek-projects-button, 65%);
    color: white;
  }
}
.priority {
ransome1's avatar
ransome1 committed
914
915
  .button,
  .button:hover {
ransome1's avatar
ransome1 committed
916
    font-size: 1.2em;
ransome1's avatar
ransome1 committed
917
918
919
920
921
922
923
924
925
    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
926
927
928
929
930
931
  .button:hover {
    color: darken($mid-grey, 40%);
    span.tag {
      color: inherit;
    }
  }
ransome1's avatar
ransome1 committed
932
933
934
935
  .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
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
    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%);
    }
  }
}
ransome1's avatar
ransome1 committed
982
983
984
985
986

//  ####################################
//  TOGGLE
//  ####################################

ransome1's avatar
ransome1 committed
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
.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;