blob: a4971c427b728dba93dd2367945c225a182ff6f8 [file] [log] [blame]
Nils Diewalda297f062015-04-02 00:23:46 +00001/**
Nils Diewald58141332015-04-07 16:18:45 +00002 * 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/**
Nils Diewalda297f062015-04-02 00:23:46 +000016 * Orange Colors
17 */
18$light-orange: #f4eebb; // #ffe56a;
19$middle-orange: #ffd080;
Nils Diewald58141332015-04-07 16:18:45 +000020$dark-orange: $ids-orange-1; // #ffa500;
Nils Diewalda297f062015-04-02 00:23:46 +000021$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 */
Nils Diewald58141332015-04-07 16:18:45 +000029$dark-green: $ids-green-1; // #496000;
30$middle-green: lighten($ids-green-1, 5%); // $ids-green-1; // #688704;
Nils Diewald44e1edb2015-04-08 19:12:15 +000031$light-green: lighten($ids-green-1, 13%); // #7ba400;
Nils Diewalda297f062015-04-02 00:23:46 +000032
33/**
34 * Blue Colors
35 */
Nils Diewald44e1edb2015-04-08 19:12:15 +000036$light-blue: $ids-blue-2; // #cfe6f4;
37$dark-blue: $ids-blue-1; // #73b2f4;
Nils Diewalda297f062015-04-02 00:23:46 +000038$darkest-blue: darken($dark-blue, 40%);
39
40
41/*
42 * Grey
43 */
Nils Diewald44e1edb2015-04-08 19:12:15 +000044$middle-grey: $ids-grey-1; // #999;
Nils Diewald58141332015-04-07 16:18:45 +000045$light-grey: $ids-grey-2; // #ddd;
Nils Diewald44e1edb2015-04-08 19:12:15 +000046// $dark-grey: darken($light-grey, 55%); // #555;
47$dark-grey: darken($middle-grey, 15%); // #555;
Nils Diewalda297f062015-04-02 00:23:46 +000048// $nearly-white: #f5f5f5;
49$nearly-white: #fff;
50
Nils Diewald58141332015-04-07 16:18:45 +000051$middle-red: #c1002b;
52$light-red: lighten($middle-red, 40%);
53$dark-red: darken($middle-red, 40%);
54
Nils Diewalda297f062015-04-02 00:23:46 +000055$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
Nils Diewald58141332015-04-07 16:18:45 +000069$kwic-highlight-1: $middle-red;
Nils Diewalda297f062015-04-02 00:23:46 +000070$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;
Nils Diewald58141332015-04-07 16:18:45 +000079$choose-box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
Nils Diewalda297f062015-04-02 00:23:46 +000080$standard-border-radius: 6px;
Nils Diewald44e1edb2015-04-08 19:12:15 +000081$item-padding: 3pt 6pt;
Nils Diewalda297f062015-04-02 00:23:46 +000082
83/**
84 * Path information
85 */
86$img-path: '../../img/build';
87$font-path: '../../font';
88
89/**
90 * Margins
91 */
92$standard-margin: 30px;
93$right-match-distance: 20px;
Nils Diewald58141332015-04-07 16:18:45 +000094$logo-left-distance: 230px;
Nils Diewalda297f062015-04-02 00:23:46 +000095
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
Nils Diewald58141332015-04-07 16:18:45 +0000122@mixin choose-remove {
123 color: $nearly-white;
124 text-shadow: none;
125 background-color: $middle-red;
126 border-color: $dark-red;
127}
128
Nils Diewalda297f062015-04-02 00:23:46 +0000129@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}