blob: 7f5f72383a5ff0b12fb96a5ba7895885b226ba11 [file] [log] [blame]
Nils Diewalda944fab2015-04-08 21:02:04 +00001/**
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 Diewald0e6992a2015-04-14 20:13:52 +000022$darkest-orange: #e55d00;
Nils Diewalda944fab2015-04-08 21:02:04 +000023// $light-orange-2: #f4eebb;, #ffd080;
24// Yellow: #fff48d
25
26/**
27 * Green Colors
28 */
Nils Diewald7148c6f2015-05-04 15:07:53 +000029$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 Diewalda944fab2015-04-08 21:02:04 +000033
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 Diewalda1228622015-04-25 01:59:10 +000042/**
43 * Grey Colors
Nils Diewalda944fab2015-04-08 21:02:04 +000044 */
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 Diewaldce328112015-04-08 22:48:18 +000087$img-path: '../img';
88$font-path: '../font';
Nils Diewalda944fab2015-04-08 21:02:04 +000089
90/**
91 * Margins
92 */
93$standard-margin: 30px;
Nils Diewald7c8ced22015-04-15 19:21:00 +000094$right-distance: 30px;
Nils Diewalda944fab2015-04-08 21:02:04 +000095$right-match-distance: 20px;
96$logo-left-distance: 230px;
97
Nils Diewald7c8ced22015-04-15 19:21:00 +000098
Nils Diewalda944fab2015-04-08 21:02:04 +000099@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 Diewalda1228622015-04-25 01:59:10 +0000118@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 Diewalda944fab2015-04-08 21:02:04 +0000125@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 Diewald1c546922015-04-13 01:56:19 +0000154@mixin light-noise {
155 background-image:url('#{$img-path}/noise.png');
156}
Nils Diewalda944fab2015-04-08 21:02:04 +0000157
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 Diewald2488d052015-04-09 21:46:02 +0000164
165
166/**
167 * Font Awesome symbols
168 */
Nils Diewald7c8ced22015-04-15 19:21:00 +0000169$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 Diewaldfccfbcb2015-04-29 20:48:19 +0000185$fa-question: "\f128"; // "\f059";
186$fa-checked: "\f046";
187$fa-check: "\f096";