@imiobe/plonetheme-smartweb-base 0.0.6 → 0.1.1
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/CHANGELOG.md +80 -0
- package/dist/css/theme.css +5 -0
- package/dist/fonts/roboto-bold..eot +0 -0
- package/dist/fonts/roboto-bold..ttf +0 -0
- package/dist/fonts/roboto-bold..woff +0 -0
- package/dist/fonts/roboto-bold..woff2 +0 -0
- package/dist/fonts/roboto-bolditalic..eot +0 -0
- package/dist/fonts/roboto-bolditalic..ttf +0 -0
- package/dist/fonts/roboto-bolditalic..woff +0 -0
- package/dist/fonts/roboto-bolditalic..woff2 +0 -0
- package/dist/fonts/roboto-italic..eot +0 -0
- package/dist/fonts/roboto-italic..ttf +0 -0
- package/dist/fonts/roboto-italic..woff +0 -0
- package/dist/fonts/roboto-italic..woff2 +0 -0
- package/dist/fonts/roboto-light..eot +0 -0
- package/dist/fonts/roboto-light..ttf +0 -0
- package/dist/fonts/roboto-light..woff +0 -0
- package/dist/fonts/roboto-light..woff2 +0 -0
- package/dist/fonts/roboto-lightitalic..eot +0 -0
- package/dist/fonts/roboto-lightitalic..ttf +0 -0
- package/dist/fonts/roboto-lightitalic..woff +0 -0
- package/dist/fonts/roboto-lightitalic..woff2 +0 -0
- package/dist/fonts/roboto-medium..eot +0 -0
- package/dist/fonts/roboto-medium..ttf +0 -0
- package/dist/fonts/roboto-medium..woff +0 -0
- package/dist/fonts/roboto-medium..woff2 +0 -0
- package/dist/fonts/roboto-mediumitalic..eot +0 -0
- package/dist/fonts/roboto-mediumitalic..ttf +0 -0
- package/dist/fonts/roboto-mediumitalic..woff +0 -0
- package/dist/fonts/roboto-mediumitalic..woff2 +0 -0
- package/dist/fonts/roboto-regular..eot +0 -0
- package/dist/fonts/roboto-regular..ttf +0 -0
- package/dist/fonts/roboto-regular..woff +0 -0
- package/dist/fonts/roboto-regular..woff2 +0 -0
- package/dist/fonts/robotocondensed-light..eot +0 -0
- package/dist/fonts/robotocondensed-light..ttf +0 -0
- package/dist/fonts/robotocondensed-light..woff +0 -0
- package/dist/fonts/robotocondensed-light..woff2 +0 -0
- package/dist/fonts/robotocondensed-lightitalic..eot +0 -0
- package/dist/fonts/robotocondensed-lightitalic..ttf +0 -0
- package/dist/fonts/robotocondensed-lightitalic..woff +0 -0
- package/dist/fonts/robotocondensed-lightitalic..woff2 +0 -0
- package/dist/images/roboto-bolde46805ee..svg +1 -0
- package/dist/images/roboto-bolditalic4be90c03..svg +1 -0
- package/dist/images/roboto-italic2332d1c3..svg +1 -0
- package/dist/images/roboto-light054c1c8a..svg +1 -0
- package/dist/images/roboto-lightitalic2df589e4..svg +1 -0
- package/dist/images/roboto-medium832a5157..svg +1 -0
- package/dist/images/roboto-mediumitalicf09fad24..svg +1 -0
- package/dist/images/roboto-regulare788ed65..svg +1 -0
- package/dist/images/robotocondensed-light04ff367e..svg +1 -0
- package/dist/images/robotocondensed-lightitalic97b23821..svg +1 -0
- package/dist/js/theme.js +1 -0
- package/package.json +25 -2
- package/src/index.js +60 -14
- package/src/scss/_breadcrum.scss +1 -0
- package/src/scss/_fonts.scss +6 -5
- package/src/scss/_general.scss +73 -65
- package/src/scss/_header.scss +33 -13
- package/src/scss/_mixin.scss +43 -35
- package/src/scss/_sitenav.scss +326 -259
- package/src/scss/_sub-sitenav.scss +113 -65
- package/src/scss/_swiper.scss +17 -10
- package/src/scss/_trucaverif.scss +630 -555
- package/src/scss/common/_com-cookies.scss +86 -75
- package/src/scss/common/_com-edition.scss +36 -24
- package/src/scss/common/_com-faceted.scss +153 -132
- package/src/scss/common/_com-footer.scss +9 -5
- package/src/scss/common/_com-list-image.scss +17 -15
- package/src/scss/common/_com-react.scss +62 -57
- package/src/scss/common/_messviewlet.scss +77 -60
- package/src/scss/homepage/_a-la-une.scss +30 -19
- package/src/scss/homepage/_actualites.scss +137 -111
- package/src/scss/homepage/_album.scss +87 -75
- package/src/scss/homepage/_banner.scss +38 -41
- package/src/scss/homepage/_events.scss +42 -20
- package/src/scss/homepage/_general-home.scss +47 -43
- package/src/scss/homepage/_newsletter.scss +30 -24
- package/src/scss/homepage/_quick-access.scss +14 -4
- package/src/scss/list/_list-block-img.scss +53 -49
- package/src/scss/list/_list-block.scss +70 -64
- package/src/scss/list/_list-img.scss +21 -14
- package/src/scss/list/_list.scss +55 -53
- package/src/scss/main.scss +21 -9
- package/src/scss/sections/_se-contact.scss +229 -158
- package/src/scss/sections/_se-file.scss +188 -158
- package/src/scss/sections/_se-gallery.scss +16 -14
- package/src/scss/sections/_se-link.scss +141 -135
- package/src/scss/sections/_se-linked-content.scss +4 -4
- package/src/scss/sections/_se-plan-geo.scss +92 -74
- package/src/scss/sections/_se-plan.scss +2 -2
- package/src/scss/sections/_se-postit.scss +19 -17
- package/src/scss/sections/_se-textes.scss +35 -41
- package/src/scss/variables.scss +159 -138
- package/theme.zip +0 -0
package/dist/js/theme.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{"use strict";$(document).ready((function(){$("#portal-globalnav-collapse").on("show.bs.collapse",(function(){document.body.classList.add("open-nav-overflow"),document.documentElement.classList.add("open-nav-overflow")})),$("#portal-globalnav-collapse").on("hidden.bs.collapse",(function(){document.body.classList.remove("open-nav-overflow"),document.documentElement.classList.remove("open-nav-overflow")}))}))})();
|
package/package.json
CHANGED
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"url": "https://imio.be"
|
|
18
18
|
}
|
|
19
19
|
],
|
|
20
|
-
"homepage": "https://
|
|
20
|
+
"homepage": "https://",
|
|
21
21
|
"keywords": [
|
|
22
22
|
"imio",
|
|
23
23
|
"plone",
|
|
24
24
|
"smartweb"
|
|
25
25
|
],
|
|
26
|
-
"version": "0.
|
|
26
|
+
"version": "0.1.1",
|
|
27
27
|
"license": "GPL version 2",
|
|
28
28
|
"scripts": {
|
|
29
29
|
"stylelint": "npx stylelint 'src/**/*.{css,less}' 'src/**/*.{css,less}",
|
|
@@ -36,5 +36,28 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@plone/plonetheme-barceloneta-base": "3.0.0",
|
|
38
38
|
"@popperjs/core": "^2.11.6"
|
|
39
|
+
},
|
|
40
|
+
"release-it": {
|
|
41
|
+
"plugins": {
|
|
42
|
+
"@release-it/conventional-changelog": {
|
|
43
|
+
"preset": "angular",
|
|
44
|
+
"infile": "CHANGELOG.md",
|
|
45
|
+
"context": {
|
|
46
|
+
"commit": {
|
|
47
|
+
"path": "base/"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"git": {
|
|
53
|
+
"commitMessage": "chore: release ${version}",
|
|
54
|
+
"tagName": "v${version}"
|
|
55
|
+
},
|
|
56
|
+
"npm": {
|
|
57
|
+
"publish": true
|
|
58
|
+
},
|
|
59
|
+
"github": {
|
|
60
|
+
"release": true
|
|
61
|
+
}
|
|
39
62
|
}
|
|
40
63
|
}
|
package/src/index.js
CHANGED
|
@@ -1,16 +1,62 @@
|
|
|
1
1
|
import "./scss/main.scss";
|
|
2
|
-
$(
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
$(document).ready(function () {
|
|
3
|
+
$("#portal-globalnav-collapse").on("show.bs.collapse", function () {
|
|
4
|
+
document.body.classList.add("open-nav-overflow");
|
|
5
|
+
document.documentElement.classList.add("open-nav-overflow");
|
|
6
|
+
});
|
|
7
|
+
$("#portal-globalnav-collapse").on("hidden.bs.collapse", function () {
|
|
8
|
+
document.body.classList.remove("open-nav-overflow");
|
|
9
|
+
document.documentElement.classList.remove("open-nav-overflow");
|
|
10
|
+
});
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
// For custom slider
|
|
13
|
+
// var newsSwiper = $('.sectionnews .swiper')[0].swiper
|
|
14
|
+
// newsSwiper.params.spaceBetween=30;
|
|
15
|
+
// newsSwiper.update();
|
|
16
|
+
|
|
17
|
+
// function addElement() {
|
|
18
|
+
// // create a new div element
|
|
19
|
+
// const newDiv = document.createElement("div");
|
|
20
|
+
// newDiv.classList.add('test');
|
|
21
|
+
|
|
22
|
+
// // add the newly created element and its content into the DOM
|
|
23
|
+
// const currentDiv = $('.swiper-wrapper')
|
|
24
|
+
// console.log(currentDiv)
|
|
25
|
+
// document.body.insertBefore(newDiv, currentDiv);
|
|
26
|
+
// }
|
|
27
|
+
|
|
28
|
+
// For custom slider
|
|
29
|
+
|
|
30
|
+
// if ($('.smartweb_herobanner .swiper').length > 0) {
|
|
31
|
+
// var newsSwiper = $('.smartweb_herobanner .swiper')[0].swiper
|
|
32
|
+
// newsSwiper.params.spaceBetween = 300;
|
|
33
|
+
// newsSwiper.params.speed = 1000,
|
|
34
|
+
// newsSwiper.params.loop = true,
|
|
35
|
+
// newsSwiper.params.pagination = {
|
|
36
|
+
// el: '.test',
|
|
37
|
+
// type: 'bullets',
|
|
38
|
+
// },
|
|
39
|
+
// newsSwiper.update();
|
|
40
|
+
// }
|
|
41
|
+
// console.log(newsSwiper.params)
|
|
42
|
+
|
|
43
|
+
// var divExistante = document.querySelector('.swiper-wrapper');
|
|
44
|
+
// var nouvelleDiv = document.createElement('div');
|
|
45
|
+
// nouvelleDiv.classList.add('swiper-pagination');
|
|
46
|
+
// divExistante.insertAdjacentElement('afterend', nouvelleDiv);
|
|
47
|
+
|
|
48
|
+
// let swiper;
|
|
49
|
+
// const params = {
|
|
50
|
+
// pagination: {
|
|
51
|
+
// el: ".swiper-pagination",
|
|
52
|
+
// type: 'bullets',
|
|
53
|
+
// clickable:true,
|
|
54
|
+
// },
|
|
55
|
+
// speed: 100,
|
|
56
|
+
// loop:true,
|
|
57
|
+
// };
|
|
58
|
+
// function initSwiper(params) {
|
|
59
|
+
// swiper = new Swiper(".smartweb_herobanner .swiper", params);
|
|
60
|
+
// }
|
|
61
|
+
// initSwiper(params);
|
|
62
|
+
});
|
package/src/scss/_breadcrum.scss
CHANGED
package/src/scss/_fonts.scss
CHANGED
|
@@ -6,7 +6,7 @@ h5,
|
|
|
6
6
|
h6 {
|
|
7
7
|
font-family: $font-family-title;
|
|
8
8
|
color: $font-title-color;
|
|
9
|
-
font-weight
|
|
9
|
+
font-weight: $font-title-weight;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
@if $enable-title-uppercase {
|
|
@@ -20,11 +20,12 @@ h6 {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.portaltype-imio-smartweb-portalpage{
|
|
24
|
-
.section-title{
|
|
23
|
+
.portaltype-imio-smartweb-portalpage {
|
|
24
|
+
.section-title {
|
|
25
25
|
font-size: $home-section-title-size;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
+
|
|
28
29
|
#edit-bar .nav-link {
|
|
29
|
-
|
|
30
|
-
}
|
|
30
|
+
font-size: 16px !important;
|
|
31
|
+
}
|
package/src/scss/_general.scss
CHANGED
|
@@ -1,110 +1,118 @@
|
|
|
1
1
|
.frontend ul {
|
|
2
|
-
|
|
2
|
+
padding-left: 0;
|
|
3
3
|
}
|
|
4
|
+
|
|
4
5
|
.offcanvas-start {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
top: 0;
|
|
7
|
+
left: 0;
|
|
8
|
+
width: 95% !important;
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
.contact_gallery {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
img {
|
|
13
|
+
max-width: 100%;
|
|
14
|
+
}
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
// affichage horraire
|
|
17
18
|
.section-contact .table_schedule {
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
19
|
+
display: none;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.schedule .opening_informations::after {
|
|
23
|
+
content: "";
|
|
24
|
+
width: 9px;
|
|
25
|
+
height: 6px;
|
|
26
|
+
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="8.444" height="5.2"><path fill="black" d="M.247.254a.831.831 0 0 1 1.2 0l2.78 2.854L7.011.254A.831.831 0 0 1 8.2.264a.882.882 0 0 1 .01 1.215L4.825 4.946a.835.835 0 0 1-.6.254 1.529 1.529 0 0 1-.6-.254L.247 1.479a.882.882 0 0 1 0-1.226Z"/></svg>');
|
|
27
|
+
background-size: contain;
|
|
28
|
+
background-position: center;
|
|
29
|
+
background-repeat: no-repeat;
|
|
30
|
+
margin-left: 0.4rem;
|
|
31
|
+
display: inline-block;
|
|
32
|
+
vertical-align: middle;
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
//Cacher le bouton téléverser et l’afficher là ou il est utile
|
|
35
36
|
#content .navbar a#btn-upload {
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.portaltype-imio-smartweb-sectionfiles #content .navbar a#btn-upload,
|
|
40
|
-
.portaltype-imio-smartweb-sectiongallery #content .navbar a#btn-upload,
|
|
41
|
-
.portaltype-imio-smartweb-sectionhtml #content .navbar a#btn-upload{
|
|
42
|
-
visibility: visible;
|
|
37
|
+
visibility: hidden;
|
|
43
38
|
}
|
|
44
39
|
|
|
45
|
-
|
|
46
|
-
.
|
|
47
|
-
|
|
48
|
-
|
|
40
|
+
.portaltype-imio-smartweb-sectionfiles #content .navbar a#btn-upload,
|
|
41
|
+
.portaltype-imio-smartweb-sectiongallery #content .navbar a#btn-upload,
|
|
42
|
+
.portaltype-imio-smartweb-sectionhtml #content .navbar a#btn-upload {
|
|
43
|
+
visibility: visible;
|
|
49
44
|
}
|
|
50
45
|
|
|
51
46
|
.select2-results .select2-highlighted {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
47
|
+
background: #f9f9f9;
|
|
48
|
+
}
|
|
55
49
|
|
|
56
50
|
// img placeholder
|
|
57
51
|
|
|
58
|
-
.r-item-img-placeholder{
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
52
|
+
.r-item-img-placeholder {
|
|
53
|
+
background: $img-placeholder;
|
|
54
|
+
background-size: cover;
|
|
55
|
+
background-position: center;
|
|
62
56
|
}
|
|
63
57
|
|
|
64
58
|
.block-menu-element .newsImage.no-image {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
59
|
+
background: $img-placeholder;
|
|
60
|
+
background-size: cover;
|
|
61
|
+
background-position: center;
|
|
68
62
|
}
|
|
69
63
|
|
|
70
64
|
// Afficher les intitulés sur une ligne et l’info (numéro de téléphone, email) sur une ligne suivante.
|
|
71
65
|
|
|
72
66
|
.section-contact .contact_informations a {
|
|
73
|
-
|
|
74
|
-
|
|
67
|
+
display: block;
|
|
68
|
+
}
|
|
69
|
+
|
|
75
70
|
.userrole-authenticated.template-edit #content-core .edit .form-label {
|
|
76
|
-
|
|
71
|
+
font-weight: 600;
|
|
77
72
|
}
|
|
73
|
+
|
|
78
74
|
.linkTypes a#tinymce-autotoc-autotoc-1 {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
75
|
+
display: none;
|
|
76
|
+
}
|
|
77
|
+
|
|
82
78
|
// backoffie icon
|
|
83
79
|
.kssattr-fieldset-icons div#formfield-form-widgets-svg_icon {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
80
|
+
display: flex;
|
|
81
|
+
flex-wrap: wrap;
|
|
82
|
+
gap: 1%;
|
|
87
83
|
}
|
|
88
|
-
|
|
89
|
-
|
|
84
|
+
|
|
85
|
+
.kssattr-fieldset-icons div#formfield-form-widgets-svg_icon .form-text {
|
|
86
|
+
width: 100%;
|
|
90
87
|
}
|
|
91
88
|
|
|
92
89
|
.kssattr-fieldset-icons div#formfield-form-widgets-svg_icon .option {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
90
|
+
position: relative;
|
|
91
|
+
flex-basis: 15%;
|
|
92
|
+
padding: 0.75rem;
|
|
93
|
+
text-align: center;
|
|
97
94
|
}
|
|
95
|
+
|
|
98
96
|
.kssattr-fieldset-icons div#formfield-form-widgets-svg_icon .plone-icon {
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
width: auto;
|
|
98
|
+
height: 2.5rem;
|
|
101
99
|
}
|
|
100
|
+
|
|
102
101
|
.kssattr-fieldset-icons div#formfield-form-widgets-svg_icon .option label {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
102
|
+
display: flex;
|
|
103
|
+
flex-direction: column;
|
|
104
|
+
align-items: center;
|
|
105
|
+
font-size: 14px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.mb-ign-mode-liste-carte {
|
|
109
|
+
z-index: 0;
|
|
107
110
|
}
|
|
108
|
-
|
|
109
|
-
|
|
111
|
+
|
|
112
|
+
.procedure a::after {
|
|
113
|
+
content: "\F135";
|
|
114
|
+
font-family: Bootstrap-icons;
|
|
115
|
+
margin-left: 0.5rem;
|
|
116
|
+
position: relative;
|
|
117
|
+
top: 3px;
|
|
110
118
|
}
|
package/src/scss/_header.scss
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
#portal-globalnav-wrapper {
|
|
2
2
|
background: transparent;
|
|
3
3
|
}
|
|
4
|
+
|
|
4
5
|
.portaltype-imio-smartweb-portalpage #portal-breadcrumbs {
|
|
5
6
|
display: none;
|
|
6
7
|
}
|
|
8
|
+
|
|
7
9
|
#portal-header {
|
|
8
10
|
display: block;
|
|
9
11
|
margin-top: 0;
|
|
10
12
|
margin-bottom: 1.25rem;
|
|
11
|
-
|
|
13
|
+
|
|
14
|
+
@include media-breakpoint-up(md) {
|
|
12
15
|
position: relative;
|
|
13
16
|
}
|
|
17
|
+
|
|
14
18
|
#portal-header-top {
|
|
15
19
|
@include media-breakpoint-down(lg) {
|
|
16
20
|
justify-content: space-between;
|
|
@@ -20,13 +24,16 @@
|
|
|
20
24
|
display: flex;
|
|
21
25
|
align-items: center;
|
|
22
26
|
padding: $header-top-padding;
|
|
27
|
+
|
|
23
28
|
@if $header-center-nav {
|
|
24
29
|
justify-content: space-between;
|
|
30
|
+
|
|
25
31
|
#portal-globalnav-wrapper {
|
|
26
32
|
margin-right: 0 !important;
|
|
27
33
|
}
|
|
28
34
|
}
|
|
29
|
-
|
|
35
|
+
|
|
36
|
+
&::after {
|
|
30
37
|
content: "";
|
|
31
38
|
position: absolute;
|
|
32
39
|
width: 100vw;
|
|
@@ -37,15 +44,18 @@
|
|
|
37
44
|
z-index: -1;
|
|
38
45
|
background: $header-top-background;
|
|
39
46
|
}
|
|
47
|
+
|
|
40
48
|
#portal-logo {
|
|
41
49
|
max-width: $main-logo-max-width;
|
|
42
50
|
margin-top: 0;
|
|
43
51
|
width: 100%;
|
|
44
|
-
|
|
52
|
+
|
|
53
|
+
svg {
|
|
45
54
|
max-width: 100%;
|
|
46
55
|
height: 100%;
|
|
47
56
|
}
|
|
48
57
|
}
|
|
58
|
+
|
|
49
59
|
#portal-globalnav-wrapper {
|
|
50
60
|
margin: $header-nav-margin;
|
|
51
61
|
}
|
|
@@ -54,26 +64,32 @@
|
|
|
54
64
|
display: flex;
|
|
55
65
|
align-items: center;
|
|
56
66
|
gap: 26px;
|
|
67
|
+
|
|
57
68
|
@include media-breakpoint-up(lg) {
|
|
58
69
|
margin-left: auto;
|
|
59
70
|
}
|
|
71
|
+
|
|
60
72
|
@include media-breakpoint-down(lg) {
|
|
61
73
|
order: -2;
|
|
62
74
|
}
|
|
75
|
+
|
|
63
76
|
#header-actions {
|
|
64
77
|
@include media-breakpoint-down(lg) {
|
|
65
78
|
display: none !important;
|
|
66
79
|
}
|
|
67
80
|
}
|
|
81
|
+
|
|
68
82
|
a,
|
|
69
83
|
span {
|
|
70
84
|
color: $header-links-color;
|
|
71
85
|
}
|
|
86
|
+
|
|
72
87
|
.account {
|
|
73
88
|
margin: $header-links-account-margin;
|
|
74
89
|
padding: $header-links-account-padding;
|
|
75
90
|
border: $header-links-account-border;
|
|
76
91
|
background: $header-links-account-bg;
|
|
92
|
+
|
|
77
93
|
&:hover,
|
|
78
94
|
&:focus {
|
|
79
95
|
border: $header-links-account-hover-border;
|
|
@@ -81,8 +97,10 @@
|
|
|
81
97
|
color: $header-links-account-hover-color !important;
|
|
82
98
|
}
|
|
83
99
|
}
|
|
100
|
+
|
|
84
101
|
#search-link {
|
|
85
102
|
cursor: pointer;
|
|
103
|
+
|
|
86
104
|
a {
|
|
87
105
|
width: 46px;
|
|
88
106
|
height: 46px;
|
|
@@ -91,7 +109,8 @@
|
|
|
91
109
|
align-items: center;
|
|
92
110
|
border: 1px solid #c1c1c1;
|
|
93
111
|
border-radius: 50px;
|
|
94
|
-
|
|
112
|
+
|
|
113
|
+
&::before {
|
|
95
114
|
content: "";
|
|
96
115
|
width: 14px;
|
|
97
116
|
height: 14px;
|
|
@@ -116,19 +135,20 @@
|
|
|
116
135
|
.mask-menu {
|
|
117
136
|
position: fixed;
|
|
118
137
|
z-index: 1;
|
|
119
|
-
|
|
120
|
-
right: 0;
|
|
121
|
-
bottom: 0;
|
|
122
|
-
left: 0;
|
|
138
|
+
inset: 0;
|
|
123
139
|
display: block;
|
|
124
140
|
background-color: $nav-mask-background;
|
|
125
|
-
opacity: 0
|
|
126
|
-
transition:
|
|
141
|
+
opacity: 0%;
|
|
142
|
+
transition:
|
|
143
|
+
opacity 0.05s,
|
|
144
|
+
visibility 0s linear 0.25s;
|
|
127
145
|
visibility: hidden;
|
|
128
146
|
|
|
129
147
|
&.in {
|
|
130
|
-
opacity:
|
|
131
|
-
transition:
|
|
148
|
+
opacity: 100%;
|
|
149
|
+
transition:
|
|
150
|
+
opacity 0.2s ease,
|
|
151
|
+
visibility 0s;
|
|
132
152
|
visibility: visible;
|
|
133
153
|
}
|
|
134
|
-
}
|
|
154
|
+
}
|
package/src/scss/_mixin.scss
CHANGED
|
@@ -1,50 +1,58 @@
|
|
|
1
1
|
@mixin full-width {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
content: "";
|
|
3
|
+
position: absolute;
|
|
4
|
+
width: 100vw;
|
|
5
|
+
top: 0;
|
|
6
|
+
bottom: 0;
|
|
7
|
+
left: 50%;
|
|
8
|
+
transform: translateX(-50vw);
|
|
9
|
+
z-index: -1;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
@mixin last-item-no-margin-bottom {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
&:last-child {
|
|
14
|
+
margin-bottom: 0;
|
|
15
|
+
}
|
|
16
16
|
}
|
|
17
|
+
|
|
17
18
|
@mixin first-item-no-margin-top {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
&:first-child {
|
|
20
|
+
margin-top: 0;
|
|
21
|
+
}
|
|
21
22
|
}
|
|
23
|
+
|
|
22
24
|
@mixin ul-rm-padding {
|
|
23
|
-
|
|
25
|
+
padding-left: 0;
|
|
24
26
|
}
|
|
27
|
+
|
|
25
28
|
@mixin section-padding-top {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
padding-top: map-get($section-padding, sm);
|
|
30
|
+
|
|
31
|
+
@include media-breakpoint-up(md) {
|
|
32
|
+
padding-top: map-get($section-padding, md);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@include media-breakpoint-up(lg) {
|
|
36
|
+
padding-top: map-get($section-padding, lg);
|
|
37
|
+
}
|
|
33
38
|
}
|
|
39
|
+
|
|
34
40
|
@mixin section-padding-bottom {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
padding-bottom: map-get($section-padding, sm);
|
|
42
|
+
|
|
43
|
+
@include media-breakpoint-up(md) {
|
|
44
|
+
padding-bottom: map-get($section-padding, md);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@include media-breakpoint-up(lg) {
|
|
48
|
+
padding-bottom: map-get($section-padding, lg);
|
|
49
|
+
}
|
|
42
50
|
}
|
|
43
51
|
|
|
44
52
|
@mixin fit-cover {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
53
|
+
position: absolute;
|
|
54
|
+
object-fit: cover;
|
|
55
|
+
width: 100%;
|
|
56
|
+
height: 100%;
|
|
57
|
+
object-position: top;
|
|
58
|
+
}
|