blob: d81b7f95967de8d475f85a44afff7b4de5f2c395 [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;
31$light-green: lighten($ids-green-1, 10%); // #7ba400;
Nils Diewalda297f062015-04-02 00:23:46 +000032
33/**
34 * Blue Colors
35 */
36$light-blue: #cfe6f4;
37$dark-blue: #73b2f4;
38$darkest-blue: darken($dark-blue, 40%);
39
40
41/*
42 * Grey
43 */
Nils Diewald58141332015-04-07 16:18:45 +000044$light-grey: $ids-grey-2; // #ddd;
Nils Diewalda297f062015-04-02 00:23:46 +000045$dark-grey: #555;
46$middle-grey: #999;
47// $nearly-white: #f5f5f5;
48$nearly-white: #fff;
49
Nils Diewald58141332015-04-07 16:18:45 +000050$middle-red: #c1002b;
51$light-red: lighten($middle-red, 40%);
52$dark-red: darken($middle-red, 40%);
53
Nils Diewalda297f062015-04-02 00:23:46 +000054$dark-shadow: 1px 1px 1px rgba(0,0,0,0.3);
55$light-shadow: 1px 1px rgba(255,255,255,0.5);
56
57$total-results: $light-green;
58
59/**
60 * KWIC colors
61 */
62$kwic-border: $middle-grey;
63$kwic-line-noneven: $light-grey;
64$kwic-line-even: $nearly-white;
65$kwic-match-color: $dark-grey;
66$kwic-match-shadow: $light-shadow;
67
Nils Diewald58141332015-04-07 16:18:45 +000068$kwic-highlight-1: $middle-red;
Nils Diewalda297f062015-04-02 00:23:46 +000069$kwic-highlight-2: $dark-blue; // #009ee0;
70$kwic-highlight-3: $dark-orange; // #f29400;
71$kwic-highlight-4: $light-green;
72
73$choose-bg: $light-grey;
74$choose-border-color: $middle-grey;
75$choose-border: 2px solid $choose-border-color;
76$choose-color: $dark-grey;
77$choose-blind-color: $middle-grey;
Nils Diewald58141332015-04-07 16:18:45 +000078$choose-box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
Nils Diewalda297f062015-04-02 00:23:46 +000079$standard-border-radius: 6px;
80
81/**
82 * Path information
83 */
84$img-path: '../../img/build';
85$font-path: '../../font';
86
87/**
88 * Margins
89 */
90$standard-margin: 30px;
91$right-match-distance: 20px;
Nils Diewald58141332015-04-07 16:18:45 +000092$logo-left-distance: 230px;
Nils Diewalda297f062015-04-02 00:23:46 +000093
94@mixin blind {
95 position: absolute;
96 margin-left: -3000px;
97}
98
99@mixin choose-item {
100 color: $choose-color;
101 background-color: $choose-bg;
102 border-color: $choose-border-color;
103 text-shadow: $light-shadow;
104}
105
106@mixin choose-hover {
107 color: $nearly-white;
108 text-shadow: none;
109 background-color: $dark-orange;
110 border-color: $darker-orange;
111}
112
113@mixin choose-active {
114 color: $dark-green;
115 text-shadow: none;
116 background-color: $light-green;
117 border-color: $dark-green;
118}
119
Nils Diewald58141332015-04-07 16:18:45 +0000120@mixin choose-remove {
121 color: $nearly-white;
122 text-shadow: none;
123 background-color: $middle-red;
124 border-color: $dark-red;
125}
126
Nils Diewalda297f062015-04-02 00:23:46 +0000127@mixin color-transition {
128 transition: color 0.3s ease 0s;
129}
130
131@mixin standard-text-padding {
132 padding-left: .4em;
133 padding-right: .4em;
134}
135
136@mixin box-sizing-box() {
137 -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
138 -moz-box-sizing: border-box; /* Firefox, other Gecko */
139 box-sizing: border-box; /* Opera/IE 8+ */
140}
141
142
143// https://css-tricks.com/almanac/properties/a/appearance/
144@mixin no-appearance {
145 -webkit-appearance:none;
146 -moz-appearance:none;
147 appearance:none;
148}