wagtail-enap-designsystem 1.2.1.145__py3-none-any.whl → 1.2.1.147__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of wagtail-enap-designsystem might be problematic. Click here for more details.
- enap_designsystem/blocks/__init__.py +2 -0
- enap_designsystem/blocks/html_blocks.py +88 -0
- enap_designsystem/models.py +81 -13
- enap_designsystem/static/enap_designsystem/blocks/apresentacao_block.css +174 -0
- enap_designsystem/static/enap_designsystem/blocks/cards_section.css +112 -0
- enap_designsystem/static/enap_designsystem/blocks/cards_titles.css +229 -0
- enap_designsystem/static/enap_designsystem/blocks/carousel_images.css +323 -0
- enap_designsystem/static/enap_designsystem/blocks/carousel_responsive.css +522 -0
- enap_designsystem/static/enap_designsystem/blocks/carousel_responsivo_snippet.css +294 -0
- enap_designsystem/static/enap_designsystem/blocks/clientes_block.css +146 -0
- enap_designsystem/templates/enap_designsystem/base.html +8 -1
- enap_designsystem/templates/enap_designsystem/blocks/apresentacao_block.html +10 -8
- enap_designsystem/templates/enap_designsystem/blocks/apresentacao_simple_block.html +4 -3
- enap_designsystem/templates/enap_designsystem/blocks/banner.html +14 -1
- enap_designsystem/templates/enap_designsystem/blocks/banner_logo.html +15 -1
- enap_designsystem/templates/enap_designsystem/blocks/card_block.html +2 -2
- enap_designsystem/templates/enap_designsystem/blocks/cards_section.html +2 -109
- enap_designsystem/templates/enap_designsystem/blocks/cards_titles.html +11 -3
- enap_designsystem/templates/enap_designsystem/blocks/carousel.html +1 -187
- enap_designsystem/templates/enap_designsystem/blocks/carousel_images.html +17 -314
- enap_designsystem/templates/enap_designsystem/blocks/carousel_responsive.html +0 -328
- enap_designsystem/templates/enap_designsystem/blocks/carousel_responsivo_snippet.html +3 -197
- enap_designsystem/templates/enap_designsystem/blocks/clientes_block.html +9 -152
- enap_designsystem/templates/enap_designsystem/blocks/footer_block.html +122 -0
- enap_designsystem/templates/enap_designsystem/blocks/section_block.html +1 -1
- enap_designsystem/templates/enap_designsystem/blocks/video_hero_banner.html +1 -2
- enap_designsystem/templates/enap_designsystem/pages/showcase_components.html +501 -180
- {wagtail_enap_designsystem-1.2.1.145.dist-info → wagtail_enap_designsystem-1.2.1.147.dist-info}/METADATA +1 -1
- {wagtail_enap_designsystem-1.2.1.145.dist-info → wagtail_enap_designsystem-1.2.1.147.dist-info}/RECORD +32 -24
- {wagtail_enap_designsystem-1.2.1.145.dist-info → wagtail_enap_designsystem-1.2.1.147.dist-info}/WHEEL +0 -0
- {wagtail_enap_designsystem-1.2.1.145.dist-info → wagtail_enap_designsystem-1.2.1.147.dist-info}/licenses/LICENSE +0 -0
- {wagtail_enap_designsystem-1.2.1.145.dist-info → wagtail_enap_designsystem-1.2.1.147.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
.carousel-responsivo {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 100%;
|
|
4
|
+
margin-bottom: 2rem;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.carousel-responsivo__title {
|
|
8
|
+
text-align: center;
|
|
9
|
+
margin-bottom: 2rem;
|
|
10
|
+
font-size: 2rem;
|
|
11
|
+
font-weight: 700;
|
|
12
|
+
color: var(--enap-primary-color, #1976d2);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.carousel-responsivo__container {
|
|
16
|
+
position: relative;
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: var(--carousel-height-mobile);
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
border-radius: 0.5rem;
|
|
21
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@media (min-width: 768px) {
|
|
25
|
+
.carousel-responsivo__container {
|
|
26
|
+
height: var(--carousel-height-desktop);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.carousel-responsivo__slides {
|
|
31
|
+
position: relative;
|
|
32
|
+
width: 100%;
|
|
33
|
+
height: 100%;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.carousel-responsivo__slide {
|
|
37
|
+
position: absolute;
|
|
38
|
+
top: 0;
|
|
39
|
+
left: 0;
|
|
40
|
+
width: 100%;
|
|
41
|
+
height: 100%;
|
|
42
|
+
opacity: 0;
|
|
43
|
+
transition: opacity 0.6s ease-in-out;
|
|
44
|
+
display: flex;
|
|
45
|
+
align-items: center;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.carousel-responsivo__slide[data-active="true"] {
|
|
49
|
+
opacity: 1;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* Efeito Fade */
|
|
53
|
+
.carousel-responsivo[data-efeito="fade"] .carousel-responsivo__slide {
|
|
54
|
+
transition: opacity 0.8s ease-in-out;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* Efeito Slide */
|
|
58
|
+
.carousel-responsivo[data-efeito="slide"] .carousel-responsivo__slide {
|
|
59
|
+
transform: translateX(100%);
|
|
60
|
+
transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.carousel-responsivo[data-efeito="slide"] .carousel-responsivo__slide[data-active="true"] {
|
|
64
|
+
transform: translateX(0);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.carousel-responsivo__picture {
|
|
68
|
+
position: absolute;
|
|
69
|
+
top: 0;
|
|
70
|
+
left: 0;
|
|
71
|
+
width: 100%;
|
|
72
|
+
height: 100%;
|
|
73
|
+
z-index: 1;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.carousel-responsivo__image {
|
|
77
|
+
width: 100%;
|
|
78
|
+
height: 100%;
|
|
79
|
+
object-fit: cover;
|
|
80
|
+
object-position: center;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.carousel-responsivo__overlay {
|
|
84
|
+
position: absolute;
|
|
85
|
+
top: 0;
|
|
86
|
+
left: 0;
|
|
87
|
+
width: 100%;
|
|
88
|
+
height: 100%;
|
|
89
|
+
background: linear-gradient(
|
|
90
|
+
135deg,
|
|
91
|
+
rgba(0, 0, 0, 0.6) 0%,
|
|
92
|
+
rgba(0, 0, 0, 0.3) 50%,
|
|
93
|
+
rgba(0, 0, 0, 0.1) 100%
|
|
94
|
+
);
|
|
95
|
+
z-index: 2;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.carousel-responsivo__content {
|
|
99
|
+
position: relative;
|
|
100
|
+
z-index: 3;
|
|
101
|
+
width: 100%;
|
|
102
|
+
padding: 2rem 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.carousel-responsivo__text-wrapper {
|
|
106
|
+
max-width: 600px;
|
|
107
|
+
color: white;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.carousel-responsivo__slide--left .carousel-responsivo__text-wrapper {
|
|
111
|
+
margin-left: 0;
|
|
112
|
+
text-align: left;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.carousel-responsivo__slide--center .carousel-responsivo__text-wrapper {
|
|
116
|
+
margin: 0 auto;
|
|
117
|
+
text-align: center;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.carousel-responsivo__slide--right .carousel-responsivo__text-wrapper {
|
|
121
|
+
margin-left: auto;
|
|
122
|
+
text-align: right;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.carousel-responsivo__slide-title {
|
|
126
|
+
font-size: 1.5rem;
|
|
127
|
+
font-weight: 700;
|
|
128
|
+
margin-bottom: 1rem;
|
|
129
|
+
line-height: 1.2;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
@media (min-width: 768px) {
|
|
133
|
+
.carousel-responsivo__slide-title {
|
|
134
|
+
font-size: 2.5rem;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.carousel-responsivo__slide-subtitle {
|
|
139
|
+
font-size: 1rem;
|
|
140
|
+
margin-bottom: 1rem;
|
|
141
|
+
opacity: 0.95;
|
|
142
|
+
line-height: 1.4;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
@media (min-width: 768px) {
|
|
146
|
+
.carousel-responsivo__slide-subtitle {
|
|
147
|
+
font-size: 1.25rem;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.carousel-responsivo__slide-text {
|
|
152
|
+
font-size: 0.875rem;
|
|
153
|
+
margin-bottom: 1.5rem;
|
|
154
|
+
opacity: 0.9;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
@media (min-width: 768px) {
|
|
158
|
+
.carousel-responsivo__slide-text {
|
|
159
|
+
font-size: 1rem;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
.carousel-responsivo__slide-button:hover,
|
|
166
|
+
.carousel-responsivo__slide-button:focus {
|
|
167
|
+
background: white;
|
|
168
|
+
transform: translateY(-2px);
|
|
169
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
|
170
|
+
outline: 2px solid var(--enap-primary-color, #1976d2);
|
|
171
|
+
outline-offset: 2px;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.carousel-responsivo__slide-button-icon {
|
|
175
|
+
transition: transform 0.3s ease;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.carousel-responsivo__slide-button:hover .carousel-responsivo__slide-button-icon {
|
|
179
|
+
transform: translateX(4px);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/* Navegação */
|
|
183
|
+
.carousel-responsivo__nav {
|
|
184
|
+
position: absolute;
|
|
185
|
+
top: 50%;
|
|
186
|
+
transform: translateY(-50%);
|
|
187
|
+
width: 48px;
|
|
188
|
+
height: 48px;
|
|
189
|
+
background: rgba(255, 255, 255, 0.9);
|
|
190
|
+
border: none;
|
|
191
|
+
border-radius: 50%;
|
|
192
|
+
color: var(--enap-primary-color, #1976d2);
|
|
193
|
+
font-size: 24px;
|
|
194
|
+
font-weight: bold;
|
|
195
|
+
cursor: pointer;
|
|
196
|
+
transition: all 0.3s ease;
|
|
197
|
+
z-index: 4;
|
|
198
|
+
display: flex;
|
|
199
|
+
align-items: center;
|
|
200
|
+
justify-content: center;
|
|
201
|
+
backdrop-filter: blur(10px);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.carousel-responsivo__nav:hover,
|
|
205
|
+
.carousel-responsivo__nav:focus {
|
|
206
|
+
background: white;
|
|
207
|
+
transform: translateY(-50%) scale(1.1);
|
|
208
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
|
209
|
+
outline: 2px solid var(--enap-primary-color, #1976d2);
|
|
210
|
+
outline-offset: 2px;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.carousel-responsivo__nav--prev {
|
|
214
|
+
left: 1rem;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.carousel-responsivo__nav--next {
|
|
218
|
+
right: 1rem;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/* Indicadores */
|
|
222
|
+
.carousel-responsivo__indicators {
|
|
223
|
+
position: absolute;
|
|
224
|
+
bottom: 1rem;
|
|
225
|
+
left: 50%;
|
|
226
|
+
transform: translateX(-50%);
|
|
227
|
+
display: flex;
|
|
228
|
+
gap: 0.5rem;
|
|
229
|
+
z-index: 4;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.carousel-responsivo__indicator {
|
|
233
|
+
width: 12px;
|
|
234
|
+
height: 12px;
|
|
235
|
+
border-radius: 50%;
|
|
236
|
+
border: 2px solid rgba(255, 255, 255, 0.5);
|
|
237
|
+
background: transparent;
|
|
238
|
+
cursor: pointer;
|
|
239
|
+
transition: all 0.3s ease;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.carousel-responsivo__indicator[aria-selected="true"] {
|
|
243
|
+
background: white;
|
|
244
|
+
border-color: white;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.carousel-responsivo__indicator:hover,
|
|
248
|
+
.carousel-responsivo__indicator:focus {
|
|
249
|
+
border-color: white;
|
|
250
|
+
transform: scale(1.2);
|
|
251
|
+
outline: 2px solid rgba(255, 255, 255, 0.8);
|
|
252
|
+
outline-offset: 2px;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/* Utilitários */
|
|
256
|
+
.sr-only {
|
|
257
|
+
position: absolute;
|
|
258
|
+
width: 1px;
|
|
259
|
+
height: 1px;
|
|
260
|
+
padding: 0;
|
|
261
|
+
margin: -1px;
|
|
262
|
+
overflow: hidden;
|
|
263
|
+
clip: rect(0, 0, 0, 0);
|
|
264
|
+
border: 0;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.container {
|
|
268
|
+
max-width: 1200px;
|
|
269
|
+
margin: 0 auto;
|
|
270
|
+
padding: 0 1rem;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
@media (min-width: 768px) {
|
|
274
|
+
.container {
|
|
275
|
+
padding: 0 2rem;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/* Temas de cores */
|
|
280
|
+
.carousel-responsivo__slide--primary {
|
|
281
|
+
--theme-color: var(--enap-primary-color, #1976d2);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.carousel-responsivo__slide--secondary {
|
|
285
|
+
--theme-color: var(--enap-secondary-color, #424242);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.carousel-responsivo__slide--light {
|
|
289
|
+
--theme-color: #ffffff;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.carousel-responsivo__slide--dark {
|
|
293
|
+
--theme-color: #1a1a1a;
|
|
294
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
.clientes-section {
|
|
2
|
+
padding: 80px 0;
|
|
3
|
+
background: linear-gradient(0deg, #FFFFFF 88%, #F5F7FA 96%);
|
|
4
|
+
position: relative;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.clientes-button{
|
|
8
|
+
margin: 40px auto;
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.clientes-section::before {
|
|
14
|
+
content: '';
|
|
15
|
+
position: absolute;
|
|
16
|
+
top: 0;
|
|
17
|
+
left: 0;
|
|
18
|
+
right: 0;
|
|
19
|
+
bottom: 0;
|
|
20
|
+
background-image: radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
|
|
21
|
+
background-size: 30px 30px;
|
|
22
|
+
pointer-events: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.container {
|
|
26
|
+
max-width: 1142px;
|
|
27
|
+
margin: 0 auto;
|
|
28
|
+
padding: 0 20px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.clientes-header {
|
|
32
|
+
margin-bottom: 60px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.clientes-header__titulo {
|
|
36
|
+
font-size: 2.5rem;
|
|
37
|
+
font-weight: 600;
|
|
38
|
+
color: #024248;
|
|
39
|
+
margin-bottom: 16px;
|
|
40
|
+
line-height: 1.2;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.clientes-section p{
|
|
44
|
+
font-size: 1.125rem;
|
|
45
|
+
color: #333840;
|
|
46
|
+
max-width: 600px;
|
|
47
|
+
margin: 0 auto;
|
|
48
|
+
line-height: 1.6;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.text-center {
|
|
52
|
+
text-align: center;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.text-left {
|
|
56
|
+
text-align: left;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.text-left .clientes-header__subtitulo {
|
|
60
|
+
margin-left: 0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.clientes-grid {
|
|
64
|
+
display: grid;
|
|
65
|
+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
66
|
+
gap: 40px;
|
|
67
|
+
align-items: center;
|
|
68
|
+
justify-items: center;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.cliente-logo {
|
|
72
|
+
padding: 12px;
|
|
73
|
+
height: 120px;
|
|
74
|
+
width: 100%;
|
|
75
|
+
max-width: 200px;
|
|
76
|
+
display: flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
justify-content: center;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.cliente-logo__imagem {
|
|
82
|
+
max-width: 100%;
|
|
83
|
+
max-height: 60px;
|
|
84
|
+
width: 100%;
|
|
85
|
+
height: auto;
|
|
86
|
+
object-fit: contain;
|
|
87
|
+
transition: all 0.3s ease;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.cliente-logo:hover .cliente-logo__imagem {
|
|
91
|
+
filter: grayscale(0);
|
|
92
|
+
opacity: 1;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* Responsividade */
|
|
96
|
+
@media (max-width: 768px) {
|
|
97
|
+
.clientes-section {
|
|
98
|
+
padding: 60px 0;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.clientes-header {
|
|
102
|
+
margin-bottom: 40px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.clientes-header__titulo {
|
|
106
|
+
font-size: 2rem;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.clientes-grid {
|
|
110
|
+
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
|
111
|
+
gap: 24px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.cliente-logo {
|
|
115
|
+
padding: 24px;
|
|
116
|
+
max-width: 150px;
|
|
117
|
+
height: 100px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.cliente-logo__imagem {
|
|
121
|
+
max-height: 50px;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@media (max-width: 480px) {
|
|
126
|
+
.clientes-grid {
|
|
127
|
+
grid-template-columns: repeat(2, 1fr);
|
|
128
|
+
gap: 16px;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.cliente-logo {
|
|
132
|
+
padding: 20px;
|
|
133
|
+
height: 90px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.cliente-logo__imagem {
|
|
137
|
+
max-height: 40px;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/* Variação para muitos logos */
|
|
142
|
+
@media (min-width: 1200px) {
|
|
143
|
+
.clientes-grid {
|
|
144
|
+
grid-template-columns: repeat(5, 1fr);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
@@ -19,8 +19,9 @@
|
|
|
19
19
|
<!-- End Google Tag Manager -->
|
|
20
20
|
|
|
21
21
|
{% block title %}
|
|
22
|
-
<title>{% if page.page_title and page.page_title|length > 0 %}{{ page.page_title }}{% else %}
|
|
22
|
+
<title>{% if page.page_title and page.page_title|length > 0 %}{{ page.page_title }}{% else %}{{ page.title }}{% endif %}</title>
|
|
23
23
|
{% endblock %}
|
|
24
|
+
|
|
24
25
|
|
|
25
26
|
{% block styleinline %} {% endblock %}
|
|
26
27
|
{% block stylecss %} {% endblock %}
|
|
@@ -81,6 +82,12 @@
|
|
|
81
82
|
|
|
82
83
|
<!-- CSS Componentes -->
|
|
83
84
|
<link rel="stylesheet" href="{% static 'enap_designsystem/blocks/lia.css' %}">
|
|
85
|
+
<link rel="stylesheet" href="{% static 'enap_designsystem/blocks/carousel_images.css' %}">
|
|
86
|
+
<link rel="stylesheet" href="{% static 'enap_designsystem/blocks/apresentacao_block.css' %}">
|
|
87
|
+
<link rel="stylesheet" href="{% static 'enap_designsystem/blocks/cards_section.css' %}">
|
|
88
|
+
<link rel="stylesheet" href="{% static 'enap_designsystem/blocks/cards_titles.css' %}">
|
|
89
|
+
<link rel="stylesheet" href="{% static 'enap_designsystem/blocks/carousel_responsive.css' %}">
|
|
90
|
+
<link rel="stylesheet" href="{% static 'enap_designsystem/blocks/clientes_block.css' %}">
|
|
84
91
|
<link rel="stylesheet" href="{% static 'enap_designsystem/blocks/semana.css' %}">
|
|
85
92
|
<link rel="stylesheet" href="{% static 'enap_designsystem/blocks/accordions.css' %}">
|
|
86
93
|
<link rel="stylesheet" href="{% static 'enap_designsystem/blocks/accordionsv2.css' %}">
|
|
@@ -27,10 +27,7 @@
|
|
|
27
27
|
<a href="{{ value.botao_url }}"
|
|
28
28
|
class="apresentacao-botao inline-flex items-center justify-center
|
|
29
29
|
px-8 font-semibold rounded-full
|
|
30
|
-
text-white transition-all duration-300"
|
|
31
|
-
style="background-color: {{ value.cor_botao }};"
|
|
32
|
-
onmouseover="this.style.backgroundColor='{{ value.cor_botao_hover }}'"
|
|
33
|
-
onmouseout="this.style.backgroundColor='{{ value.cor_botao }}'">
|
|
30
|
+
text-white transition-all duration-300">
|
|
34
31
|
|
|
35
32
|
{% if value.botao_icone %}
|
|
36
33
|
<i class="apresentacao-icone {{ value.botao_icone }} mr-2"></i>
|
|
@@ -51,6 +48,7 @@
|
|
|
51
48
|
padding: 12px 36px;
|
|
52
49
|
border-radius: 32px;
|
|
53
50
|
font-weight: 500;
|
|
51
|
+
background-color: {{ value.cor_botao }};
|
|
54
52
|
}
|
|
55
53
|
|
|
56
54
|
.apresentacao-titulo {
|
|
@@ -71,18 +69,22 @@
|
|
|
71
69
|
}
|
|
72
70
|
|
|
73
71
|
.apresentacao-conteudo-box {
|
|
74
|
-
padding: 60px
|
|
72
|
+
padding: 60px;
|
|
75
73
|
}
|
|
76
74
|
|
|
77
75
|
@media (min-width: 768px) {
|
|
78
76
|
.apresentacao-conteudo-box {
|
|
79
|
-
padding: 3rem;
|
|
77
|
+
padding: 3rem 8rem;
|
|
80
78
|
}
|
|
81
79
|
}
|
|
82
80
|
|
|
83
81
|
.apresentacao-botao:hover {
|
|
84
82
|
transform: translateY(-2px);
|
|
85
83
|
box-shadow: 0 6px 20px rgba(0,0,0,0.05);
|
|
84
|
+
background-color: {{ value.cor_botao_hover }};
|
|
85
|
+
}
|
|
86
|
+
.apresentacao-botao:active {
|
|
87
|
+
background-color: {{ value.cor_botao_active }};
|
|
86
88
|
}
|
|
87
89
|
|
|
88
90
|
/* Forçar cores do richtext */
|
|
@@ -95,8 +97,8 @@
|
|
|
95
97
|
padding: 90px 0;
|
|
96
98
|
}
|
|
97
99
|
|
|
98
|
-
.apresentacao-texto {
|
|
99
|
-
font-size:
|
|
100
|
+
.apresentacao-texto p {
|
|
101
|
+
font-size: 21px;
|
|
100
102
|
}
|
|
101
103
|
|
|
102
104
|
.apresentacao-secao .apresentacao-texto p,
|
|
@@ -15,5 +15,18 @@
|
|
|
15
15
|
</div>
|
|
16
16
|
</div>
|
|
17
17
|
</div>
|
|
18
|
-
{%
|
|
18
|
+
{% else %}
|
|
19
|
+
<div class="banner" style="background-image: url({% static 'enap_designsystem/blocks/suap/default_1.png' %})">
|
|
20
|
+
{% if self.overlay %}
|
|
21
|
+
<div class="banner__overlay"></div>
|
|
22
|
+
{% endif %}
|
|
23
|
+
<div class="banner__content">
|
|
24
|
+
<div class="wrapper-texts-banner">
|
|
25
|
+
<img src="{% static 'enap_designsystem/icons/grafismo.svg' %}" alt="Grafismo" class="grafismo">
|
|
26
|
+
<h1 class="banner__title">{{ self.title }}</h1>
|
|
27
|
+
<h2 class="banner__description">{{ self.description }}</h2>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
{% endif %}
|
|
19
32
|
{% endblock %}
|
|
@@ -16,5 +16,19 @@
|
|
|
16
16
|
</div>
|
|
17
17
|
</div>
|
|
18
18
|
</div>
|
|
19
|
-
{%
|
|
19
|
+
{% else %}
|
|
20
|
+
<div class="banner" style="background-image: url({% static 'enap_designsystem/blocks/suap/default_1.png' %})">
|
|
21
|
+
<div class="banner__content">
|
|
22
|
+
<div class="wrapper-texts-banner">
|
|
23
|
+
<img src="{% static 'enap_designsystem/icons/grafismo.svg' %}" alt="Grafismo" class="grafismo">
|
|
24
|
+
<h1 class="banner__title">{{ self.title }}</h1>
|
|
25
|
+
<h2 class="banner__description">{{ self.description }}</h2>
|
|
26
|
+
{% if self.logo_image %}
|
|
27
|
+
{% image self.logo_image original as logo_img %}
|
|
28
|
+
<img src="{{ logo_img.url }}" alt="Logo {{ self.title }}" class="banner-logo-bannner">
|
|
29
|
+
{% endif %}
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
{% endif %}
|
|
20
34
|
{% endblock %}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
{% with button_value=link_block.value %}
|
|
17
17
|
{% if button_value.link_url %}
|
|
18
18
|
<a href="{{ button_value.link_url }}" class="card-overlay-link"
|
|
19
|
-
|
|
19
|
+
{% if button_value.link_target %}target="{{ button_value.link_target }}"{% endif %}></a>
|
|
20
20
|
{% elif button_value.link_page %}
|
|
21
21
|
<a href="{{ button_value.link_page.url }}" class="card-overlay-link"></a>
|
|
22
22
|
{% endif %}
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
{% with button_value=link_block.value %}
|
|
67
67
|
{% if button_value.link_url %}
|
|
68
68
|
<a href="{{ button_value.link_url }}" class="card-overlay-link"
|
|
69
|
-
|
|
69
|
+
{% if button_value.link_target %}target="{{ button_value.link_target }}"{% endif %}></a>
|
|
70
70
|
{% elif button_value.link_page %}
|
|
71
71
|
<a href="{{ button_value.link_page.url }}" class="card-overlay-link"></a>
|
|
72
72
|
{% endif %}
|