@imiobe/plonetheme-smartweb-base 0.0.3 → 0.0.4
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/assets/svg/download-arrow-blue.svg +1 -0
- package/assets/svg/download-arrow.svg +1 -0
- package/assets/svg/files.svg +1 -0
- package/assets/svg/pdf-file-icon.svg +1 -0
- package/dist/css/theme.css +7 -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/close29148b38..svg +1 -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 +1 -1
- package/src/index.js +10 -34
- package/src/scss/_breadcrum.scss +45 -35
- package/src/scss/_edition.scss +2 -2
- package/src/scss/_fonts.scss +18 -6
- package/src/scss/_general.scss +14 -0
- package/src/scss/_header.scss +125 -54
- package/src/scss/_mixin.scss +50 -0
- package/src/scss/_print.scss +8 -7
- package/src/scss/_sitenav.scss +450 -370
- package/src/scss/_sub-sitenav.scss +708 -0
- package/src/scss/_swiper.scss +31 -26
- package/src/scss/_trucaverif.scss +954 -0
- package/src/scss/common/_com-cookies.scss +81 -0
- package/src/scss/common/_com-edition.scss +44 -0
- package/src/scss/common/_com-faceted.scss +184 -0
- package/src/scss/common/_com-list-image.scss +16 -0
- package/src/scss/common/_messviewlet.scss +77 -0
- package/src/scss/homepage/_a-la-une.scss +91 -76
- package/src/scss/homepage/_actualites.scss +98 -117
- package/src/scss/homepage/_album.scss +87 -0
- package/src/scss/homepage/_banner.scss +70 -59
- package/src/scss/homepage/_events.scss +88 -0
- package/src/scss/homepage/_general-home.scss +29 -0
- package/src/scss/homepage/_quick-access.scss +72 -32
- package/src/scss/list/_list-block-img.scss +52 -0
- package/src/scss/list/_list-block.scss +74 -0
- package/src/scss/list/_list-img.scss +27 -0
- package/src/scss/list/_list.scss +61 -0
- package/src/scss/main.scss +31 -5
- package/src/scss/sections/_se-contact.scss +397 -0
- package/src/scss/sections/_se-file.scss +175 -0
- package/src/scss/sections/_se-gallery.scss +4 -0
- package/src/scss/sections/_se-link.scss +154 -0
- package/src/scss/sections/_se-linked-content.scss +4 -0
- package/src/scss/sections/_se-plan.scss +3 -0
- package/src/scss/sections/_se-textes.scss +235 -0
- package/src/scss/variables.scss +347 -97
- package/theme.zip +0 -0
- package/src/scss/sections/_textes.scss +0 -211
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
package/src/index.js
CHANGED
|
@@ -1,36 +1,12 @@
|
|
|
1
1
|
import "./scss/main.scss";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
// $( document ).ready(function() {
|
|
15
|
-
// function wrap(el,el2,el3, wrapper) {
|
|
16
|
-
// el.parentNode.insertBefore(wrapper,el);
|
|
17
|
-
// el2.parentNode.insertBefore(wrapper,el2);
|
|
18
|
-
// el3.parentNode.insertBefore(wrapper,el3);
|
|
19
|
-
// wrapper.id = 'portal-header-top';
|
|
20
|
-
// wrapper.appendChild(el);
|
|
21
|
-
// wrapper.appendChild(el2);
|
|
22
|
-
// wrapper.appendChild(el3);
|
|
23
|
-
|
|
24
|
-
// }
|
|
25
|
-
// wrap(document.getElementById('portal-logo'), document.getElementById('portal-globalnav-wrapper'), document.getElementById('header-links'), document.createElement('div'));
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
// function insertAfter(referenceNode, newNode) {
|
|
29
|
-
// referenceNode.parentNode.insertBefore(newNode, referenceNode.nextSibling);
|
|
30
|
-
// }
|
|
31
|
-
|
|
32
|
-
// var el = document.createElement("div");
|
|
33
|
-
// el.id = "banner-homepage";
|
|
34
|
-
// var div = document.getElementById("portal-header-top");
|
|
35
|
-
// insertAfter(div, el);
|
|
36
|
-
// });
|
|
3
|
+
$( document ).ready(function() {
|
|
4
|
+
$('#portal-globalnav-collapse').on('show.bs.collapse', function () {
|
|
5
|
+
document.body.classList.add('open-nav-overflow');
|
|
6
|
+
document.documentElement.classList.add('open-nav-overflow');
|
|
7
|
+
})
|
|
8
|
+
$('#portal-globalnav-collapse').on('hidden.bs.collapse', function () {
|
|
9
|
+
document.body.classList.remove('open-nav-overflow');
|
|
10
|
+
document.documentElement.classList.remove('open-nav-overflow');
|
|
11
|
+
})
|
|
12
|
+
});
|
package/src/scss/_breadcrum.scss
CHANGED
|
@@ -1,46 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
// *// BREADCRUMBS //* //
|
|
3
2
|
#portal-breadcrumbs {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
.container{
|
|
14
|
-
padding: 0;
|
|
3
|
+
position: relative;
|
|
4
|
+
margin-bottom: 0;
|
|
5
|
+
background-color: $breadcrumb-bg;
|
|
6
|
+
@if $enable-full-width-breacrumb {
|
|
7
|
+
&::after {
|
|
8
|
+
@include full-width;
|
|
9
|
+
|
|
10
|
+
background: $breadcrumb-bg;
|
|
15
11
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.container {
|
|
15
|
+
padding: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.breadcrumb {
|
|
19
|
+
background-color: transparent;
|
|
20
|
+
|
|
21
|
+
.breadcrumb-item {
|
|
22
|
+
& + .breadcrumb-item {
|
|
23
|
+
padding-left: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
a {
|
|
27
|
+
text-decoration: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&::before {
|
|
31
|
+
padding-right: 0.25rem;
|
|
32
|
+
padding-left: 0.25rem;
|
|
33
|
+
content: ">";
|
|
34
|
+
float: right;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&:last-child::before {
|
|
38
|
+
content: "";
|
|
34
39
|
}
|
|
35
40
|
}
|
|
41
|
+
}
|
|
36
42
|
}
|
|
37
|
-
|
|
38
|
-
|
|
43
|
+
|
|
44
|
+
.section-home-page {
|
|
45
|
+
#plone-breadcrumb {
|
|
39
46
|
display: none;
|
|
40
47
|
}
|
|
41
48
|
}
|
|
49
|
+
|
|
42
50
|
// cacher le breadcrumb à la racine du site
|
|
43
|
-
.section-home-page-bla nav#portal-breadcrumbs
|
|
51
|
+
.section-home-page-bla nav#portal-breadcrumbs,
|
|
52
|
+
.portaltype-imio-smartweb-portalpage #portal-breadcrumbs {
|
|
44
53
|
display: none;
|
|
45
54
|
}
|
|
46
|
-
|
|
55
|
+
|
|
56
|
+
// --- //
|
package/src/scss/_edition.scss
CHANGED
package/src/scss/_fonts.scss
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
|
-
h1,
|
|
2
|
-
|
|
1
|
+
h1,
|
|
2
|
+
h2,
|
|
3
|
+
h3,
|
|
4
|
+
h4,
|
|
5
|
+
h5,
|
|
6
|
+
h6 {
|
|
7
|
+
font-family: $font-family-title;
|
|
8
|
+
color: $font-title-color;
|
|
9
|
+
font-weight:$font-title-weight;
|
|
3
10
|
}
|
|
4
11
|
|
|
5
12
|
@if $enable-title-uppercase {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
13
|
+
h1,
|
|
14
|
+
h2,
|
|
15
|
+
h3,
|
|
16
|
+
h4,
|
|
17
|
+
h5,
|
|
18
|
+
h6 {
|
|
19
|
+
text-transform: uppercase;
|
|
20
|
+
}
|
|
21
|
+
}
|
package/src/scss/_header.scss
CHANGED
|
@@ -1,71 +1,142 @@
|
|
|
1
|
-
#portal-globalnav-wrapper{
|
|
2
|
-
|
|
1
|
+
#portal-globalnav-wrapper {
|
|
2
|
+
background: transparent;
|
|
3
3
|
}
|
|
4
|
-
.portaltype-imio-smartweb-portalpage #portal-breadcrumbs{
|
|
5
|
-
|
|
4
|
+
.portaltype-imio-smartweb-portalpage #portal-breadcrumbs {
|
|
5
|
+
display: none;
|
|
6
6
|
}
|
|
7
|
-
#portal-header{
|
|
8
|
-
|
|
7
|
+
#portal-header {
|
|
8
|
+
z-index: 2;
|
|
9
|
+
display: block;
|
|
10
|
+
margin-top: 0;
|
|
11
|
+
#portal-header-top {
|
|
12
|
+
@include media-breakpoint-down(lg) {
|
|
13
|
+
justify-content: space-between;
|
|
14
|
+
}
|
|
15
|
+
position: relative;
|
|
9
16
|
z-index: 2;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
17
|
+
// display: grid;
|
|
18
|
+
// grid-template-columns: 115px 1fr auto !important;
|
|
19
|
+
// grid-template-areas: "logo menu link";
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
padding: $header-top-padding;
|
|
23
|
+
@if $header-center-nav {
|
|
24
|
+
justify-content: space-between;
|
|
25
|
+
#portal-globalnav-wrapper {
|
|
26
|
+
margin-right: 0 !important;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
&:after {
|
|
30
|
+
content: "";
|
|
31
|
+
position: absolute;
|
|
32
|
+
width: 100vw;
|
|
33
|
+
top: 0;
|
|
34
|
+
bottom: 0;
|
|
35
|
+
left: 50%;
|
|
36
|
+
transform: translateX(-50vw);
|
|
37
|
+
z-index: -1;
|
|
38
|
+
background: $header-top-background;
|
|
39
|
+
}
|
|
40
|
+
#portal-logo {
|
|
41
|
+
max-width: $main-logo-max-width;
|
|
42
|
+
margin-top: 0;
|
|
43
|
+
img {
|
|
44
|
+
max-width: 100%;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
#portal-globalnav-wrapper {
|
|
48
|
+
margin: $header-nav-margin;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
#header-links {
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
gap: 26px;
|
|
55
|
+
@include media-breakpoint-up(lg) {
|
|
56
|
+
margin-left: auto;
|
|
57
|
+
}
|
|
58
|
+
@include media-breakpoint-down(lg) {
|
|
59
|
+
order: -2;
|
|
60
|
+
}
|
|
61
|
+
#header-actions {
|
|
62
|
+
@include media-breakpoint-down(lg) {
|
|
63
|
+
display: none !important;
|
|
30
64
|
}
|
|
31
|
-
|
|
32
|
-
|
|
65
|
+
}
|
|
66
|
+
a,
|
|
67
|
+
span {
|
|
68
|
+
color: $header-links-color;
|
|
69
|
+
}
|
|
70
|
+
.account {
|
|
71
|
+
margin: $header-links-account-margin;
|
|
72
|
+
padding: $header-links-account-padding;
|
|
73
|
+
border: $header-links-account-border;
|
|
74
|
+
background: $header-links-account-bg;
|
|
75
|
+
&:hover,
|
|
76
|
+
&:focus {
|
|
77
|
+
border: $header-links-account-hover-border;
|
|
78
|
+
background: $header-links-account-hover-bg;
|
|
79
|
+
color: $header-links-account-hover-color !important;
|
|
33
80
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
81
|
+
}
|
|
82
|
+
#search-link {
|
|
83
|
+
cursor: pointer;
|
|
84
|
+
a {
|
|
85
|
+
width: 46px;
|
|
86
|
+
height: 46px;
|
|
87
|
+
display: flex;
|
|
88
|
+
justify-content: center;
|
|
89
|
+
align-items: center;
|
|
90
|
+
border: 1px solid #c1c1c1;
|
|
91
|
+
border-radius: 50px;
|
|
92
|
+
&:before {
|
|
93
|
+
content: "";
|
|
94
|
+
width: 14px;
|
|
95
|
+
height: 14px;
|
|
96
|
+
background: $header-search-icon no-repeat;
|
|
97
|
+
background-size: 14px;
|
|
98
|
+
display: block;
|
|
99
|
+
}
|
|
39
100
|
}
|
|
101
|
+
}
|
|
40
102
|
}
|
|
103
|
+
}
|
|
41
104
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
105
|
+
|
|
106
|
+
header#content-header {
|
|
107
|
+
position: relative;
|
|
108
|
+
z-index: 9;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@include media-breakpoint-down(lg) {
|
|
112
|
+
.navbar-expand-md .navbar-toggler {
|
|
113
|
+
display: block !important;
|
|
114
|
+
}
|
|
45
115
|
}
|
|
116
|
+
|
|
46
117
|
// .subsite-container{ ---------------------- POURQUOI clip ???
|
|
47
118
|
// grid-area: sub;
|
|
48
119
|
// overflow-x: clip;
|
|
49
120
|
// }
|
|
50
121
|
|
|
51
|
-
|
|
52
122
|
// MASK
|
|
53
123
|
|
|
54
|
-
.mask-menu{
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
124
|
+
.mask-menu {
|
|
125
|
+
position: fixed;
|
|
126
|
+
z-index: 1;
|
|
127
|
+
top: 0;
|
|
128
|
+
right: 0;
|
|
129
|
+
bottom: 0;
|
|
130
|
+
left: 0;
|
|
131
|
+
display: block;
|
|
132
|
+
background-color: $nav-mask-background;
|
|
133
|
+
opacity: 0;
|
|
134
|
+
transition: opacity 0.05s, visibility 0s linear 0.25s;
|
|
135
|
+
visibility: hidden;
|
|
136
|
+
|
|
137
|
+
&.in {
|
|
138
|
+
opacity: 1;
|
|
139
|
+
transition: opacity 0.2s ease, visibility 0s;
|
|
140
|
+
visibility: visible;
|
|
141
|
+
}
|
|
71
142
|
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
@mixin full-width {
|
|
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
|
+
}
|
|
11
|
+
|
|
12
|
+
@mixin last-item-no-margin-bottom {
|
|
13
|
+
&:last-child {
|
|
14
|
+
margin-bottom: 0;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
@mixin first-item-no-margin-top {
|
|
18
|
+
&:first-child {
|
|
19
|
+
margin-top: 0;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
@mixin ul-rm-padding {
|
|
23
|
+
padding-left: 0;
|
|
24
|
+
}
|
|
25
|
+
@mixin section-padding-top {
|
|
26
|
+
padding-top: map-get($section-padding, sm);
|
|
27
|
+
@include media-breakpoint-up(md) {
|
|
28
|
+
padding-top: map-get($section-padding, md);
|
|
29
|
+
}
|
|
30
|
+
@include media-breakpoint-up(lg) {
|
|
31
|
+
padding-top: map-get($section-padding, lg);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
@mixin section-padding-bottom {
|
|
35
|
+
padding-bottom: map-get($section-padding, sm);
|
|
36
|
+
@include media-breakpoint-up(md) {
|
|
37
|
+
padding-bottom: map-get($section-padding, md);
|
|
38
|
+
}
|
|
39
|
+
@include media-breakpoint-up(lg) {
|
|
40
|
+
padding-bottom: map-get($section-padding, lg);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@mixin fit-cover {
|
|
45
|
+
position: absolute;
|
|
46
|
+
object-fit: cover;
|
|
47
|
+
width: 100%;
|
|
48
|
+
height: 100%;
|
|
49
|
+
object-position: top;
|
|
50
|
+
}
|
package/src/scss/_print.scss
CHANGED