|
| 1 | +// IMPORTS |
| 2 | +// ========================================================================== */ |
| 3 | + |
| 4 | +// The "box-shadow" mixin uses colors |
| 5 | +@import '_mixins'; |
| 6 | + |
| 7 | +// Graphic charter |
| 8 | +@import '_graphic-charter'; |
| 9 | + |
| 10 | + |
| 11 | +// DEBUG ICON |
| 12 | +// ========================================================================== */ |
| 13 | + |
| 14 | +#debug-icon { |
| 15 | + background-color: $t-dark; |
| 16 | + @include box-shadow(0, 0, 4px, $m-gray); |
| 17 | + a:active, a:link, a:visited { |
| 18 | + color: $g-orange; |
| 19 | + } |
| 20 | +} |
| 21 | + |
| 22 | + |
| 23 | +// DEBUG BAR |
| 24 | +// ========================================================================== */ |
| 25 | + |
| 26 | +#debug-bar { |
| 27 | + background-color: $t-dark; |
| 28 | + color: $m-gray; |
| 29 | + |
| 30 | + // Reset to prevent conflict with other CSS files |
| 31 | + h1, |
| 32 | + h2, |
| 33 | + h3, |
| 34 | + p, |
| 35 | + a, |
| 36 | + button, |
| 37 | + table, |
| 38 | + thead, |
| 39 | + tr, |
| 40 | + td, |
| 41 | + button, |
| 42 | + .toolbar { |
| 43 | + background-color: transparent; |
| 44 | + color: $m-gray; |
| 45 | + } |
| 46 | + |
| 47 | + // Buttons |
| 48 | + button { |
| 49 | + background-color: $t-dark; |
| 50 | + } |
| 51 | + |
| 52 | + // Tables |
| 53 | + table { |
| 54 | + strong { |
| 55 | + color: $m-orange; |
| 56 | + } |
| 57 | + tbody tr { |
| 58 | + &:hover { |
| 59 | + background-color: $g-gray; |
| 60 | + } |
| 61 | + &.current { |
| 62 | + background-color: $m-orange; |
| 63 | + td { |
| 64 | + color: $t-dark; |
| 65 | + } |
| 66 | + &:hover td { |
| 67 | + background-color: $g-red; |
| 68 | + color: $t-light; |
| 69 | + } |
| 70 | + } |
| 71 | + } |
| 72 | + } |
| 73 | + |
| 74 | + // The toolbar |
| 75 | + .toolbar { |
| 76 | + background-color: $g-gray; |
| 77 | + @include box-shadow(0, 0, 4px, $g-gray); |
| 78 | + img { |
| 79 | + filter: brightness(0) invert(1); |
| 80 | + } |
| 81 | + } |
| 82 | + |
| 83 | + // Fixed top |
| 84 | + &.fixed-top { |
| 85 | + & .toolbar { |
| 86 | + @include box-shadow(0, 0, 4px, $g-gray); |
| 87 | + } |
| 88 | + .tab { |
| 89 | + @include box-shadow(0, 1px, 4px, $g-gray); |
| 90 | + } |
| 91 | + } |
| 92 | + |
| 93 | + // "Muted" elements |
| 94 | + .muted { |
| 95 | + color: $m-gray; |
| 96 | + td { |
| 97 | + color: $g-gray; |
| 98 | + } |
| 99 | + &:hover td { |
| 100 | + color: $m-gray; |
| 101 | + } |
| 102 | + } |
| 103 | + |
| 104 | + // The toolbar preferences |
| 105 | + #toolbar-position, |
| 106 | + #toolbar-theme, { |
| 107 | + filter: brightness(0) invert(0.6); |
| 108 | + } |
| 109 | + |
| 110 | + // The toolbar menus |
| 111 | + .ci-label { |
| 112 | + &.active { |
| 113 | + background-color: $t-dark; |
| 114 | + } |
| 115 | + &:hover { |
| 116 | + background-color: $t-dark; |
| 117 | + } |
| 118 | + .badge { |
| 119 | + background-color: $g-blue; |
| 120 | + color: $m-gray; |
| 121 | + } |
| 122 | + } |
| 123 | + |
| 124 | + // The tabs container |
| 125 | + .tab { |
| 126 | + background-color: $t-dark; |
| 127 | + @include box-shadow(0, -1px, 4px, $g-gray); |
| 128 | + } |
| 129 | + |
| 130 | + // The "Timeline" tab |
| 131 | + .timeline { |
| 132 | + th, |
| 133 | + td { |
| 134 | + border-color: $g-gray; |
| 135 | + } |
| 136 | + .timer { |
| 137 | + background-color: $g-orange; |
| 138 | + } |
| 139 | + } |
| 140 | +} |
| 141 | + |
| 142 | + |
| 143 | +// DEBUG VIEW |
| 144 | +// ========================================================================== */ |
| 145 | + |
| 146 | +.debug-view.show-view { |
| 147 | + border-color: $g-orange; |
| 148 | +} |
| 149 | +.debug-view-path { |
| 150 | + background-color: $m-orange; |
| 151 | + color: $g-gray; |
| 152 | +} |
0 commit comments