blob: 6d2172f70e74355a07f46294d3efb95c94de9f81 [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
41/*
42 * Grey
43 */
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
117@mixin choose-active {
118 color: $dark-green;
119 text-shadow: none;
120 background-color: $light-green;
121 border-color: $dark-green;
122}
123
124@mixin choose-remove {
125 color: $nearly-white;
126 text-shadow: none;
127 background-color: $middle-red;
128 border-color: $dark-red;
129}
130
131@mixin color-transition {
132 transition: color 0.3s ease 0s;
133}
134
135@mixin standard-text-padding {
136 padding-left: .4em;
137 padding-right: .4em;
138}
139
140@mixin box-sizing-box() {
141 -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
142 -moz-box-sizing: border-box; /* Firefox, other Gecko */
143 box-sizing: border-box; /* Opera/IE 8+ */
144}
145
Nils Diewald1c546922015-04-13 01:56:19 +0000146@mixin light-noise {
147 background-image:url('#{$img-path}/noise.png');
148}
Nils Diewalda944fab2015-04-08 21:02:04 +0000149
150// https://css-tricks.com/almanac/properties/a/appearance/
151@mixin no-appearance {
152 -webkit-appearance:none;
153 -moz-appearance:none;
154 appearance:none;
155}
Nils Diewald2488d052015-04-09 21:46:02 +0000156
157
158/**
159 * Font Awesome symbols
160 */
Nils Diewald7c8ced22015-04-15 19:21:00 +0000161$fa-bars: "\f0c9";
162$fa-extlink: "\f08e";
163$fa-up: "\f0d8";
164$fa-down: "\f0d7";
165$fa-close: "\f00d";
166$fa-info: "\f05a";
167$fa-elipsis: "\f141";
168$fa-previous: "\f0d9";
169$fa-next: "\f0da";
170$fa-search: "\f002";
171$fa-rewrite: "\f040"; // "\f14b"
172$fa-login: "\f090";
173$fa-logout: "\f08b";
174$fa-tutorial: "\f19d";
175$fa-left-align: "\f036";
176$fa-right-align: "\f038";
177$fa-question: "\f128"; // "\f059";