blob: ee2eec5c81d5135f9b275638fb49f87316ec0f16 [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;
22$darkest-orange: darken($dark-orange, 20%);
23// $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;
93$right-match-distance: 20px;
94$logo-left-distance: 230px;
95
96@mixin blind {
97 position: absolute;
98 margin-left: -3000px;
99}
100
101@mixin choose-item {
102 color: $choose-color;
103 background-color: $choose-bg;
104 border-color: $choose-border-color;
105 text-shadow: $light-shadow;
106}
107
108@mixin choose-hover {
109 color: $nearly-white;
110 text-shadow: none;
111 background-color: $dark-orange;
112 border-color: $darker-orange;
113}
114
115@mixin choose-active {
116 color: $dark-green;
117 text-shadow: none;
118 background-color: $light-green;
119 border-color: $dark-green;
120}
121
122@mixin choose-remove {
123 color: $nearly-white;
124 text-shadow: none;
125 background-color: $middle-red;
126 border-color: $dark-red;
127}
128
129@mixin color-transition {
130 transition: color 0.3s ease 0s;
131}
132
133@mixin standard-text-padding {
134 padding-left: .4em;
135 padding-right: .4em;
136}
137
138@mixin box-sizing-box() {
139 -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
140 -moz-box-sizing: border-box; /* Firefox, other Gecko */
141 box-sizing: border-box; /* Opera/IE 8+ */
142}
143
144
145// https://css-tricks.com/almanac/properties/a/appearance/
146@mixin no-appearance {
147 -webkit-appearance:none;
148 -moz-appearance:none;
149 appearance:none;
150}