Skip to content

Commit d75b3b9

Browse files
committed
minor edit to promobar and forms
1 parent 5e30996 commit d75b3b9

File tree

6 files changed

+42
-15
lines changed

6 files changed

+42
-15
lines changed

assets/scss/templates/_main.scss

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ input[type="checkbox"] {
7777
.shadow{
7878
box-shadow: 0 12px 24px -6px rgba(45,67,121,.10) !important;
7979
}
80-
.mobile-desktop-container-layout{
80+
.mobile-desktop-container-layout {
8181
padding-left: 3rem;
8282
padding-right: 3rem;
8383
padding-top: 3rem;
@@ -89,6 +89,23 @@ input[type="checkbox"] {
8989
border-image-slice: 1;
9090
width:100%;
9191
}
92+
.mobile-desktop-container-layout-web-app {
93+
padding-left: 3rem;
94+
padding-right: 3rem;
95+
padding-top: 3rem;
96+
padding-bottom: 3rem;
97+
98+
// gradient
99+
border-bottom: 5px solid transparent;
100+
border-image: linear-gradient(to left, #618EC7, #fffde4);
101+
border-image-slice: 1;
102+
width:100%;
103+
}
104+
.promobar-mobile-desktop-layout{
105+
height: 50px;
106+
align-items: center;
107+
justify-content: center;
108+
}
92109
.form-mobile-desktop-layout{
93110
padding-left: 3rem;
94111
padding-right: 3rem;
@@ -144,6 +161,21 @@ input[type="checkbox"] {
144161
border-image-slice: 1;
145162
width:100%;
146163
}
164+
.mobile-desktop-container-layout-web-app{
165+
padding-left: 1rem;
166+
padding-right: 1rem;
167+
padding-top: 1rem;
168+
padding-bottom: 1rem;
169+
170+
// gradient
171+
border-bottom: 5px solid transparent;
172+
border-image: linear-gradient(to left, #618EC7, #fffde4);
173+
border-image-slice: 1;
174+
width:100%;
175+
}
176+
.promobar-mobile-desktop-layout{
177+
height: 100px;
178+
}
147179
.mobile-desktop-margin{
148180
padding-top: 3rem;
149181
}

content/english/about/vacancies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ form1:
3232
- label: WG4
3333
value: WG4
3434
id: wg4
35-
required: true
35+
required: false
3636
type: checkbox
3737
- label: |
3838
Motivation letter (max. 500 words)

content/nederlands/about/vacancies.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,8 @@ form1:
3232
- label: WG4
3333
value: WG4
3434
id: wg4
35-
required: true
35+
required: false
3636
type: checkbox
37-
- label: |
38-
Contact details
39-
id: contact-details
40-
required: true
41-
type: email
42-
placeholder: Mail address
4337
- label: |
4438
Motivation letter (max. 500 words)
4539
id: motivation-letter
@@ -54,8 +48,9 @@ form1:
5448
required: true
5549
file_type: '.docx, .pdf'
5650
type: file
57-
- label: |
58-
<a href="/privacy_policy/" target="_blank">Terms and conditions</a>
51+
- label: >
52+
<a href="/privacy_policy/" target="_blank">Terms and conditions
53+
(link)</a>
5954
id: terms
6055
values:
6156
- label: Agree

layouts/shortcodes/accordion_item_open.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</div>
88
<div class="col pt-3 pb-5 px-5">
99
<div class="row align-items-center">
10-
<h4 class="mb-4 mx-3" style="color: #005aa7;">
10+
<h4 class="mb-4 mx-1" style="color: #005aa7;">
1111
{{.Get "title"}}
1212
</h4>
1313
</div>

layouts/shortcodes/promo_bar.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{ $_hugo_config := `{ "version": 1 }` }}
22
<div id={{.Get "id" }} class="container-fluid mt-5 p-0">
3-
<div class="shadow promobar-mobile-desktop-layout bg-lightblue py-1">
4-
<div class="row text-center align-items-center" style="height:50px;">
3+
<div class="shadow bg-lightblue">
4+
<div class="row promobar-mobile-desktop-layout">
55
<div class="col-12 flex justify-center items-center px-5">
66
<!-- Content -->
77
<span class="mr-3" style="font-size:16px; color:#005aa7;">

layouts/shortcodes/web_app.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{{ with .Page.Params.web_app}}
44
<!-- text field -->
55
<div class="container-fluid mt-5 p-0">
6-
<div class="shadow mobile-desktop-container-layout bg-lightblue rounded-lg" id="{{ .ID }}">
6+
<div class="shadow mobile-desktop-container-layout-web-app bg-lightblue rounded-lg" id="{{ .ID }}">
77

88
<div class="row">
99
<div class="col-12">

0 commit comments

Comments
 (0)