blob: f0e10de0cb1dea682de2ffab9bc6e152a3b2b7c9 [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 */
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
33/**
34 * Blue Colors
35 */
36$light-blue: $ids-blue-2; // #cfe6f4;
37$dark-blue: $ids-blue-1; // #73b2f4;
38$darkest-blue: darken($dark-blue, 40%);
39
40
Nils Diewalda1228622015-04-25 01:59:10 +000041/**
42 * Grey Colors
Nils Diewalda944fab2015-04-08 21:02:04 +000043 */
44$middle-grey: $ids-grey-1; // #999;
45$light-grey: $ids-grey-2; // #ddd;
46// $dark-grey: darken($light-grey, 55%); // #555;
47$dark-grey: darken($middle-grey, 15%); // #555;
48// $nearly-white: #f5f5f5;
49$nearly-white: #fff;
50
51$middle-red: #c1002b;
52$light-red: lighten($middle-red, 40%);
53$dark-red: darken($middle-red, 40%);
54
55$dark-shadow: 1px 1px 1px rgba(0,0,0,0.3);
56$light-shadow: 1px 1px rgba(255,255,255,0.5);
57
58$total-results: $light-green;
59
60/**
61 * KWIC colors
62 */
63$kwic-border: $middle-grey;
64$kwic-line-noneven: $light-grey;
65$kwic-line-even: $nearly-white;
66$kwic-match-color: $dark-grey;
67$kwic-match-shadow: $light-shadow;
68
69$kwic-highlight-1: $middle-red;
70$kwic-highlight-2: $dark-blue; // #009ee0;
71$kwic-highlight-3: $dark-orange; // #f29400;
72$kwic-highlight-4: $light-green;
73
74$choose-bg: $light-grey;
75$choose-border-color: $middle-grey;
76$choose-border: 2px solid $choose-border-color;
77$choose-color: $dark-grey;
78$choose-blind-color: $middle-grey;
79$choose-box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
80$standard-border-radius: 6px;
81$item-padding: 3pt 6pt;
82
83/**
84 * Path information
85 */
Nils Diewaldce328112015-04-08 22:48:18 +000086$img-path: '../img';
87$font-path: '../font';
Nils Diewalda944fab2015-04-08 21:02:04 +000088
89/**
90 * Margins
91 */
92$standard-margin: 30px;
Nils Diewald7c8ced22015-04-15 19:21:00 +000093$right-distance: 30px;
Nils Diewalda944fab2015-04-08 21:02:04 +000094$right-match-distance: 20px;
95$logo-left-distance: 230px;
96
Nils Diewald7c8ced22015-04-15 19:21:00 +000097
Nils Diewalda944fab2015-04-08 21:02:04 +000098@mixin blind {
99 position: absolute;
100 margin-left: -3000px;
101}
102
103@mixin choose-item {
104 color: $choose-color;
105 background-color: $choose-bg;
106 border-color: $choose-border-color;
107 text-shadow: $light-shadow;
108}
109
110@mixin choose-hover {
111 color: $nearly-white;
112 text-shadow: none;
113 background-color: $dark-orange;
114 border-color: $darker-orange;
115}
116
Nils Diewalda1228622015-04-25 01:59:10 +0000117@mixin choose-inactive {
118 color: lighten($choose-color, 20%);
119 background-color: lighten($choose-bg, 20%);
120 border-color: transparent;
121 text-shadow: none;
122}
123
Nils Diewalda944fab2015-04-08 21:02:04 +0000124@mixin choose-active {
125 color: $dark-green;
126 text-shadow: none;
127 background-color: $light-green;
128 border-color: $dark-green;
129}
130
131@mixin choose-remove {
132 color: $nearly-white;
133 text-shadow: none;
134 background-color: $middle-red;
135 border-color: $dark-red;
136}
137
138@mixin color-transition {
139 transition: color 0.3s ease 0s;
140}
141
142@mixin standard-text-padding {
143 padding-left: .4em;
144 padding-right: .4em;
145}
146
147@mixin box-sizing-box() {
148 -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
149 -moz-box-sizing: border-box; /* Firefox, other Gecko */
150 box-sizing: border-box; /* Opera/IE 8+ */
151}
152
Nils Diewald1c546922015-04-13 01:56:19 +0000153@mixin light-noise {
154 background-image:url('#{$img-path}/noise.png');
155}
Nils Diewalda944fab2015-04-08 21:02:04 +0000156
157// https://css-tricks.com/almanac/properties/a/appearance/
158@mixin no-appearance {
159 -webkit-appearance:none;
160 -moz-appearance:none;
161 appearance:none;
162}
Nils Diewald2488d052015-04-09 21:46:02 +0000163
164
165/**
166 * Font Awesome symbols
167 */
Nils Diewald7c8ced22015-04-15 19:21:00 +0000168$fa-bars: "\f0c9";
169$fa-extlink: "\f08e";
170$fa-up: "\f0d8";
171$fa-down: "\f0d7";
172$fa-close: "\f00d";
173$fa-info: "\f05a";
174$fa-elipsis: "\f141";
175$fa-previous: "\f0d9";
176$fa-next: "\f0da";
177$fa-search: "\f002";
178$fa-rewrite: "\f040"; // "\f14b"
179$fa-login: "\f090";
180$fa-logout: "\f08b";
181$fa-tutorial: "\f19d";
182$fa-left-align: "\f036";
183$fa-right-align: "\f038";
184$fa-question: "\f128"; // "\f059";