-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_updates.scss
166 lines (147 loc) · 4.38 KB
/
_updates.scss
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
// *
// * Erdmann & Freunde
// * SIRIUS Contao Theme
// * erdmann-freunde.de/themes/sirius/
// *
//
// UPDATES
// --------------------------------------------------
// VERSION 2.0.1
// COMPONENTS/CONTACT
.ce_contact {
.row & {
margin-bottom: 0;
}
.contact__details {
.inside {
div:last-child {
margin-bottom: 0;
}
}
}
}
// --------------------------------------------------
// VERSION 2.1.0
// VARIABLES
@media (prefers-color-scheme: dark) {
:root {
--color-page-background: #111;
--color-text: #FFF;
--button-color: var(--color-text);
--card-color: var(--color-text);
--card-headline-color: var(--color-text);
--contact-color: var(--color-text);
--article-highlight-text: var(--color-text);
--layout-footer-color: var(--color-text);
--nav-mobile-color-background: rgba(0, 0, 0, 0.8);
--forms-input-background: #FFF;
}
}
// COMPONENTS/CARD
.ce_card {
.card__headline {
background: var(--card-headline-color);
}
}
//COMPONENTS/MEDIA
[id='colorbox'] {
[id='cboxPrevious'],
[id='cboxNext'],
[id='cboxClose'] {
color: var(--color-text);
}
}
// --------------------------------------------------
// VERSION 2.2.1
// BASE/GRID
.row--overflow {
grid-template-columns: repeat(var(--grid-columns), auto);
}
// --------------------------------------------------
// VERSION 2.3.0
// DEFAULT
// import this @import 'components/description-list';
// VARIABLES
:root {
--base-border-color: rgba(0, 0, 0, 0.2);
--swiper-navigation-size: 2rem;
--swiper-navigation-color: var(--color-text-inverted);
--swiper-pagination-bullet-size: 0.5rem;
--swiper-pagination-bullet-inactive-color: var(--color-text-inverted);
--swiper-pagination-color: var(--color-brand);
--accordion-spacing: var(--base-spacing-unit-sm);
--accordion-border-radius: 0;
--accordion-toggler-font-size: inherit;
--accordion-toggler-font-weight: inherit;
--accordion-toggler-background: transparent;
--accordion-toggler-color: var(--color-brand-secondary);
--accordion-toggler-color-hover: var(--color-brand-secondary-dark);
--accordion-toggler-spacing: var(--base-spacing-unit-xs);
--accordion-toggler-border: var(--base-border);
--accordion-toggler-spacing: var(--base-spacing-unit-xs) var(--base-spacing-unit-sm);
--accordion-toggler-icon-size: 1.25;
--accordion-toggler-border-radius: 0;
--accordion-content-spacing: var(--base-spacing-unit-sm) var(--base-spacing-unit-sm) var(--base-spacing-unit);
--accordion-content-background: transparent;
--accordion-content-border: var(--base-border);
--description-term-font-size: 1rem;
--description-term-font-weight: 700;
}
@media (prefers-color-scheme: dark) {
:root {
--base-border-color: rgba(255, 255, 255, 0.2);
}
}
// COMPONENTS/DESCRIPTION-LIST
.content-description-list {
dl {
margin-top: 0;
}
dt {
font-size: var(--description-term-font-size);
font-weight: var(--description-term-font-weight);
margin-top: var(--base-spacing-unit);
margin-bottom: var(--base-spacing-unit-sm);
&:first-of-type {
margin-top: 0;
}
}
dd {
margin-bottom: var(--base-spacing-unit-xs);
}
}
// COMPONENTS/ACCORDION
.content-accordion {
.handorgel__header {
.handorgel__header__button {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
text-align: left;
border-radius: var(--accordion-toggler-border-radius);
font-weight: var(--accordion-toggler-font-weight);
&::after {
content: '+';
margin-left: auto;
margin-right: 0;
-webkit-transition: -webkit-transform 0.3s;
transition: -webkit-transform 0.3s;
transition: transform 0.3s;
transition: transform 0.3s, -webkit-transform 0.3s;
-webkit-transform: rotate(0) scale(var(--accordion-toggler-icon-size));
transform: rotate(0) scale(var(--accordion-toggler-icon-size)); // [1]
}
}
&--open {
.handorgel__header__button {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
&::after {
-webkit-transform: rotate(45deg) scale(var(--accordion-toggler-icon-size));
transform: rotate(45deg) scale(var(--accordion-toggler-icon-size)); // [1];
}
}
}
}
}
// --------------------------------------------------