| 1 | /******** |
| 2 | * Gala * |
| 3 | *******/ |
| 4 | |
| 5 | .gala-notification { |
| 6 | border-width: 0; |
| 7 | border-radius: 2px; |
| 8 | color: white; |
| 9 | border: 1px solid $base_color; |
| 10 | background-color: $base_color; |
| 11 | |
| 12 | .title, |
| 13 | .label { |
| 14 | color: $fg_color; |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | .gala-button { |
| 19 | padding: 3px; |
| 20 | color: $base_color; |
| 21 | border: none; |
| 22 | border-radius: 50%; |
| 23 | background-image: linear-gradient(to bottom, |
| 24 | #7e7e7e, |
| 25 | #3e3e3e |
| 26 | ); |
| 27 | box-shadow: inset 0 0 0 1px transparentize(white, 0.02), |
| 28 | inset 0 1px 0 0 transparentize(white, 0.07), |
| 29 | inset 0 -1px 0 0 transparentize(white, 0.01), |
| 30 | 0 0 0 1px transparentize(black, 0.40), |
| 31 | 0 3px 6px transparentize(black, 0.16), |
| 32 | 0 3px 6px transparentize(black, 0.23); |
| 33 | text-shadow: 0 1px 1px transparentize(black, 0.6); |
| 34 | } |
| 35 | |
| 36 | /********** |
| 37 | * Notify * |
| 38 | *********/ |
| 39 | |
| 40 | .notify { |
| 41 | /*-notify-shadow: 0px 2px 18px transparentize(black, 0.60);*/ |
| 42 | |
| 43 | border-radius: 5px; |
| 44 | border: 1px solid transparentize(black, 0.30); |
| 45 | |
| 46 | background-color: transparentize($base_color, 0.95); |
| 47 | |
| 48 | .low {} |
| 49 | .critical {} |
| 50 | } |
| 51 | |
| 52 | |
| 53 | /*************** |
| 54 | * SwitchBoard * |
| 55 | ***************/ |
| 56 | |
| 57 | .category-label { |
| 58 | font-weight: bold; |
| 59 | color: $fg_color; |
| 60 | } |
| 61 | |
| 62 | |
| 63 | /************* |
| 64 | * Slingshot * |
| 65 | ************/ |
| 66 | |
| 67 | .button.app { |
| 68 | border: none; |
| 69 | border-radius: 0; |
| 70 | box-shadow: none; |
| 71 | background-image: none; |
| 72 | |
| 73 | .app { |
| 74 | &:hover{ |
| 75 | border-radius: 8px; |
| 76 | border: none; |
| 77 | background-color: transparentize($selected_bg_color, 0.7); |
| 78 | color: white; |
| 79 | } |
| 80 | &:focus{ |
| 81 | /*background-color: transparentize(black, 0.20);*/ |
| 82 | } |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | .search-item { |
| 87 | border-radius: 0; |
| 88 | border: none; |
| 89 | color: $fg_color; |
| 90 | background: none; |
| 91 | |
| 92 | &:hover, |
| 93 | &:focus { |
| 94 | border-radius: 0; |
| 95 | background-color: transparentize($selected_bg_color, 0.7); |
| 96 | color: $selected_fg_color; |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | |
| 101 | .search-entry-large, |
| 102 | .search-entry-large:focus { |
| 103 | border: none; |
| 104 | font-size: 18px; |
| 105 | font-weight: 300; |
| 106 | background-image: none; |
| 107 | background: none; |
| 108 | box-shadow: none; |
| 109 | border-radius: 0; |
| 110 | } |
| 111 | |
| 112 | .search-category-header { |
| 113 | font-weight: bold; |
| 114 | color: $fg_color; |
| 115 | } |
| 116 | |
| 117 | |
| 118 | |
| 119 | /********* |
| 120 | * Panel * |
| 121 | ********/ |
| 122 | |
| 123 | .composited-indicator { |
| 124 | |
| 125 | > revealer, |
| 126 | > revealer image, |
| 127 | > revealer label, |
| 128 | > revealer spinner { |
| 129 | color: $panel_fg_color; |
| 130 | font-weight: bold; |
| 131 | text-shadow: 0 1px 2px transparentize(black, 0.7), 0 1px 2px transparentize(black, 0.5); |
| 132 | transition: all 200ms ease-in-out; |
| 133 | -gtk-icon-shadow: 0 1px 2px transparentize(black, 0.7), 0 1px 2px transparentize(black, 0.5); |
| 134 | } |
| 135 | |
| 136 | > revealer image:first-child + label { |
| 137 | margin-left: 5px; |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | .panel.color-light .composited-indicator { |
| 142 | |
| 143 | > revealer, |
| 144 | > revealer image, |
| 145 | > revealer label, |
| 146 | > revealer spinner { |
| 147 | color: transparentize(black, 0.4); |
| 148 | text-shadow: 0 1px transparentize(white, 0.9); |
| 149 | -gtk-icon-shadow: 0 1px transparentize(white, 0.9); |
| 150 | } |
| 151 | } |
| 152 | |
| 153 | /************** |
| 154 | * Calculator * |
| 155 | **************/ |
| 156 | |
| 157 | PantheonCalculatorMainWindow { |
| 158 | border-radius: 0 0 4px 4px; |
| 159 | |
| 160 | .window-frame { |
| 161 | border-radius:3px; |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | /********* |
| 166 | * Cards * |
| 167 | *********/ |
| 168 | |
| 169 | .deck { |
| 170 | background-color: darken($bg_color, 8%); |
| 171 | } |
| 172 | |
| 173 | .card { |
| 174 | background-color: $base_color; |
| 175 | border: none; |
| 176 | box-shadow: 0 0 0 1px transparentize(black, 0.95), |
| 177 | 0 3px 3px transparentize(black, 0.8); |
| 178 | transition: all 150ms ease-in-out; |
| 179 | } |
| 180 | |
| 181 | .card.collapsed { |
| 182 | background-color: darken($base_color, 5%); |
| 183 | box-shadow: 0 0 0 1px transparentize(black, 0.95), |
| 184 | 0 1px 2px transparentize(black, 0.8); |
| 185 | } |
| 186 | |
| 187 | /********* |
| 188 | * Noise * |
| 189 | *********/ |
| 190 | |
| 191 | NoiseLibraryWindow { |
| 192 | border-radius: 0 0 4px 4px; |
| 193 | |
| 194 | .action-bar { |
| 195 | border-radius: 0 0 4px 4px; |
| 196 | } |
| 197 | |
| 198 | .window-frame { |
| 199 | border-radius:3px; |
| 200 | } |
| 201 | } |
| 202 | |
| 203 | /******** |
| 204 | * Snap * |
| 205 | ********/ |
| 206 | |
| 207 | SnapMainWindow, |
| 208 | SnapSnapWindow { |
| 209 | |
| 210 | .take-button { |
| 211 | border-radius: 0; |
| 212 | } |
| 213 | } |
| 214 | |
| 215 | |
| 216 | /******************* |
| 217 | * Photos/Shotwell * |
| 218 | *******************/ |
| 219 | |
| 220 | DirectWindow, |
| 221 | LibraryWindow { |
| 222 | |
| 223 | .the-button-in-the-combobox { |
| 224 | background: none; |
| 225 | } |
| 226 | } |
| 227 | |
| 228 | .checkerboard-layout { |
| 229 | background-color: $bg_color; |
| 230 | background-image: linear-gradient(45deg, |
| 231 | transparentize(black, 0.9) 25%, |
| 232 | transparent 25%, |
| 233 | transparent 75%, |
| 234 | transparentize(black, 0.9) 75%, |
| 235 | transparentize(black, 0.9)), |
| 236 | linear-gradient(45deg, |
| 237 | transparentize(black, 0.9) 25%, |
| 238 | transparent 25%, |
| 239 | transparent 75%, |
| 240 | transparentize(black, 0.9) 75%, |
| 241 | transparentize(black, 0.9)); |
| 242 | background-size: 24px 24px; |
| 243 | background-position: 0 0, 12px 12px |
| 244 | } |
| 245 | |
| 246 | .checkboard-layout .item { |
| 247 | background-color: $fg_color; |
| 248 | } |
| 249 | |
| 250 | /********* |
| 251 | * Avatar * |
| 252 | *********/ |
| 253 | |
| 254 | .avatar { |
| 255 | border: 1px solid transparentize(#000, 0.77); |
| 256 | border-radius: 50%; |
| 257 | box-shadow: |
| 258 | inset 0 0 0 1px transparentize(#fff, 0.95), |
| 259 | inset 0 1px 0 0 transparentize(#fff, 0.55), |
| 260 | inset 0 -1px 0 0 transparentize(#fff, 0.85), |
| 261 | 0 1px 3px transparentize(#000, 0.88), |
| 262 | 0 1px 2px transparentize(#000, 0.77); |
| 263 | } |
| 264 | |
| 265 | /**level bars**/ |
| 266 | |
| 267 | .sidebar .source-list{ |
| 268 | &.view { |
| 269 | &.level-bar { |
| 270 | &,&:selected,&:selected:focus{ |
| 271 | background: linear-gradient(to right, lighten($_sidebar_color, 15%), lighten($_sidebar_color, 15%)); |
| 272 | border: 1px solid transparentize(black, 0.86); |
| 273 | box-shadow: 0 1px 0 transparentize(#000, 0.75); |
| 274 | border-radius: 2px; |
| 275 | } |
| 276 | &.fill-block{ |
| 277 | border: none; |
| 278 | } |
| 279 | } |
| 280 | &.fill-block{ |
| 281 | &,&:hover,&:selected,&:selected:focus{ |
| 282 | background: linear-gradient(to right, $yellow, $yellow); |
| 283 | } |
| 284 | } |
| 285 | } |
| 286 | } |
| 287 | |
| 288 | /************************** |
| 289 | * Colors in context menu * |
| 290 | **************************/ |
| 291 | |
| 292 | checkbutton.color-button { |
| 293 | border: 1px solid $borders_color; |
| 294 | border-radius: 100px; |
| 295 | background-clip: border-box; |
| 296 | padding: 0; |
| 297 | margin: 2px 1px; |
| 298 | |
| 299 | > check { |
| 300 | -gtk-icon-source: none; |
| 301 | background: none; |
| 302 | margin-right: 0; |
| 303 | padding: 2px; |
| 304 | } |
| 305 | |
| 306 | &.none { |
| 307 | > check { |
| 308 | background-color: transparent; |
| 309 | border-radius: 100px; |
| 310 | -gtk-icon-source: -gtk-icontheme("close-symbolic"); |
| 311 | } |
| 312 | } |
| 313 | |
| 314 | } |
| 315 | |
| 316 | radiobutton.color-button { |
| 317 | > radio { |
| 318 | -gtk-icon-source: none; |
| 319 | margin-right: 0; |
| 320 | border: 1px solid rgba(black, 0.15); |
| 321 | border-radius: 100px; |
| 322 | background-clip: border-box; |
| 323 | } |
| 324 | |
| 325 | &:active > radio { |
| 326 | border: 1px solid rgba(black, 0.35); |
| 327 | } |
| 328 | } |
| 329 | |
| 330 | .color-button { |
| 331 | check, |
| 332 | check:checked, |
| 333 | radio, |
| 334 | radio:checked, { |
| 335 | background-image: none; |
| 336 | border: 1px solid rgba(black, 0.2); |
| 337 | border-radius: 50%; |
| 338 | color: $base_color; |
| 339 | -gtk-icon-source: -gtk-icontheme("check-active-symbolic"); |
| 340 | } |
| 341 | |
| 342 | &.red check, |
| 343 | &.red radio,s |
| 344 | &.strawberry check, |
| 345 | &.strawberry radio { |
| 346 | background-color: #{'@STRAWBERRY_300'}; |
| 347 | -gtk-icon-shadow: 0 1px 1px #{'@STRAWBERRY_500'}; |
| 348 | } |
| 349 | |
| 350 | &.orange check, |
| 351 | &.orange radio { |
| 352 | background-color: #{'@ORANGE_300'}; |
| 353 | -gtk-icon-shadow: 0 1px 1px #{'@ORANGE_500'}; |
| 354 | } |
| 355 | |
| 356 | &.yellow check, |
| 357 | &.yellow radio, |
| 358 | &.banana check, |
| 359 | &.banana radio { |
| 360 | background-color: #{'@BANANA_500'}; |
| 361 | -gtk-icon-shadow: 0 1px 1px #{'@BANANA_700'}; |
| 362 | } |
| 363 | |
| 364 | &.green check, |
| 365 | &.green radio, |
| 366 | &.lime check, |
| 367 | &.lime radio { |
| 368 | background-color: #{'@LIME_500'}; |
| 369 | -gtk-icon-shadow: 0 1px 1px #{'@LIME_700'}; |
| 370 | } |
| 371 | |
| 372 | &.blue check, |
| 373 | &.blue radio, |
| 374 | &.blueberry check, |
| 375 | &.blueberry radio { |
| 376 | background-color: #{'@BLUEBERRY_500'}; |
| 377 | -gtk-icon-shadow: 0 1px 1px #{'@BLUEBERRY_700'}; |
| 378 | } |
| 379 | |
| 380 | &.purple check, |
| 381 | &.purple radio, |
| 382 | &.grape check, |
| 383 | &.grape radio { |
| 384 | background-color: #{'@GRAPE_500'}; |
| 385 | -gtk-icon-shadow: 0 1px 1px #{'@GRAPE_700'}; |
| 386 | } |
| 387 | |
| 388 | &.brown check, |
| 389 | &.brown radio, |
| 390 | &.cocoa check, |
| 391 | &.cocoa radio { |
| 392 | background-color: #{'@COCOA_300'}; |
| 393 | -gtk-icon-shadow: 0 1px 1px #{'@COCOA_500'}; |
| 394 | } |
| 395 | |
| 396 | &.mint check, |
| 397 | &.mint radio { |
| 398 | background-color: #{'@MINT_500'}; |
| 399 | -gtk-icon-shadow: 0 1px 1px #{'@MINT_700'}; |
| 400 | } |
| 401 | |
| 402 | &.pink check, |
| 403 | &.pink radio, |
| 404 | &.bubblegum check, |
| 405 | &.bubblegum radio { |
| 406 | background-color: #{'@BUBBLEGUM_500'}; |
| 407 | -gtk-icon-shadow: 0 1px 1px #{'@BUBBLEGUM_700'}; |
| 408 | } |
| 409 | |
| 410 | &.slate check, |
| 411 | &.slate radio { |
| 412 | background-color: #{'@SLATE_300'}; |
| 413 | -gtk-icon-shadow: 0 1px 1px #{'@SLATE_500'}; |
| 414 | |
| 415 | } |
| 416 | |
| 417 | &.auto radio { |
| 418 | background-image: url("assets/color-button-auto.png"); |
| 419 | background-position: -1px -1px; |
| 420 | background-repeat: no-repeat; |
| 421 | background-size: calc(100% + 2px); |
| 422 | } |
| 423 | } |