Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
// Create a compiled.SCSS file for all sub-themes
// which imports the respective parent theme's compiled.scss
// in the cascade AND extends it. This way we ALWAYS have an UP-TO-DATE compiled.CSS imported
// which includes all finc styles plus all subsequent customizations.
// [I.e.: finc's compiled.scss imports bootstrap3/scss/compiled.scss and
// the house-specific branches such as fid_adlr then import finc/scss/compiled.scss
// 0. NOTE TO DEVELOPERS
// Do NOT EDIT compiled.CSS -- all CSS files should be generated from SCSS files
// 1. KEY VARIABLES and MIXINS
// Define or re-define KEY VARIABLES and MIXINS in this file (see 1.1 ff below) OR import your own
@import 'customVariables';
@import 'customMixins';
// 1.1 FONTS
// ++ USE EITHER
// ++ ++ font-size: ($font-size-base * 1.5)
// ++ OR
// ++ ++ use the em-calculator function, like so: font-size: em(14)
// 1.2 DO NOT define site-specific colours in finc's SCSS files
// - this must be done in your site-specific themes
// 2. For Media queries use:
// Extra small screen / phone: '$screen-xs-max' (=767px);
// Small screen / tablet: '$screen-sm-min' (=768px);
// Medium screen / desktop: '$screen-md-min' (=992px) and
// Large screen / wide desktop: '$screen-lg-min' (=1200px);
// The MAXimum ranges are defined as the next higher element minus 1px, so:
// '$screen-xs-max' = $screen-sm-min - 1 etc
// you can use '$screen-xs-max', '$screen-sm-max' and '$screen-md-max'
// 3. Import finc's compiled.scss to have the variables and mixins defined above applied to it
@import '../../finc/scss/compiled';
// 4. Customize further -- pls. comment and explain
// PLEASE ORGANIZE YOUR CSS ACCORDING TO THIS GENERAL RULE - keep exceptions to a minimum
// *, html, body
// h1, h2, h3, h4, h5, h6,
// p,
// address, blockquote, pre,
// ul, ol, li, dl, dt, dd,
// table, caption, tr, th, td,
// form, fieldset, legend, label, select, input, textarea,
// div,
// img,
// a,
// strong, em, abbr, q, cite, code, kbd, var,
// span,
// #id,
// .class
// Frequently used classes
// Custom areas of the theme
// IDs and classes come last and should (if possible) be ordered according
// to their appearance on the page, e.g. header, breadcrumbs, main ...
// Please sort selectors alphabetically, like so
// .foo {
// border: 1px solid red;
// margin-left: 1em;
// padding: 0 ($grid-gutter-width / 2);
// width: auto;
// }
//
// HTML
// BODY
body {
// color: $black;
background-color: $white;
background-position: top right;
background-repeat: no-repeat;
// set default to OPEN SANS
font-family: $font-family-sans-serif;
@media screen and (max-width: $screen-xs-max) {
background-image: url('../images/header-bg-xs.png');
background-position: -390px $navbar-header-height-xs-sm;
}
@media screen and (min-width: $screen-sm-min) {
background-image: url('../images/header-bg-sm.png');
}
@media screen and (min-width: $screen-lg-min) {
background-image: url('../images/header-bg-lg.png');
}
}
// HEADINGS
h1,
h2,
h3,
h4,
h5 {
// set headings to UBUNTU MONO
font-family: $font-family-monospace;
}
// ++ h1
h1 {
font-size: em(63px);
font-weight: bold;
letter-spacing: em(4.2px);
line-height: em(69px);
}
// ++ h2
h2 {
font-size: em(43px);
font-weight: bold;
letter-spacing: em(2.87px);
line-height: em(53px);
}
// ++ h3
h3 {
font-size: em(30px);
font-weight: bold;
line-height: em(34px);
}
// ++ h4
h4 {
font-size: em(24px);
font-weight: bold;
letter-spacing: em(1px);
text-transform: uppercase;
}
// ++ h5
h5 {
font-size: em(18px);
font-weight: bold;
letter-spacing: em(2px);
text-transform: uppercase;
}
// HEADINGS - END
// Paragraphs
// ++ p {}
// Paragraphs - END
// LISTS
// ++ ul,
// ++ ol {}
// ++ li {}
// ++ dl {}
// ++ dt {}
// ++ dd {}
// LISTS - END
// TABLES
table {
border: 0;
margin-top: 20px;
width: 100%;
}
// ++ caption {}
// ++ tr {}
// ++ th {}
// ++ td {}
// TABLES - END
// FORMS
// ++ Fieldsets
// ++ Legend elements
// ++ label {}
.sort label,
.limit label {
//
}
// ++ input {}
// ++ Select {}
// ++ textarea {}
input,
textarea {
//border-color: $silver;
//border-radius: 5px;
}
// FORMS - END
// IMAGES
// img {}
// IMAGES - END
// LINKS
a {
text-decoration: underline;
}
// LINKS - END
// TEXT DECORATION
// strong {}
// em {}
// TEXT DECORATION - END
// CLASSES (Elements that are used in several places)
// ++ HELPER Classes
.large-text {
font-size: em(24px);
line-height: em(45px);
}
.large-text.light {
color: $asphalt;
}
.small-text {
color: $asphalt;
font-size: em(16px);
}
// FIXME: Check for more elegant way to apply colors
.error-color {
color: $brand-danger;
}
.highlighter-color {
color: $violet;
}
.primary {
color: $azure;
}
.secondary {
color: $seafoam;
}
.warning-color {
color: $amber;
}
.white {
color: $white;
}
// ++ HELPER Classes - END
// ++ ALERTS
// ++ ALERTS - END
// ++ BUTTONS
.btn-lg {
@include large-btn;
@media screen and (max-width: $screen-xs-max) {
}
}
// ++ BUTTONS - END
// ++ DROPDOWNS
// ++ DROPDOWNS - END
// ++ MODALS
// ++ MODALS - END
// PAGE ELEMENTS (Top --> Down) ++
// ++ HEADER
// ++++ Header width reset.
header,
.navbar,
.breadcrumbs {
background-color: transparent;
// FIXME: REMOVE, when 15639 has been merged to finc
width: auto;
}
header {
// Calculate height of background to match combined height of elements
@media screen and (max-width: $screen-xs-max) {
height: calc(#{$header-text-box-height-xs} + #{$navbar-header-height-xs-sm});
}
}
// Navbar in affix mode
.navbar.affix {
border: 0;
}
//
.navbar-header {
@media screen and (max-width: $screen-sm-max) {
background-color: $white;
// Define Position of navbar-brand Logo here!
height: $navbar-header-height-xs-sm;
padding: 30px 15px 20px 20px;
.navbar-toggle {
color: $brand-primary;
// for middle-alignment
padding: 0;
}
// ++++ Banner, Logo and home link
.banner {
// max-width: em(1250px);
width: 100%;
@media screen and (max-width: $screen-xs-min) {
margin-left: 0;
margin-right: 0;
@media screen and (min-width: $screen-sm-min) {
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
@media screen and (min-width: $screen-lg-min) {
}
&.container {
padding-left: 0;
padding-right: 0;
@media screen and (min-width: $screen-lg-min) {
padding-left: 20px;
padding-top: 40px;
}
// Logo position
.navbar-brand {
margin-left: 15px;
}
// Menu toggler position
.navbar-toggle {
margin-right: 15px;
}
}
// AFFIX state
&.affix {}
}
.navbar-brand {
// DEFINE BG IMAGE
// $screen-xs-max = 767px
// Fallback image IE & Co
background: url('../images/logo.png') no-repeat;
// SVG (modern browsers), linear-gradient used to pick out browsers that support SVG
background: url('../images/logo.svg') no-repeat, linear-gradient(transparent, transparent);
background-size: contain;
color: transparent;
min-width: 180px;
// 768px and up
@media screen and (min-width: $screen-sm-min) {
// Fallback image IE & Co
background: url('../images/logo.png') no-repeat;
// SVG (modern browsers), linear-gradient used to pick out browsers that support SVG
background: url('../images/logo.svg') no-repeat, linear-gradient(transparent, transparent);
background-size: contain;
display: inline-block !important; // FIX for Safari + Android Stock Browser - ATTN! might kill visibility in IE11
min-height: 56px; // FIX for Safari + Android Stock Browser
min-width: 168px !important; // FIX for Safari + Android Stock Browser - ATTN! might kill visibility in IE11
}
// 992px and up
@media screen and (min-width: $screen-md-min) {
// Fallback image IE & Co
background: url('../images/logo.png') no-repeat;
// SVG (modern browsers), linear-gradient used to pick out browsers that support SVG
background: url('../images/logo.svg') no-repeat, linear-gradient(transparent, transparent);
display: inline-block !important; // FIX for Safari + Android Stock Browser - ATTN! might kill visibility in IE11
// Collapsed navbar height in fid_adlr = 134px
height: em(134px);
min-height: em(134px); // FIX for Safari + Android Stock Browser
min-width: em(266px) !important; // FIX for Safari + Android Stock Browser - ATTN! might kill visibility in IE11
}
// hide home link for non-visually impaired to show logo only
a,
&:hover,
&:focus {
color: transparent;
// ++++ Logo and home link - END
// ++++ Header text
// ++++++ set default first, then define for home page
body:not(.template-name-home) {
.header-text.container {
display: none;
}
}
.template-name-home .header-text {
color: $brand-secondary;
&.container {
@media screen and (max-width: $screen-xs-max) {
height: $header-text-box-height-xs;
padding-top: 55px;
@media screen and (max-width: $screen-xs-max) {
// Add correct data for font-size, letter-spacing, lineheight, texttransform
@include default-headings-font(26px, 1.7px, 36px, none);
}
@media screen and (min-width: $screen-sm-min) {
@include default-headings-font(26px, 1.7px, 36px, none);
}
@media screen and (min-width: $screen-lg-min) {
@include default-headings-font(63px, 4.27px, 69px, none);
margin-bottom: 70px;
text-align: right;
width: 1250px;
}
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
// ++++++ Hide header text when affix is applied
.banner.affix {
.header-text {
display: none;
}
}
// ++++ Header text - END
// ++++ SEARCH BOX
.search.container {
background-color: transparent;
.sbox-dd-menu {
background-color: transparent;
border: 0;
}
@media screen and (max-width: $screen-sm-max) {
margin-top: -280px;
padding-left: $content-l-r-padding;
// Make DD-Button 100% wide
.sbox-dd .dropdown-toggle {
height: $search-input-height-xs;
width: 100%;
}
// AFFIX state
&.affix {
background-color: $header-bg-color;
// FIXME solve differently, apply bg image when in top position or similar - CK
background-image: url('../images/header-srch-affix-bg-xs.png');
background-position: bottom center;
margin-top: 0;
padding-bottom: 40px;
padding-top: 40px;
width: 100%;
}
// STATIC State
&:not(.affix) {
// Hide toggler + show DD contents
@include searchbox-toggler-and-content-styles;
}
}
@media screen and (min-width: $screen-lg-min) {
// Hide toggler + show DD contents
@include searchbox-toggler-and-content-styles;
width: 1250px;
.btn-lg {
margin-top: 0;
}
}
.searchForm {
display: inline-block;
}
}
.searchbox {
// Outer Box
background-color: $brand-primary;
padding: 30px 20px;
@media screen and (min-width: $screen-sm-min) {
}
@media screen and (min-width: $screen-lg-min) {
height: em(300px);
padding: 55px 20px 55px 50px;
width: 1040px;
}
// Outer Box - END
}
// ++++++ NavTabs
.nav-tabs {
border-bottom: 0;
margin-bottom: 1em;
@media screen and (min-width: $screen-sm-min) {
margin-bottom: 2.5em;
}
@media screen and (min-width: $screen-lg-min) {
margin-bottom: 2.5em;
}
> li {
> a {
@include search-nav-tab-styles(transparent, transparent, transparent);
}
}
> li.active {
> a,
a:hover,
a:focus {
@include search-nav-tab-styles($white, $white, $white);
}
}
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
// ++++++ NavTabs - END
// ++++++ Search input field
input.searchForm_lookfor {
// overwrite border definitions input[type="text"]
border: 3px solid $white;
color: $white;
&::placeholder,
&:placeholder-shown {
color: $white;
}
}
.searchForm_lookfor {
@include default-border-radius;
background-color: transparent;
height: $search-input-height-xs;
width: $search-input-width-xs;
@media screen and (min-width: $screen-sm-min) {
height: $search-input-height-sm;
width: $search-input-width-sm;
}
@media screen and (min-width: $screen-lg-min) {
height: $search-input-height-lg;
width: $search-input-width-lg;
}
&.form-control {
@media screen and (min-width: $screen-lg-min) {
max-width: $search-input-width-lg;
width: $search-input-width-lg;
}
}
}
// Set font size for input field and advanced search link
.searchForm_lookfor,
.adv-srch-btn {
@media screen and (max-width: $screen-sm-max) {
font-size: 16px;
}
}
// ++++++ Search input field - END
// ++++++ Quick filter
.quickfilter {
height: $search-input-height-xs;
margin-left: -3em;
padding: 15px 0;
@media screen and (min-width: $screen-sm-min) {
}
@media screen and (min-width: $screen-lg-min) {
height: $search-input-height-lg;
}
.btn-transparent {
border: 1px solid transparent;
&:hover,
&:focus {
background: transparent;
color: $brand-secondary;
}
}
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
// Set color for Quickfilter Dropdown button
#quickfilter-dd {
color: $white;
// when opened
.quickfilter.open & {
background: transparent;
color: $brand-warning;
}
}
// Set hover colors for Quickfilter Dropdown button, Search button and Advanced Search button
#quickfilter-dd,
.search-button,
.adv-srch-btn {
&:hover,
&:focus {
color: $brand-warning;
}
}
// ++++++ Quick filter - END
// ++++++ Search Button
.find-button {
@media screen and (max-width: $screen-xs-max) {
float: none !important; // keep !important -- overwrites ".searchForm .list-unstyled li" -- CK
}
@media screen and (min-width: $screen-lg-min) {
margin-left: 30px;
}
}
.find-label {
@include default-border-radius;
@include large-btn;
height: $search-input-height-lg;
}
// ++++++ Search Button
// ++++++ Adv. Search Link
.adv-srch-btn {
color: $white;
display: inline-block;
margin-top: 1em;
}
// ++++++ Adv. Search Link - END
// ********************************************************
// .template-name-home -- searchbox auf homepage unterscheiden von der auf anderen seiten
// headr
// ********************************************************
// ++++ SEARCH BOX - END
// ++ HEADER - END
// ++ SEARCH-RESULTS PAGE
// ++ SEARCH-RESULTS PAGE - END
// ++ DETAILS/RECORD VIEW PAGE
// ++ DETAILS/RECORD VIEW - END
// ++ ADVANCED SEARCH
// ++ ADVANCED SEARCH - END
// PAGE ELEMENTS (Top --> Down) - END