Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame^] | 1 | @import "colors"; |
| 2 | |
| 3 | /** |
| 4 | * Some color definitions and mixins for |
| 5 | * buttons and menus. |
| 6 | */ |
| 7 | $choose-bg: $light-grey; |
| 8 | $choose-color: $dark-grey; |
| 9 | $choose-blind-color: $middle-grey; |
| 10 | $choose-border-color: $middle-grey; |
| 11 | $choose-border: 2px solid $choose-border-color; |
| 12 | $choose-box-shadow: 2px 2px 2px rgba(0,0,0,0.2); |
| 13 | |
| 14 | |
| 15 | /** |
| 16 | * Chooseable items (default) |
| 17 | */ |
| 18 | @mixin choose-item { |
| 19 | color: $choose-color; |
| 20 | background-color: $choose-bg; |
| 21 | border-color: $choose-border-color; |
| 22 | text-shadow: $light-shadow; |
| 23 | } |
| 24 | |
| 25 | |
| 26 | /** |
| 27 | * Chooseable items (mouse over) |
| 28 | */ |
| 29 | @mixin choose-hover { |
| 30 | color: $nearly-white; |
| 31 | background-color: $dark-orange; |
| 32 | border-color: $darker-orange; |
| 33 | text-shadow: none; |
| 34 | } |
| 35 | |
| 36 | |
| 37 | /** |
| 38 | * Chooseable items (not available) |
| 39 | */ |
| 40 | @mixin choose-inactive { |
| 41 | color: lighten($choose-color, 20%); |
| 42 | background-color: lighten($choose-bg, 20%); |
| 43 | border-color: transparent; |
| 44 | text-shadow: none; |
| 45 | } |
| 46 | |
| 47 | /** |
| 48 | * Chooseable items (active) |
| 49 | */ |
| 50 | @mixin choose-active { |
| 51 | color: $dark-green; |
| 52 | background-color: $light-green; |
| 53 | border-color: $dark-green; |
| 54 | text-shadow: none; |
| 55 | } |
| 56 | |
| 57 | |
| 58 | /** |
| 59 | * Chooseable items (action: remove something) |
| 60 | */ |
| 61 | @mixin choose-remove { |
| 62 | color: $nearly-white; |
| 63 | background-color: $middle-red; |
| 64 | border-color: $dark-red; |
| 65 | text-shadow: none; |
| 66 | } |