3
3
margin : 2em 0 ;
4
4
color : #fff ;
5
5
background-color : var (--color-zentral-primary , #04316a );
6
- $backgrounds : ' 1' , ' 2 ' ;
6
+ $backgrounds : ' 1' , ' rrze ' ;
7
7
@each $background in $backgrounds {
8
8
& .bg-#{$background } {
9
- background-image : url (" ../svg/cta/FAU-Sinuskurven-0 #{$background } .svg" );
9
+ background-image : url (" ../svg/cta/background- #{$background } .svg" );
10
10
background-position : bottom 50% left ;
11
11
background-size : 100% ;
12
12
background-repeat : no-repeat ;
21
21
justify-content : space-between ;
22
22
flex-wrap : wrap ;
23
23
}
24
+ .rrze-2019 & {
25
+ background-color : #005CAE ;
26
+ }
24
27
.cta-content {
25
28
padding : 10px ;
29
+ .rrze-2019 & {
30
+ text-shadow : 0 0 5px #005CAE ;
31
+ }
26
32
@media screen and (min-width : 992px ) {
27
33
flex-basis : 60% ;
28
34
flex-grow : 1 ;
48
54
}
49
55
}
50
56
}
51
- .cta-button-container {
57
+ .cta-button-container ,
58
+ .cta-search-container {
52
59
padding : 10px 1em 1em 10px ;
53
60
display : flex ;
54
61
justify-content : flex-end ;
55
62
@media screen and (min-width : 992px ) {
56
63
position : absolute ;
57
64
bottom : 0 ;
58
65
width : 100% ;
59
- padding-bottom : 2em ;
66
+ padding : 10 px 6.5 em 2em 6.5 em ;
60
67
}
61
68
}
62
69
.cta-button {
66
73
// margin: 1em 0;
67
74
box-shadow : none ;
68
75
text-decoration : none ;
69
- color : var (--color-Text );
76
+ color : var (--color-Text , #222222 );
70
77
font-weight : bold ;
71
78
border-radius : 0 ;
72
79
& :hover , & :focus , & :active {
73
80
box-shadow : none ;
74
81
background-color : var (--color-button-bg , #1f4c7a );
75
82
text-decoration : none ;
83
+ .rrze-2019 & {
84
+ background-color : #00458C ;
85
+ color : #ffffff ;
86
+ }
87
+ }
88
+ .rrze-2019 & {
89
+ color : #393944 ;
76
90
}
77
91
.rrze-elements-icon {
78
92
margin-left : 1em ;
83
97
border-radius : 0 !important ;
84
98
}
85
99
@media screen and (min-width : 992px ) {
86
- position : relative ;
87
- right : 15% ;
88
- max-width : 80% ;
100
+ max-width : 100% ;
89
101
font-size : 1.25em ;
90
102
padding : 0.65em 1.5em 0.65em 2.5em ;
91
103
}
92
104
}
105
+ .cta-search {
106
+ width : 100% ;
107
+ display : flex ;
108
+ justify-content : flex-end ;
109
+ @media screen and (min-width : 992px ) {
110
+ // position: relative;
111
+ // right: 15%;
112
+ max-width : 100% ;
113
+ // font-size: 1.25em;
114
+ // padding: 0.65em 1.5em 0.65em 2.5em;
115
+ }
116
+ label {
117
+ @include hideout ();
118
+ }
119
+ input [type = " text" ] {
120
+ margin : 0 ;
121
+ width : clamp (20ch ,50ch ,100% );
122
+ }
123
+ input [type = " text" ],
124
+ input [type = " submit" ],
125
+ button [type = " submit" ] {
126
+ border-radius : 0 ;
127
+ border : none ;
128
+ font-size : 1rem ;
129
+ height : 3em ;
130
+ margin : 0 ;
131
+ }
132
+ input [type = " text" ] {
133
+ background-color : #fff ;
134
+ }
135
+ input [type = " submit" ],
136
+ button [type = " submit" ] {
137
+ position : relative ;
138
+ padding-left : 1em ;
139
+ padding-right : 1em ;
140
+ background-color : #fff ;
141
+ color : var (--color-Text , #222222 );
142
+ .rrze-2019 & {
143
+ color : #393944 ;
144
+ }
145
+ svg {
146
+ top : 0 ;
147
+ }
148
+ & :hover , & :focus , & .active {
149
+ background-color : var (--color-button-bg , #004a9f );
150
+ color : #fff ;
151
+ svg {
152
+ fill : #fff !important ;
153
+ }
154
+ .rrze-2019 & {
155
+ background-color : #00458c ;
156
+ }
157
+ }
158
+ }
159
+ }
93
160
.cta-image {
94
161
display : none ;
95
162
img {
104
171
}
105
172
106
173
}
174
+ & .style-small {
175
+ background-size : cover ;
176
+ .cta-content {
177
+ @media screen and (min-width : 992px ) {
178
+ padding : min (5% ,2em ) min (5% ,2em ) 120px ;
179
+ }
180
+ }
181
+ .cta-image {
182
+ min-width : 0 ;
183
+ }
184
+ .cta-button-container ,
185
+ .cta-search-container {
186
+ padding : 10px ;
187
+ @media screen and (min-width : 992px ) {
188
+ padding : 0 min (5% , 2em ) min (5% , 2em );
189
+ }
190
+ }
191
+ .cta-button {
192
+ @media screen and (min-width : 992px ) {
193
+ position : static ;
194
+ max-width : 100% ;
195
+ padding : .5em 1em ;
196
+ }
197
+ .rrze-elements-icon {
198
+ margin-left : .25em ;
199
+ }
200
+ }
201
+ & .no-image {
202
+ .cta-content {
203
+ @media screen and (min-width : 992px ) {
204
+ padding : min (5% , 2em ) min (5% , 2em ) 120px ;
205
+ }
206
+ @media screen and (min-width : 1200px ) {
207
+ min-height : auto ;
208
+ }
209
+ }
210
+ }
211
+ }
107
212
& .no-image {
108
213
.cta-button {
109
214
@media screen and (min-width : 992px ) {
119
224
min-height : 360px ;
120
225
}
121
226
}
122
- .cta-button-container {
227
+ .cta-button-container ,
228
+ .cta-search-container {
123
229
@media screen and (min-width : 992px ) {
124
230
padding-right : 4em ;
125
231
padding-left : 4em ;
130
236
background-position : left bottom ;
131
237
}
132
238
}
239
+ & .bg-rrze {
240
+ background-size : cover ;
241
+ background-position : center center ;
242
+ }
243
+ & .style-small {
244
+ .cta-button-container ,
245
+ .cta-search-container {
246
+ @media screen and (min-width : 992px ) {
247
+ padding-right : min (5% ,2em );
248
+ padding-left : min (5% ,2em );
249
+ }
250
+ }
251
+ }
133
252
}
134
-
135
253
}
0 commit comments