@openeuropa/bcl-theme-default 0.24.1 → 0.26.0
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.
- package/bcl-builder.config.js +10 -0
- package/css/oe-bcl-default.css +2555 -1734
- package/css/oe-bcl-default.css.map +1 -1
- package/css/oe-bcl-default.min.css +1 -1
- package/css/oe-bcl-default.min.css.map +1 -1
- package/js/oe-bcl-default.bundle.js +2087 -1907
- package/js/oe-bcl-default.bundle.js.map +1 -1
- package/js/oe-bcl-default.bundle.min.js +1 -1
- package/js/oe-bcl-default.bundle.min.js.map +1 -1
- package/js/oe-bcl-default.esm.js +2083 -1903
- package/js/oe-bcl-default.esm.js.map +1 -1
- package/js/oe-bcl-default.esm.min.js +1 -1
- package/js/oe-bcl-default.esm.min.js.map +1 -1
- package/js/oe-bcl-default.umd.js +2083 -1903
- package/js/oe-bcl-default.umd.js.map +1 -1
- package/js/oe-bcl-default.umd.min.js +1 -1
- package/js/oe-bcl-default.umd.min.js.map +1 -1
- package/package.json +8 -8
- package/src/js/gallery/gallery.js +3 -29
- package/src/scss/_banners.scss +9 -0
- package/src/scss/_description_list.scss +12 -0
- package/src/scss/_header.scss +109 -63
- package/src/scss/_pagination.scss +2 -2
- package/src/scss/base/_layout.scss +37 -0
- package/src/scss/base/_utilities.scss +27 -0
- package/src/scss/base/_variables.scss +18 -0
- package/src/scss/oe-bcl-default.scss +1 -1
- package/templates/bcl-accordion/accordion.html.twig +17 -0
- package/templates/bcl-base-templates/sidebar-search.html.twig +14 -1
- package/templates/bcl-blockquote/blockquote.html.twig +17 -0
- package/templates/bcl-card/card.html.twig +7 -5
- package/templates/bcl-carousel/carousel.html.twig +20 -10
- package/templates/bcl-content-banner/content-banner.html.twig +11 -8
- package/templates/bcl-date-block/date-block.html.twig +0 -2
- package/templates/bcl-description-list/description-list.html.twig +129 -88
- package/templates/bcl-fact-figures/fact-figures.html.twig +2 -2
- package/templates/bcl-featured-media/featured-media.html.twig +30 -9
- package/templates/bcl-file/file.html.twig +4 -2
- package/templates/bcl-gallery/gallery.html.twig +1 -1
- package/templates/bcl-language-switcher/language-switcher.html.twig +9 -3
- package/templates/bcl-links-block/links-block.html.twig +4 -0
- package/templates/bcl-listing/listing.html.twig +40 -50
- package/templates/bcl-modal/modal.html.twig +1 -1
- package/templates/bcl-navbar/navbar.html.twig +7 -7
- package/templates/bcl-navigation/navigation.html.twig +1 -1
- package/templates/bcl-offcanvas/offcanvas.html.twig +14 -3
- package/templates/bcl-page/page.html.twig +4 -23
- package/templates/bcl-pagination/pagination.html.twig +1 -1
- package/templates/bcl-person/person.html.twig +1 -3
- package/templates/bcl-progress/progress.html.twig +1 -4
- package/templates/bcl-project/project-lists.html.twig +1 -1
- package/templates/bcl-search-form/search-form.html.twig +1 -1
- package/templates/bcl-subscription-block/subscription-block.html.twig +3 -1
- package/templates/bcl-user/user-compact.html.twig +3 -2
- package/templates/bcl-user/user-terms.html.twig +4 -4
- package/templates/bcl-user/user.html.twig +2 -2
- package/src/scss/_bcl-offcanvas.scss +0 -24
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
- link: (object of type link)
|
|
12
12
|
- alignment: (string) (default: '')
|
|
13
13
|
options ['start', 'end', 'center', 'baseline', 'stretch']
|
|
14
|
+
- image_size: (string) (default: '')
|
|
15
|
+
options ['small', 'large', 'extra-large']
|
|
14
16
|
- attributes (drupal attrs)
|
|
15
17
|
#}
|
|
16
18
|
|
|
@@ -21,6 +23,7 @@
|
|
|
21
23
|
{% set _items = items|default([]) %}
|
|
22
24
|
{% set _variant = variant|default('default-1-col') %}
|
|
23
25
|
{% set _alignment = alignment|default('') %}
|
|
26
|
+
{% set _image_size = image_size|default('') %}
|
|
24
27
|
{% set _link = link|default({}) %}
|
|
25
28
|
|
|
26
29
|
{% set _classes = ['bcl-listing', 'bcl-listing--' ~ _variant] %}
|
|
@@ -52,19 +55,14 @@
|
|
|
52
55
|
{% if _items is not empty %}
|
|
53
56
|
{% for _card in _items %}
|
|
54
57
|
{% set _alignment_class = '' %}
|
|
55
|
-
{% set
|
|
56
|
-
{% set
|
|
57
|
-
{%
|
|
58
|
-
|
|
59
|
-
{%
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
{% set
|
|
63
|
-
{% set _card = _card|merge({image: _card.image|merge({
|
|
64
|
-
classes: _image_classes,
|
|
65
|
-
})}) %}
|
|
66
|
-
{% elseif _card.date is not empty %}
|
|
67
|
-
{% set _max_width = 'mw-col-date mb-3' %}
|
|
58
|
+
{% set _image_classes = _card.image.classes ?: '' %}
|
|
59
|
+
{% set _start_col_classes = 'bcl-card-start-col mb-3 mb-lg-0' %}
|
|
60
|
+
{% set _end_col_classes = 'col-12 col-md' %}
|
|
61
|
+
{% if _image_size is not empty %}
|
|
62
|
+
{% set _start_col_classes = _start_col_classes ~ ' bcl-size-' ~ _image_size %}
|
|
63
|
+
{% endif %}
|
|
64
|
+
{% if 'd-none' in _image_classes %}
|
|
65
|
+
{% set _start_col_classes = _start_col_classes ~ ' d-none d-md-block' %}
|
|
68
66
|
{% endif %}
|
|
69
67
|
{% if _alignment is not empty %}
|
|
70
68
|
{% set _alignment_class = ' align-self-' ~ _alignment %}
|
|
@@ -76,7 +74,7 @@
|
|
|
76
74
|
title_attributes: _card_title_attributes.addClass(['fs-5'])
|
|
77
75
|
}) %}
|
|
78
76
|
|
|
79
|
-
{% if _variant == 'default-1-col' %}
|
|
77
|
+
{% if _variant == 'default-1-col' or _variant == 'default-2-col' or _variant == 'default-3-col' %}
|
|
80
78
|
{% set _card_classes = [
|
|
81
79
|
'listing-item',
|
|
82
80
|
'border-bottom',
|
|
@@ -87,45 +85,18 @@
|
|
|
87
85
|
{% set _card = _card|merge({
|
|
88
86
|
horizontal: true,
|
|
89
87
|
extra_classes_body: 'p-0 pb-md-0 pb-3',
|
|
90
|
-
horizontal_grid: {
|
|
91
|
-
left_col_classes: 'col-md-3 col-lg-2 rounded ' ~ _max_width ~ _alignment_class,
|
|
92
|
-
right_col_classes: 'col-md-9 col-lg-10' ~ _alignment_class,
|
|
93
|
-
},
|
|
94
|
-
attributes: _card_attributes,
|
|
95
|
-
}) %}
|
|
96
|
-
{% endif %}
|
|
97
|
-
|
|
98
|
-
{% if _variant == 'default-2-col' or _variant == 'default-3-col' %}
|
|
99
|
-
{% set _card_classes = [
|
|
100
|
-
'listing-item',
|
|
101
|
-
'border-bottom',
|
|
102
|
-
'border-md-0',
|
|
103
|
-
'border-0',
|
|
104
|
-
] %}
|
|
105
|
-
{% set _card_attributes = _card_attributes.addClass(_card_classes) %}
|
|
106
|
-
{% set _card = _card|merge({
|
|
107
|
-
extra_classes_body: 'p-0 pb-md-0 pb-3',
|
|
108
|
-
horizontal: true,
|
|
109
88
|
attributes: _card_attributes,
|
|
89
|
+
horizontal_grid: {
|
|
90
|
+
left_col_classes: _start_col_classes ~ _alignment_class,
|
|
91
|
+
right_col_classes: _end_col_classes ~ _alignment_class,
|
|
92
|
+
}
|
|
110
93
|
}) %}
|
|
111
|
-
|
|
94
|
+
|
|
112
95
|
{% if _variant == 'default-2-col' %}
|
|
113
|
-
{% set _card = _card|merge({
|
|
114
|
-
horizontal_grid: {
|
|
115
|
-
left_col_classes: 'col-xl-3 col-md-5 ' ~ _max_width ~ _alignment_class,
|
|
116
|
-
right_col_classes: 'col-xl-9 col-md-7' ~ _alignment_class,
|
|
117
|
-
},
|
|
118
|
-
}) %}
|
|
119
96
|
{% set _card_layout = _card_layout|merge({
|
|
120
97
|
responsive_columns: 2,
|
|
121
98
|
}) %}
|
|
122
|
-
{%
|
|
123
|
-
{% set _card = _card|merge({
|
|
124
|
-
horizontal_grid: {
|
|
125
|
-
left_col_classes: 'col-lg-4 col-md-6 ' ~ _max_width ~ _alignment_class,
|
|
126
|
-
right_col_classes: 'col-lg-8 col-md-6' ~ _alignment_class,
|
|
127
|
-
},
|
|
128
|
-
}) %}
|
|
99
|
+
{% elseif _variant == 'default-3-col' %}
|
|
129
100
|
{% set _card_layout = _card_layout|merge({
|
|
130
101
|
attributes: _card_layout.attributes.addClass(['row-cols-md-2']),
|
|
131
102
|
responsive_columns: 3,
|
|
@@ -150,9 +121,19 @@
|
|
|
150
121
|
extra_classes_body: "pt-0",
|
|
151
122
|
}) %}
|
|
152
123
|
{% endif %}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
124
|
+
{% set _card_layout = _card_layout|merge({
|
|
125
|
+
cols_extra_classes: 'mt-4-5',
|
|
126
|
+
}) %}
|
|
127
|
+
{% if _card.image is not empty %}
|
|
128
|
+
{% set _image_classes = _card.image.classes ?: '' %}
|
|
129
|
+
{% if not _alignment == 'center' %}
|
|
130
|
+
{% set _image_classes = _image_classes ? _image_classes ~ ' mb-3' : 'mb-3' %}
|
|
131
|
+
{% endif %}
|
|
132
|
+
{% set _card = _card|merge({image: _card.image|merge({
|
|
133
|
+
classes: _image_classes,
|
|
134
|
+
})}) %}
|
|
135
|
+
{% endif %}
|
|
136
|
+
|
|
156
137
|
{% endif %}
|
|
157
138
|
|
|
158
139
|
{% if _variant == 'highlight-2-col' or variant == 'highlight-3-col' %}
|
|
@@ -173,6 +154,15 @@
|
|
|
173
154
|
extra_classes_body: 'pt-0',
|
|
174
155
|
}) %}
|
|
175
156
|
{% endif %}
|
|
157
|
+
{% if _card.image is not empty %}
|
|
158
|
+
{% set _image_classes = _card.image.classes ?: '' %}
|
|
159
|
+
{% if not _alignment == 'center' %}
|
|
160
|
+
{% set _image_classes = _image_classes ? _image_classes ~ ' mb-3' : 'mb-3' %}
|
|
161
|
+
{% endif %}
|
|
162
|
+
{% set _card = _card|merge({image: _card.image|merge({
|
|
163
|
+
classes: _image_classes,
|
|
164
|
+
})}) %}
|
|
165
|
+
{% endif %}
|
|
176
166
|
{% set _card_layout = _card_layout|merge({ gutter: '4' }) %}
|
|
177
167
|
{% if variant == 'highlight-2-col' %}
|
|
178
168
|
{% set _card_layout = _card_layout|merge({ responsive_columns: 2 }) %}
|
|
@@ -78,17 +78,17 @@
|
|
|
78
78
|
|
|
79
79
|
{% if not _disable_collapse %}
|
|
80
80
|
<button
|
|
81
|
-
class=
|
|
82
|
-
type=
|
|
83
|
-
data-bs-toggle=
|
|
81
|
+
class="navbar-toggler"
|
|
82
|
+
type="button"
|
|
83
|
+
data-bs-toggle="collapse"
|
|
84
84
|
data-bs-target='#{{ _collapse_id }}'
|
|
85
85
|
aria-controls='{{ _collapse_id }}'
|
|
86
|
-
aria-expanded=
|
|
87
|
-
aria-label=
|
|
86
|
+
aria-expanded="false"
|
|
87
|
+
aria-label="Toggle navigation"
|
|
88
88
|
>
|
|
89
|
-
<span class=
|
|
89
|
+
<span class="navbar-toggler-icon"></span>
|
|
90
90
|
</button>
|
|
91
|
-
<div class=
|
|
91
|
+
<div class="collapse navbar-collapse" id='{{ _collapse_id }}'>
|
|
92
92
|
{% endif %}
|
|
93
93
|
{% block navigation %}
|
|
94
94
|
{% if _navigation is not empty %}
|
|
@@ -11,9 +11,12 @@
|
|
|
11
11
|
- with_body_scroll (boolean) (default: false)
|
|
12
12
|
- with_backdrop (boolean) (default: true)
|
|
13
13
|
- with_close (boolean) (default: true)
|
|
14
|
+
- close_aria_label (default: '')
|
|
14
15
|
- extra_classes_body (string) (default: '')
|
|
15
16
|
- extra_classes_header (string) (default: '')
|
|
16
17
|
- extra_classes_close (string) (default: '')
|
|
18
|
+
- responsiveness (string) (default: '')
|
|
19
|
+
options: ['sm', 'md', 'lg', 'xl', 'xxl']
|
|
17
20
|
- attributes (drupal attrs)
|
|
18
21
|
#}
|
|
19
22
|
|
|
@@ -25,13 +28,20 @@
|
|
|
25
28
|
{% set _id = id|default('') %}
|
|
26
29
|
{% set _body = body|default('') %}
|
|
27
30
|
{% set _with_body_scroll = with_body_scroll|default(false) %}
|
|
28
|
-
{% set _with_backdrop = with_backdrop
|
|
29
|
-
{% set _with_close = with_close
|
|
31
|
+
{% set _with_backdrop = with_backdrop ?? true %}
|
|
32
|
+
{% set _with_close = with_close ?? true %}
|
|
33
|
+
{% set _close_aria_label = close_aria_label|default('') %}
|
|
30
34
|
{% set _extra_classes_body = extra_classes_body|default('') %}
|
|
31
35
|
{% set _extra_classes_header = extra_classes_header|default('') %}
|
|
32
36
|
{% set _extra_classes_close = extra_classes_close|default('') %}
|
|
37
|
+
{% set _responsiveness = responsiveness|default('') %}
|
|
38
|
+
|
|
39
|
+
{% if _responsiveness is not empty %}
|
|
40
|
+
{% set _classes = ['offcanvas-' ~ _responsiveness] %}
|
|
41
|
+
{% else %}
|
|
42
|
+
{% set _classes = ['offcanvas'] %}
|
|
43
|
+
{% endif %}
|
|
33
44
|
|
|
34
|
-
{% set _classes = ['offcanvas'] %}
|
|
35
45
|
{% set _class_body = 'offcanvas-body' ~ (_extra_classes_body ? ' ' ~ _extra_classes_body : '') %}
|
|
36
46
|
{% set _class_header = 'offcanvas-header' ~ (_extra_classes_header ? ' ' ~ _extra_classes_header : '') %}
|
|
37
47
|
|
|
@@ -82,6 +92,7 @@
|
|
|
82
92
|
{% set button_attributes = create_attribute()
|
|
83
93
|
.addClass(['btn-close', 'text-reset'])
|
|
84
94
|
.setAttribute('data-bs-dismiss', 'offcanvas')
|
|
95
|
+
.setAttribute('aria-label', _close_aria_label)
|
|
85
96
|
%}
|
|
86
97
|
{% if _extra_classes_close is not empty %}
|
|
87
98
|
{% set button_attributes = button_attributes.addClass(_extra_classes_close) %}
|
|
@@ -5,11 +5,7 @@
|
|
|
5
5
|
{% endblock %}
|
|
6
6
|
|
|
7
7
|
{% block content %}
|
|
8
|
-
<p id="content">
|
|
9
|
-
a euismod dolor lacinia. Nam facilisis ipsum et sollicitudin imperdiet. Curabitur a efficitur ante. Phasellus non felis laoreet,
|
|
10
|
-
posuere ante ut, rhoncus tortor. Proin sed erat vel nisl luctus vulputate. Nunc tristique ultricies turpis, eu dictum enim ultrices vel.
|
|
11
|
-
Sed posuere at leo sit amet placerat. Sed dapibus viverra urna ac pretium. Praesent et laoreet erat, eget volutpat metus. Duis ac augue
|
|
12
|
-
sed tortor elementum dignissim in sit amet velit. Nullam nec viverra mi.
|
|
8
|
+
<p id="content">{{ get_dummy_text(6) }}
|
|
13
9
|
</p>
|
|
14
10
|
<h2 id="item-1" class="my-4">Section 1</h2>
|
|
15
11
|
{% if featured_item %}
|
|
@@ -26,12 +22,7 @@
|
|
|
26
22
|
|
|
27
23
|
<h2 id="item-2" class="my-4">Section 2</h2>
|
|
28
24
|
|
|
29
|
-
|
|
30
|
-
a euismod dolor lacinia. Nam facilisis ipsum et sollicitudin imperdiet. Curabitur a efficitur ante. Phasellus non felis laoreet,
|
|
31
|
-
posuere ante ut, rhoncus tortor. Proin sed erat vel nisl luctus vulputate. Nunc tristique ultricies turpis, eu dictum enim ultrices vel.
|
|
32
|
-
Sed posuere at leo sit amet placerat. Sed dapibus viverra urna ac pretium. Praesent et laoreet erat, eget volutpat metus. Duis ac augue
|
|
33
|
-
sed tortor elementum dignissim in sit amet velit. Nullam nec viverra mi.
|
|
34
|
-
</p>
|
|
25
|
+
{{ get_dummy_text(6, true) }}
|
|
35
26
|
|
|
36
27
|
{% if blockquote %}
|
|
37
28
|
{% include '@oe-bcl/bcl-blockquote/blockquote.html.twig' with blockquote only %}
|
|
@@ -43,21 +34,11 @@
|
|
|
43
34
|
{% include '@oe-bcl/bcl-timeline/timeline.html.twig' with timeline only %}
|
|
44
35
|
{% endif %}
|
|
45
36
|
|
|
46
|
-
|
|
47
|
-
a euismod dolor lacinia. Nam facilisis ipsum et sollicitudin imperdiet. Curabitur a efficitur ante. Phasellus non felis laoreet,
|
|
48
|
-
posuere ante ut, rhoncus tortor. Proin sed erat vel nisl luctus vulputate. Nunc tristique ultricies turpis, eu dictum enim ultrices vel.
|
|
49
|
-
Sed posuere at leo sit amet placerat. Sed dapibus viverra urna ac pretium. Praesent et laoreet erat, eget volutpat metus. Duis ac augue
|
|
50
|
-
sed tortor elementum dignissim in sit amet velit. Nullam nec viverra mi.
|
|
51
|
-
</p>
|
|
37
|
+
{{ get_dummy_text(8, true) }}
|
|
52
38
|
|
|
53
39
|
<h2 id="item-3" class="my-4">Section 3</h2>
|
|
54
40
|
|
|
55
|
-
|
|
56
|
-
a euismod dolor lacinia. Nam facilisis ipsum et sollicitudin imperdiet. Curabitur a efficitur ante. Phasellus non felis laoreet,
|
|
57
|
-
posuere ante ut, rhoncus tortor. Proin sed erat vel nisl luctus vulputate. Nunc tristique ultricies turpis, eu dictum enim ultrices vel.
|
|
58
|
-
Sed posuere at leo sit amet placerat. Sed dapibus viverra urna ac pretium. Praesent et laoreet erat, eget volutpat metus. Duis ac augue
|
|
59
|
-
sed tortor elementum dignissim in sit amet velit. Nullam nec viverra mi.
|
|
60
|
-
</p>
|
|
41
|
+
{{ get_dummy_text(4, true) }}
|
|
61
42
|
|
|
62
43
|
{% include '@oe-bcl/bcl-file/file.html.twig' with files[0] only %}
|
|
63
44
|
{% include '@oe-bcl/bcl-file/file.html.twig' with files[1] only %}
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
{% set _alignment = alignment|default('') %}
|
|
58
58
|
{% set _aria_label = aria_label|default('') %}
|
|
59
59
|
{% set _enable_prev_next_icon = enable_prev_next_icon|default(false) %}
|
|
60
|
-
{% set _enable_first_last_icon = enable_first_last_icon
|
|
60
|
+
{% set _enable_first_last_icon = enable_first_last_icon ?? true %}
|
|
61
61
|
{% set _items = items|default([]) %}
|
|
62
62
|
{% set _first = first|default({}) %}
|
|
63
63
|
{% set _next = next|default({}) %}
|
|
@@ -18,14 +18,12 @@
|
|
|
18
18
|
|
|
19
19
|
{% if files.main_title is not empty %}
|
|
20
20
|
<h2
|
|
21
|
-
class="mb-
|
|
21
|
+
class="mb-3-5"
|
|
22
22
|
>{{- files.main_title -}}</h2>
|
|
23
23
|
{% endif %}
|
|
24
24
|
{% if files.listing is defined and files.listing is not empty %}
|
|
25
|
-
<div class="mb-4-5">
|
|
26
25
|
{% for file in files.listing %}
|
|
27
26
|
{% include '@oe-bcl/bcl-file/file.html.twig' with file only %}
|
|
28
27
|
{% endfor %}
|
|
29
|
-
</div>
|
|
30
28
|
{% endif %}
|
|
31
29
|
{% endblock %}
|
|
@@ -33,10 +33,7 @@
|
|
|
33
33
|
{% set _classes = _classes ~ ' progress-bar-animated' %}
|
|
34
34
|
{% endif %}
|
|
35
35
|
{% if _variant is not empty %}
|
|
36
|
-
{% set _classes = _classes ~ ' bg-' ~ _variant %}
|
|
37
|
-
{% endif %}
|
|
38
|
-
{% if _variant == 'light' %}
|
|
39
|
-
{% set _classes = _classes ~ ' text-dark' %}
|
|
36
|
+
{% set _classes = _classes ~ ' text-bg-' ~ _variant %}
|
|
40
37
|
{% endif %}
|
|
41
38
|
|
|
42
39
|
{% if attributes is empty %}
|
|
@@ -11,11 +11,13 @@
|
|
|
11
11
|
{% set _content = content|default('') %}
|
|
12
12
|
{% set _button = button|default({}) %}
|
|
13
13
|
|
|
14
|
+
{% set _classes = ['bcl-subscription-block', 'bg-light', 'px-4-5', 'pt-4', 'pb-4-5'] %}
|
|
15
|
+
|
|
14
16
|
{% if attributes is empty %}
|
|
15
17
|
{% set attributes = create_attribute() %}
|
|
16
18
|
{% endif %}
|
|
17
19
|
|
|
18
|
-
{% set attributes = attributes.addClass(
|
|
20
|
+
{% set attributes = attributes.addClass(_classes) %}
|
|
19
21
|
|
|
20
22
|
<div
|
|
21
23
|
{{ attributes }}
|
|
@@ -13,13 +13,14 @@
|
|
|
13
13
|
- infos (array of strings) (default: [])
|
|
14
14
|
#}
|
|
15
15
|
|
|
16
|
-
{% set _picture_classes =
|
|
16
|
+
{% set _picture_classes = 'rounded-pill' %}
|
|
17
|
+
{% set _classes = ['bcl-user-compact', 'd-flex', 'mb-3'] %}
|
|
17
18
|
|
|
18
19
|
{% if attributes is empty %}
|
|
19
20
|
{% set attributes = create_attribute() %}
|
|
20
21
|
{% endif %}
|
|
21
22
|
|
|
22
|
-
{% set attributes = attributes.addClass(
|
|
23
|
+
{% set attributes = attributes.addClass(_classes) %}
|
|
23
24
|
|
|
24
25
|
{% if picture is not empty and picture.classes is not empty %}
|
|
25
26
|
{% set _picture_classes = _picture_classes ~ ' ' ~ picture.classes %}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{% extends "@oe-bcl/bcl-base-templates/content-type.html.twig" %}
|
|
2
2
|
|
|
3
3
|
{% block content %}
|
|
4
|
-
|
|
4
|
+
{{ get_dummy_text(4, true) }}
|
|
5
5
|
<ul class="mb-4-5">
|
|
6
|
-
<li>
|
|
7
|
-
<li>
|
|
8
|
-
<li>
|
|
6
|
+
<li>{{ get_dummy_text() }}</li>
|
|
7
|
+
<li>{{ get_dummy_text() }}</li>
|
|
8
|
+
<li>{{ get_dummy_text() }}</li>
|
|
9
9
|
</ul>
|
|
10
10
|
{% include '@oe-bcl/bcl-form/form.html.twig' with terms_form only %}
|
|
11
11
|
{% endblock %}
|
|
@@ -100,10 +100,10 @@
|
|
|
100
100
|
<h1 class="my-4-5">Edit my profile</h1>
|
|
101
101
|
<h2 class="mb-4-5">Profile image</h2>
|
|
102
102
|
<div class="row">
|
|
103
|
-
<div class="
|
|
103
|
+
<div class="bcl-card-start-col bcl-size-large mx-auto ms-md-2-5">
|
|
104
104
|
<img src="https://picsum.photos/seed/1002/400/400" class="img-fluid" alt="profile-image">
|
|
105
105
|
</div>
|
|
106
|
-
<div class="col align-self-center">
|
|
106
|
+
<div class="col-12 col-md align-self-center">
|
|
107
107
|
<div class="mt-3 text-center text-md-start">
|
|
108
108
|
{% include '@oe-bcl/bcl-form-input/form-input.html.twig' with edit.image_upload_input only %}
|
|
109
109
|
<div class="d-md-inline-block">
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
@include media-breakpoint-up(lg) {
|
|
2
|
-
.bcl-offcanvas {
|
|
3
|
-
position: relative;
|
|
4
|
-
width: auto;
|
|
5
|
-
visibility: visible !important; // stylelint-disable-line declaration-no-important
|
|
6
|
-
border: none;
|
|
7
|
-
transform: none;
|
|
8
|
-
box-shadow: none;
|
|
9
|
-
|
|
10
|
-
.offcanvas-body {
|
|
11
|
-
overflow: visible;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.offcanvas-title {
|
|
15
|
-
height: 38px;
|
|
16
|
-
display: flex;
|
|
17
|
-
align-items: center;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.bcl-offcanvas + .offcanvas-backdrop {
|
|
22
|
-
display: none;
|
|
23
|
-
}
|
|
24
|
-
}
|