Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 1 | /** |
| 2 | * Official IDS colors |
| 3 | */ |
| 4 | $ids-orange-1: rgb(246, 168, 0); |
| 5 | $ids-orange-2: rgb(242, 148, 0); |
| 6 | $ids-grey-1: rgb(135, 136, 138); |
| 7 | $ids-grey-2: rgb(217, 218, 219); |
| 8 | $ids-blue-1: rgb( 0, 158, 224); // Pragmatik |
| 9 | $ids-blue-2: rgb(188, 228, 247); // Pragmatik |
| 10 | $ids-green-1: rgb( 99, 111, 7); // Grammatik |
| 11 | $ids-green-2: rgb(227, 232, 163); // Grammatik |
| 12 | $ids-pink-1: rgb(193, 0, 43); // Lexik |
| 13 | $ids-pink-2: rgb(250, 243, 222); // Lexik |
| 14 | |
| 15 | /** |
| 16 | * Orange Colors |
| 17 | */ |
| 18 | $light-orange: #f4eebb; // #ffe56a; |
| 19 | $middle-orange: #ffd080; |
| 20 | $dark-orange: $ids-orange-1; // #ffa500; |
| 21 | $darker-orange: #ff8000; |
Nils Diewald | 0e6992a | 2015-04-14 20:13:52 +0000 | [diff] [blame] | 22 | $darkest-orange: #e55d00; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 23 | // $light-orange-2: #f4eebb;, #ffd080; |
| 24 | // Yellow: #fff48d |
| 25 | |
| 26 | /** |
| 27 | * Green Colors |
| 28 | */ |
Nils Diewald | 7148c6f | 2015-05-04 15:07:53 +0000 | [diff] [blame] | 29 | $dark-green: $ids-green-1; // #496000; |
| 30 | $middle-green: lighten($ids-green-1, 5%); // $ids-green-1; // #688704; |
| 31 | $light-green: lighten($ids-green-1, 13%); // #7ba400; |
| 32 | $lightest-green: lighten($ids-green-1, 26%); |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 33 | |
| 34 | /** |
| 35 | * Blue Colors |
| 36 | */ |
| 37 | $light-blue: $ids-blue-2; // #cfe6f4; |
| 38 | $dark-blue: $ids-blue-1; // #73b2f4; |
| 39 | $darkest-blue: darken($dark-blue, 40%); |
| 40 | |
| 41 | |
Nils Diewald | a122862 | 2015-04-25 01:59:10 +0000 | [diff] [blame] | 42 | /** |
| 43 | * Grey Colors |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 44 | */ |
| 45 | $middle-grey: $ids-grey-1; // #999; |
| 46 | $light-grey: $ids-grey-2; // #ddd; |
| 47 | // $dark-grey: darken($light-grey, 55%); // #555; |
| 48 | $dark-grey: darken($middle-grey, 15%); // #555; |
| 49 | // $nearly-white: #f5f5f5; |
| 50 | $nearly-white: #fff; |
| 51 | |
| 52 | $middle-red: #c1002b; |
| 53 | $light-red: lighten($middle-red, 40%); |
| 54 | $dark-red: darken($middle-red, 40%); |
| 55 | |
| 56 | $dark-shadow: 1px 1px 1px rgba(0,0,0,0.3); |
| 57 | $light-shadow: 1px 1px rgba(255,255,255,0.5); |
| 58 | |
| 59 | $total-results: $light-green; |
| 60 | |
| 61 | /** |
| 62 | * KWIC colors |
| 63 | */ |
| 64 | $kwic-border: $middle-grey; |
| 65 | $kwic-line-noneven: $light-grey; |
| 66 | $kwic-line-even: $nearly-white; |
| 67 | $kwic-match-color: $dark-grey; |
| 68 | $kwic-match-shadow: $light-shadow; |
| 69 | |
| 70 | $kwic-highlight-1: $middle-red; |
| 71 | $kwic-highlight-2: $dark-blue; // #009ee0; |
| 72 | $kwic-highlight-3: $dark-orange; // #f29400; |
| 73 | $kwic-highlight-4: $light-green; |
| 74 | |
| 75 | $choose-bg: $light-grey; |
| 76 | $choose-border-color: $middle-grey; |
| 77 | $choose-border: 2px solid $choose-border-color; |
| 78 | $choose-color: $dark-grey; |
| 79 | $choose-blind-color: $middle-grey; |
| 80 | $choose-box-shadow: 2px 2px 2px rgba(0,0,0,0.2); |
| 81 | $standard-border-radius: 6px; |
| 82 | $item-padding: 3pt 6pt; |
| 83 | |
| 84 | /** |
| 85 | * Path information |
| 86 | */ |
Nils Diewald | ce32811 | 2015-04-08 22:48:18 +0000 | [diff] [blame] | 87 | $img-path: '../img'; |
| 88 | $font-path: '../font'; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 89 | |
| 90 | /** |
| 91 | * Margins |
| 92 | */ |
Nils Diewald | 4347ee9 | 2015-05-04 20:32:48 +0000 | [diff] [blame^] | 93 | $standard-margin: 40px; |
| 94 | $right-distance: 40px; |
| 95 | $right-match-distance: $standard-margin / 2; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 96 | $logo-left-distance: 230px; |
| 97 | |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 98 | |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 99 | @mixin blind { |
| 100 | position: absolute; |
| 101 | margin-left: -3000px; |
| 102 | } |
| 103 | |
| 104 | @mixin choose-item { |
| 105 | color: $choose-color; |
| 106 | background-color: $choose-bg; |
| 107 | border-color: $choose-border-color; |
| 108 | text-shadow: $light-shadow; |
| 109 | } |
| 110 | |
| 111 | @mixin choose-hover { |
| 112 | color: $nearly-white; |
| 113 | text-shadow: none; |
| 114 | background-color: $dark-orange; |
| 115 | border-color: $darker-orange; |
| 116 | } |
| 117 | |
Nils Diewald | a122862 | 2015-04-25 01:59:10 +0000 | [diff] [blame] | 118 | @mixin choose-inactive { |
| 119 | color: lighten($choose-color, 20%); |
| 120 | background-color: lighten($choose-bg, 20%); |
| 121 | border-color: transparent; |
| 122 | text-shadow: none; |
| 123 | } |
| 124 | |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 125 | @mixin choose-active { |
| 126 | color: $dark-green; |
| 127 | text-shadow: none; |
| 128 | background-color: $light-green; |
| 129 | border-color: $dark-green; |
| 130 | } |
| 131 | |
| 132 | @mixin choose-remove { |
| 133 | color: $nearly-white; |
| 134 | text-shadow: none; |
| 135 | background-color: $middle-red; |
| 136 | border-color: $dark-red; |
| 137 | } |
| 138 | |
| 139 | @mixin color-transition { |
| 140 | transition: color 0.3s ease 0s; |
| 141 | } |
| 142 | |
| 143 | @mixin standard-text-padding { |
| 144 | padding-left: .4em; |
| 145 | padding-right: .4em; |
| 146 | } |
| 147 | |
| 148 | @mixin box-sizing-box() { |
| 149 | -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */ |
| 150 | -moz-box-sizing: border-box; /* Firefox, other Gecko */ |
| 151 | box-sizing: border-box; /* Opera/IE 8+ */ |
| 152 | } |
| 153 | |
Nils Diewald | 1c54692 | 2015-04-13 01:56:19 +0000 | [diff] [blame] | 154 | @mixin light-noise { |
| 155 | background-image:url('#{$img-path}/noise.png'); |
| 156 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 157 | |
| 158 | // https://css-tricks.com/almanac/properties/a/appearance/ |
| 159 | @mixin no-appearance { |
| 160 | -webkit-appearance:none; |
| 161 | -moz-appearance:none; |
| 162 | appearance:none; |
| 163 | } |
Nils Diewald | 2488d05 | 2015-04-09 21:46:02 +0000 | [diff] [blame] | 164 | |
| 165 | |
| 166 | /** |
| 167 | * Font Awesome symbols |
| 168 | */ |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 169 | $fa-bars: "\f0c9"; |
| 170 | $fa-extlink: "\f08e"; |
| 171 | $fa-up: "\f0d8"; |
| 172 | $fa-down: "\f0d7"; |
| 173 | $fa-close: "\f00d"; |
| 174 | $fa-info: "\f05a"; |
| 175 | $fa-elipsis: "\f141"; |
| 176 | $fa-previous: "\f0d9"; |
| 177 | $fa-next: "\f0da"; |
| 178 | $fa-search: "\f002"; |
| 179 | $fa-rewrite: "\f040"; // "\f14b" |
| 180 | $fa-login: "\f090"; |
| 181 | $fa-logout: "\f08b"; |
| 182 | $fa-tutorial: "\f19d"; |
| 183 | $fa-left-align: "\f036"; |
| 184 | $fa-right-align: "\f038"; |
Nils Diewald | fccfbcb | 2015-04-29 20:48:19 +0000 | [diff] [blame] | 185 | $fa-question: "\f128"; // "\f059"; |
| 186 | $fa-checked: "\f046"; |
| 187 | $fa-check: "\f096"; |