compact.scss 1.57 KB
Newer Older
ransome1's avatar
ransome1 committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
//  ####################################
//  COMPACT
//  ####################################

@mixin compact() {
  table tr td {
    padding: 0.25em 1.5em 0.25em 0 !important
  }
  #sortByContainer li {
    padding: 0.25em 0.5em;
  }
  #todoTableSearchContainer {
    padding: 1em;
    .column {
      padding: 0;
      .icon.is-left {
        top: 0;
        left: 0;
      }
    }
  }
  #todoTable {
    padding: 0 1.5em 1.5em 1.5em;
    .group:first-child {
      margin-top: 0;
    }
    .todo {
      .cell {
        padding: .25em 0;
        .text {
          margin: 0;
        }
      }
      .cell.itemDueDate {
        .tags {
          top: -1.9em;
          right: -1.9em;
        }
        i.fa-sort-down {
          right: .2em;
          bottom: 1.7em;
          color: inherit;
        }
      }
    }
  }
  nav ul {
    width: 3.5em;
    li {
      width: 3.5em;
      height: 3.5em;
      line-height: 3.5em;
    }
  }
  #autoCompleteContainer,
  .drawer {
    padding: 1.5em;
    .is-4 {
      font-size: 1.1em;
    }
    .priority {
      .button {
        font-size: 1em;
      }
    }
    .button {
      font-size: 0.9em;
      margin: 0 0.3em 0.3em 0!important;
      padding: 0.25em 0.6em;
      .tag {
        width: auto;
        height: auto;
        padding: 0 .5em;
        min-width: 1.5em;
        min-height: 1.5em;
        font-size: .9em;
      }
    }
  }
  #autoCompleteContainer {
    padding: 1em;
    h4 {
      margin-top: 0;
    }
  }
}
@media screen and (max-width: 992px),
screen and (max-height: 650px) {
  @include compact;
}
body.compact {
  @include compact;
}