1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,245 @@ |
1 |
+@import "../../variables-layout"; |
|
2 |
+ |
|
3 |
+@import "../../../_vendor/node_modules/bootstrap/scss/functions"; |
|
4 |
+@import "../../../_vendor/node_modules/bootstrap/scss/variables"; |
|
5 |
+@import "../../../_vendor/node_modules/bootstrap/scss/mixins"; |
|
6 |
+ |
|
7 |
+@import "../../scss-variables"; |
|
8 |
+@import "../../_theme/variables-layout"; |
|
9 |
+ |
|
10 |
+html body { |
|
11 |
+ .ce_rsce_kachelfeld { |
|
12 |
+ margin-bottom: calc(#{$basic-gutter} - 25px); |
|
13 |
+ |
|
14 |
+ .row { |
|
15 |
+ justify-content: center; |
|
16 |
+ |
|
17 |
+ > div { |
|
18 |
+ margin-bottom: 1rem; |
|
19 |
+ } |
|
20 |
+ } |
|
21 |
+ |
|
22 |
+ &.columns-evenly { |
|
23 |
+ margin-bottom: 0px; |
|
24 |
+ |
|
25 |
+ .ce--inner { |
|
26 |
+ height: 100%; |
|
27 |
+ |
|
28 |
+ .ce--kachelfeld { |
|
29 |
+ height: 100%; |
|
30 |
+ |
|
31 |
+ .row { |
|
32 |
+ height: calc(100% + var(--bs-gutter-x)); |
|
33 |
+ margin-top: calc(-1 * var(--bs-gutter-x) * 0.5); |
|
34 |
+ margin-bottom: calc(-1 * var(--bs-gutter-x) * 0.5); |
|
35 |
+ |
|
36 |
+ > div { |
|
37 |
+ margin-bottom: 0px; |
|
38 |
+ padding-top: calc(var(--bs-gutter-x) * 0.5); |
|
39 |
+ padding-bottom: calc(var(--bs-gutter-x) * 0.5); |
|
40 |
+ } |
|
41 |
+ |
|
42 |
+ .kb--image { |
|
43 |
+ flex: 1; |
|
44 |
+ display: flex; |
|
45 |
+ flex-flow: column wrap; |
|
46 |
+ |
|
47 |
+ .kb--image-holder { |
|
48 |
+ flex: 1; |
|
49 |
+ } |
|
50 |
+ } |
|
51 |
+ } |
|
52 |
+ } |
|
53 |
+ } |
|
54 |
+ } |
|
55 |
+ |
|
56 |
+ .ce--headline + .ce--kachelfeld { |
|
57 |
+ //margin-top: 1.5rem; |
|
58 |
+ } |
|
59 |
+ |
|
60 |
+ .kachelbox { |
|
61 |
+ height: 100%; |
|
62 |
+ background-color: var(--bs-secondary); |
|
63 |
+ position: relative; |
|
64 |
+ transition: background-color 0.3s ease; |
|
65 |
+ box-shadow: $box-shadow; |
|
66 |
+ color: var(--bs-body-color-inverse); |
|
67 |
+ |
|
68 |
+ a.kachel--url { |
|
69 |
+ position: absolute; |
|
70 |
+ left: 0; |
|
71 |
+ top: 0; |
|
72 |
+ height: 100%; |
|
73 |
+ width: 100%; |
|
74 |
+ display: block; |
|
75 |
+ } |
|
76 |
+ |
|
77 |
+ .kachelbox--inner { |
|
78 |
+ padding: rfs-value(0px 30px 30px 30px); |
|
79 |
+ min-height: 100%; |
|
80 |
+ display: flex; |
|
81 |
+ flex-flow: column wrap; |
|
82 |
+ |
|
83 |
+ .kb--image { |
|
84 |
+ text-align: center; |
|
85 |
+ position: relative; |
|
86 |
+ |
|
87 |
+ &.as-bg { |
|
88 |
+ height: rfs-fluid-value(200px); |
|
89 |
+ margin-left: rfs-value(-30px); |
|
90 |
+ margin-right: rfs-value(-30px); |
|
91 |
+ |
|
92 |
+ @include media-breakpoint-up(xxl) { |
|
93 |
+ height: rfs-value(300px); |
|
94 |
+ } |
|
95 |
+ } |
|
96 |
+ |
|
97 |
+ .kb--image-holder { |
|
98 |
+ min-height: 100%; |
|
99 |
+ height: 100%; |
|
100 |
+ |
|
101 |
+ @include media-breakpoint-up(md) { |
|
102 |
+ min-height: rfs-value(200px); |
|
103 |
+ } |
|
104 |
+ } |
|
105 |
+ |
|
106 |
+ img { |
|
107 |
+ width: auto; |
|
108 |
+ max-height: 100%; |
|
109 |
+ padding-top: rfs-value(15px); |
|
110 |
+ padding-bottom: rfs-value(15px); |
|
111 |
+ |
|
112 |
+ @include media-breakpoint-up(lg) { |
|
113 |
+ padding-top: rfs-value(30px); |
|
114 |
+ padding-bottom: rfs-value(30px); |
|
115 |
+ } |
|
116 |
+ } |
|
117 |
+ |
|
118 |
+ i { |
|
119 |
+ @include font-size(85px); |
|
120 |
+ color: var(--bs-primary); |
|
121 |
+ transition: all 0.3s ease; |
|
122 |
+ line-height: rfs-fluid-value(150px); |
|
123 |
+ position: relative; |
|
124 |
+ top: rfs-value(15px); |
|
125 |
+ |
|
126 |
+ @include media-breakpoint-up(xxl) { |
|
127 |
+ //line-height: rfs-value(300px); |
|
128 |
+ } |
|
129 |
+ } |
|
130 |
+ |
|
131 |
+ .column-kachel--wrapper { |
|
132 |
+ transition: all 0.5s ease; |
|
133 |
+ position: absolute; |
|
134 |
+ |
|
135 |
+ @include media-breakpoint-down(md) { |
|
136 |
+ width: 100%; |
|
137 |
+ height: 100%; |
|
138 |
+ } |
|
139 |
+ |
|
140 |
+ > a { |
|
141 |
+ position: absolute; |
|
142 |
+ left: 0; |
|
143 |
+ top: 0; |
|
144 |
+ width: 100%; |
|
145 |
+ height: 100%; |
|
146 |
+ z-index: 5; |
|
147 |
+ } |
|
148 |
+ |
|
149 |
+ &.with-effect { |
|
150 |
+ width: 100%; |
|
151 |
+ height: 100%; |
|
152 |
+ display: flex; |
|
153 |
+ |
|
154 |
+ &:hover { |
|
155 |
+ .column--kachel { |
|
156 |
+ width: 100%; |
|
157 |
+ height: 100%; |
|
158 |
+ |
|
159 |
+ .column-kachel--hover-text { |
|
160 |
+ opacity: 1; |
|
161 |
+ font-size: 1rem; |
|
162 |
+ max-height: 1000px; |
|
163 |
+ transition: all .5s ease; |
|
164 |
+ } |
|
165 |
+ } |
|
166 |
+ } |
|
167 |
+ } |
|
168 |
+ |
|
169 |
+ .column--kachel { |
|
170 |
+ height: 100%; |
|
171 |
+ width: 100%; |
|
172 |
+ padding: 1rem; |
|
173 |
+ transition: all .5s ease; |
|
174 |
+ overflow: hidden; |
|
175 |
+ |
|
176 |
+ @include media-breakpoint-up(md) { |
|
177 |
+ width: rfs-value(175px); |
|
178 |
+ height: rfs-value(175px); |
|
179 |
+ } |
|
180 |
+ |
|
181 |
+ .column-kachel--inner { |
|
182 |
+ //text-align: left; |
|
183 |
+ position: absolute; |
|
184 |
+ top: 50%; |
|
185 |
+ right: 50%; |
|
186 |
+ transform: translate(50%, -50%); |
|
187 |
+ width: 100%; |
|
188 |
+ padding-left: 1rem; |
|
189 |
+ padding-right: 1rem; |
|
190 |
+ |
|
191 |
+ * { |
|
192 |
+ transition: all 0.5s ease-in-out; |
|
193 |
+ } |
|
194 |
+ |
|
195 |
+ > span { |
|
196 |
+ display: block; |
|
197 |
+ @include font-size(18px); |
|
198 |
+ } |
|
199 |
+ |
|
200 |
+ |
|
201 |
+ .column-kachel--hover-text { |
|
202 |
+ |
|
203 |
+ @include media-breakpoint-up(md) { |
|
204 |
+ opacity: 0; |
|
205 |
+ max-height: 0px; |
|
206 |
+ font-size: 0px; |
|
207 |
+ } |
|
208 |
+ |
|
209 |
+ |
|
210 |
+ transition: all .5s ease; |
|
211 |
+ } |
|
212 |
+ } |
|
213 |
+ } |
|
214 |
+ } |
|
215 |
+ } |
|
216 |
+ |
|
217 |
+ > .kb--content { |
|
218 |
+ margin-top: 2rem; |
|
219 |
+ height: 100%; |
|
220 |
+ display: flex; |
|
221 |
+ flex-flow: column wrap; |
|
222 |
+ flex: 1; |
|
223 |
+ |
|
224 |
+ &:first-child { |
|
225 |
+ padding-top: 1.5rem; |
|
226 |
+ } |
|
227 |
+ |
|
228 |
+ .box--headline { |
|
229 |
+ .h5 { |
|
230 |
+ font-weight: $font-weight-bold; |
|
231 |
+ } |
|
232 |
+ } |
|
233 |
+ |
|
234 |
+ .box--text { |
|
235 |
+ } |
|
236 |
+ |
|
237 |
+ .box--button { |
|
238 |
+ padding-top: 1rem; |
|
239 |
+ margin: auto 0 0 0; |
|
240 |
+ } |
|
241 |
+ } |
|
242 |
+ } |
|
243 |
+ } |
|
244 |
+ } |
|
245 |
+} |
|
0 | 246 |
\ No newline at end of file |