| 1 | /************ |
| 2 | * Popovers * |
| 3 | ************/ |
| 4 | |
| 5 | GraniteWidgetsPopOver { |
| 6 | |
| 7 | -GraniteWidgetsPopOver-arrow-width: 21; |
| 8 | -GraniteWidgetsPopOver-arrow-height: 10; |
| 9 | -GraniteWidgetsPopOver-border-radius: 8px; |
| 10 | -GraniteWidgetsPopOver-border-width: 0; |
| 11 | -GraniteWidgetsPopOver-shadow-size: 12; |
| 12 | |
| 13 | border: 1px solid $base_color; |
| 14 | background: $base_color; |
| 15 | color: $fg_color; |
| 16 | |
| 17 | .button { |
| 18 | background-image: none; |
| 19 | background: none; |
| 20 | border: none; |
| 21 | |
| 22 | &:active, |
| 23 | &:active:hover, { |
| 24 | color: $selected_bg_color; |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | > .frame { |
| 29 | border:none; |
| 30 | } |
| 31 | |
| 32 | .sidebar.view { |
| 33 | border: none; |
| 34 | background: none; |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | GraniteWidgetsStaticNotebook .frame { |
| 39 | border: none; |
| 40 | } |
| 41 | |
| 42 | .popover_bg { |
| 43 | background-color: $base_color; |
| 44 | background-image: none; |
| 45 | border: 1px solid $base_color; |
| 46 | color: $fg_color; |
| 47 | } |
| 48 | |
| 49 | |
| 50 | /*********** |
| 51 | * Welcome * |
| 52 | **********/ |
| 53 | |
| 54 | GraniteWidgetsWelcome { |
| 55 | background-color: $base_color; |
| 56 | |
| 57 | GtkLabel { |
| 58 | color: $fg_color; |
| 59 | } |
| 60 | |
| 61 | .h1,.h3 { |
| 62 | color: transparentize($fg_color, 0.2); |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | /************** |
| 67 | * Source List * |
| 68 | ***************/ |
| 69 | |
| 70 | .source-list { |
| 71 | -GtkTreeView-horizontal-separator: 1px; |
| 72 | -GtkTreeView-vertical-separator: 6px; |
| 73 | |
| 74 | background-color: $bg_color; |
| 75 | border: solid $borders_color; |
| 76 | color: $fg_color; |
| 77 | border-right-width: 1px; |
| 78 | |
| 79 | &:backdrop {} |
| 80 | |
| 81 | .category-expander { |
| 82 | color: transparent; |
| 83 | } |
| 84 | |
| 85 | .badge { |
| 86 | background-image: none; |
| 87 | background-color: transparentize(black, 0.6); |
| 88 | color: $bg_color; |
| 89 | border-radius: 10px; |
| 90 | padding: 0 6px; |
| 91 | margin: 0 3px; |
| 92 | border-width: 0; |
| 93 | |
| 94 | &:selected:backdrop, |
| 95 | &:selected:hover:backdrop { |
| 96 | background-color: transparentize(black, 0.8); |
| 97 | color: darken($bg_color, 5%); |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | row, |
| 102 | .list-row { |
| 103 | border:none; |
| 104 | padding: 0; |
| 105 | |
| 106 | > GtkLabel, |
| 107 | > label { |
| 108 | padding-left: 6px; |
| 109 | padding-right: 6px; |
| 110 | } |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | |
| 115 | /************** |
| 116 | * Text Styles * |
| 117 | **************/ |
| 118 | |
| 119 | .h1 { |
| 120 | font-size: 24px; |
| 121 | } |
| 122 | |
| 123 | .h2 { |
| 124 | font-weight: 300; |
| 125 | font-size: 18px; |
| 126 | } |
| 127 | |
| 128 | .h3 { |
| 129 | font-size: 11px; |
| 130 | } |
| 131 | |
| 132 | .h4, |
| 133 | .category-label { |
| 134 | font-size: 12px; |
| 135 | padding: 6px; |
| 136 | color: transparentize($fg_color, 0.7); |
| 137 | font-weight: bold; |
| 138 | text-shadow: 0 1px transparentize(white,0.8); |
| 139 | } |
| 140 | |
| 141 | |
| 142 | /************** |
| 143 | * Storage Bar * |
| 144 | **************/ |
| 145 | .storage-bar { |
| 146 | |
| 147 | .trough { |
| 148 | border: none; |
| 149 | box-shadow:0 1px 0 0 $bottom_highlight; |
| 150 | background-image: none; |
| 151 | background-color: transparent; |
| 152 | padding: 8px 6px; |
| 153 | } |
| 154 | |
| 155 | .fill-block { |
| 156 | background-color: $yellow; |
| 157 | border:none; |
| 158 | box-shadow: inset 0 1px 0 0 transparentize(black, 0.9), inset 0 -1px 0 0 transparentize(black, 0.9); |
| 159 | |
| 160 | transition: all 200ms ease-in-out; |
| 161 | |
| 162 | padding: 8px 6px; |
| 163 | |
| 164 | &:first-child { |
| 165 | border-top-left-radius: 4px; |
| 166 | border-bottom-left-radius: 4px; |
| 167 | border-left-width: 1px; |
| 168 | box-shadow: inset 0 1px 0 0 transparentize(black, 0.9), |
| 169 | inset 1px 0 0 transparentize(black, 0.9), |
| 170 | inset 0 -1px 0 0 transparentize(black, 0.9); |
| 171 | } |
| 172 | |
| 173 | &:last-child { |
| 174 | border-top-right-radius: 4px; |
| 175 | border-bottom-right-radius: 4px; |
| 176 | box-shadow: inset 0 1px 0 0 transparentize(black, 0.9), |
| 177 | inset -1px 0 0 transparentize(black, 0.9), |
| 178 | inset 0 -1px 0 0 transparentize(black, 0.9); |
| 179 | } |
| 180 | |
| 181 | &.empty-block { |
| 182 | background-color: $base_color; |
| 183 | } |
| 184 | |
| 185 | &.app { |
| 186 | background-color: $blue; |
| 187 | } |
| 188 | |
| 189 | &.audio { |
| 190 | background-color: $orange; |
| 191 | } |
| 192 | |
| 193 | &.photo { |
| 194 | background-color: $red; |
| 195 | } |
| 196 | |
| 197 | &.video { |
| 198 | background-color: $purple; |
| 199 | } |
| 200 | |
| 201 | .legend { |
| 202 | padding: 12px; |
| 203 | border-radius: 4px; |
| 204 | } |
| 205 | } |
| 206 | } |