Skip to content

Commit

Permalink
Theme Lasne
Browse files Browse the repository at this point in the history
  • Loading branch information
Broemman committed Feb 27, 2025
1 parent 6e3c627 commit b67748b
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 46 deletions.
22 changes: 11 additions & 11 deletions lasne/src/index.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
import "./scss/main.scss";
import './scss/main.scss';
$(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('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");
$('#portal-globalnav-collapse').on('hidden.bs.collapse', function () {
document.body.classList.remove('open-nav-overflow');
document.documentElement.classList.remove('open-nav-overflow');
});

// For custom slider
if ($(".sectionnews .swiper").length > 0) {
var newsSwiper = $(".sectionnews .swiper")[0].swiper;
if ($('.sectionnews .swiper').length > 0) {
var newsSwiper = $('.sectionnews .swiper')[0].swiper;
newsSwiper.params.spaceBetween = 30;
(newsSwiper.params.speed = 1000), newsSwiper.update();
}
if ($(".sectionevents .swiper").length > 0) {
var eventsSwiper = $(".sectionevents .swiper")[0].swiper;
if ($('.sectionevents .swiper').length > 0) {
var eventsSwiper = $('.sectionevents .swiper')[0].swiper;
eventsSwiper.params.spaceBetween = 30;
(eventsSwiper.params.speed = 1000), eventsSwiper.update();
}
Expand Down
2 changes: 1 addition & 1 deletion lasne/src/scss/home/actualites.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

.sectionnews::after,
.sectioncollection.bulletins::after {
content: url("../../assets/svg/circles-colors-background.svg");
content: url('../../assets/svg/circles-colors-background.svg');
position: absolute;
top: 0 !important;
left: 0;
Expand Down
2 changes: 1 addition & 1 deletion lasne/src/scss/home/banner.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.smartweb_herobanner .swiper-slide .swiper-banner-content-wrapper.container {
top: 0 !important;
background: url("../../assets/svg/circles-colors-banner.svg") no-repeat;
background: url('../../assets/svg/circles-colors-banner.svg') no-repeat;
background-size: contain;
background-position: right;

Expand Down
2 changes: 1 addition & 1 deletion lasne/src/scss/home/bulletin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
&::after {
background-color: transparent;
bottom: -5px;
content: "";
content: '';
height: initial;
position: absolute;
transition: all 0.2s ease;
Expand Down
16 changes: 8 additions & 8 deletions lasne/src/scss/home/divers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ h1 {
position: relative;

&::before {
content: "";
content: '';
height: 2px;
bottom: -3px;
position: absolute;
Expand Down Expand Up @@ -108,7 +108,7 @@ h1 {
}

.r-item-img.r-item-img-placeholder {
background: url("../../assets/svg/placeholder.jpg");
background: url('../../assets/svg/placeholder.jpg');
background-size: cover;
background-position: center;
}
Expand Down Expand Up @@ -260,12 +260,12 @@ footer #container-section-noussuivre {
}
}

.r-filter div[class*="control"] {
.r-filter div[class*='control'] {
border-radius: 5px;
}

.procedure a::after {
content: "\F135";
content: '\F135';
font-family: Bootstrap-icons;
margin-left: 0.5rem;
position: relative;
Expand Down Expand Up @@ -340,7 +340,7 @@ footer #container-section-noussuivre {
z-index: -1;

&::after {
content: "";
content: '';
position: absolute;
inset: 0;
background: linear-gradient(
Expand Down Expand Up @@ -487,7 +487,7 @@ footer #container-section-noussuivre {
}

&::after {
content: "";
content: '';
position: absolute;
width: 100vw;
left: 50%;
Expand Down Expand Up @@ -619,7 +619,7 @@ h3 {
}

.sectiontext ol > li::before {
content: counter(sectioncounter) "." !important;
content: counter(sectioncounter) '.' !important;
}

#portal-footer-wrapper #portal-footer #smartweb-footer a,
Expand Down Expand Up @@ -800,7 +800,7 @@ h3 {

//SECTION NEWSLETTER HOMEPAGE
.sortable-section.sectionlinks.newsletter-custom {
background: url("../../assets/svg/circles-newsletter.svg") no-repeat $primary;
background: url('../../assets/svg/circles-newsletter.svg') no-repeat $primary;
background-size: contain;
background-position: right bottom;
}
Expand Down
4 changes: 2 additions & 2 deletions lasne/src/scss/home/events.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
padding-top: 8rem;

&::after {
content: url("../../assets/svg/circles-colors-background.svg");
content: url('../../assets/svg/circles-colors-background.svg');
position: absolute;
top: 0 !important;
right: 0;
Expand All @@ -13,7 +13,7 @@

.sectionlinks.partenaires {
&::after {
content: url("../../assets/svg/circles-colors-background.svg");
content: url('../../assets/svg/circles-colors-background.svg');
position: absolute;
top: 0 !important;
right: 0;
Expand Down
30 changes: 15 additions & 15 deletions lasne/src/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

$enable-roboto-webfont: false;

@import url("https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css");
@import url('https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css');

//// IMPORTS

Expand All @@ -14,27 +14,27 @@ $enable-roboto-webfont: false;

// @import "@imiobe/plonetheme-smartweb-base/src/scss/main";

@import "./variables";
@import "../../../base/src/scss/main";
@import './variables';
@import '../../../base/src/scss/main';

//// STYLES

// ... add your styles here

@import "./home/banner";
@import "./home/quick";
@import "./home/actualites";
@import "./home/events";
@import "./home/bulletin";
@import "./home/footer";
@import "./home/section-en-image";
@import "./se-link";
@import "./se-files";
@import "./contact";
@import "./home/divers";
@import './home/banner';
@import './home/quick';
@import './home/actualites';
@import './home/events';
@import './home/bulletin';
@import './home/footer';
@import './home/section-en-image';
@import './se-link';
@import './se-files';
@import './contact';
@import './home/divers';

.sectiontext ol li::before {
content: counters(item, ".") " " !important;
content: counters(item, '.') ' ' !important;
}

.minisite_title {
Expand Down
2 changes: 1 addition & 1 deletion lasne/src/scss/se-files.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
font-family: $font-family-base;

&::before {
content: "";
content: '';
background: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='uuid-6ea3f586-ad4e-4ea5-a2a3-9081708c3e7f' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52.65 52.14'%3E%3Cg id='uuid-9a101051-056e-49bb-ae55-6f9050a07aa4'%3E%3Cpath id='uuid-29306b0f-134c-436a-bf15-da5b7f22ca53' d='m52.22,6.39L46.01.46c-.23-.28-.57-.45-.94-.46h-24.9c-.73,0-1.32.59-1.32,1.32v4.05l-8.78,1.5c-.7.12-1.18.79-1.06,1.5l.44,2.6c-2.85.96-5.78,1.95-8.61,2.97-.67.25-1.02.99-.78,1.66l5.63,15.64c.13.41.56.63.97.5s.63-.56.5-.97c0-.02-.01-.03-.02-.05L1.61,15.31c2.66-.96,5.42-1.89,8.12-2.8l2.65,15.45,3.05,17.8c.13.7.79,1.17,1.5,1.06l8.26-1.42,6.45-1.11-9.71,3.49-7.66,2.75-5.95-16.54c-.14-.4-.59-.61-.99-.47-.4.14-.61.59-.47.99h0l6.03,16.77c.19.51.67.85,1.22.85.15,0,.3-.03.44-.08l7.89-2.83,17.9-6.44,3.42-.59h7.56c.73,0,1.32-.59,1.32-1.32V7.26c0-.34-.16-.66-.43-.87h0Zm-2.04.18h-3.96c-.19,0-.62,0-.73-.1-.05-.08-.07-.17-.06-.27V2.05s4.74,4.52,4.74,4.52Zm.93,34.1h-30.72v-15.03c0-.43-.35-.77-.77-.77s-.77.35-.77.77v15.25c0,.73.59,1.32,1.32,1.32h14.48l-9.72,1.67-8.02,1.38-3.01-17.55-3.32-19.35,8.27-1.42v15.12c0,.43.35.77.77.77s.77-.35.77-.77V1.54h23.5v4.66c-.02.5.17,1,.52,1.36.48.4,1.09.6,1.71.55h4.99v32.55Z'/%3E%3Cpath id='uuid-19ebad54-5d64-4b6a-8103-ea87acd3b7be' d='m24.11,11.98c0,.43.35.77.77.77h22.05c.43,0,.77-.35.77-.77s-.35-.77-.77-.77h-22.06c-.43,0-.77.35-.77.77h0Z'/%3E%3Cpath id='uuid-94f5426d-7a34-4f04-8977-dfef88c94e0e' d='m46.93,16.69h-22.06c-.43,0-.77.35-.77.77s.35.77.77.77h22.05c.43,0,.77-.35.77-.77s-.35-.77-.77-.77h0Z'/%3E%3Cpath id='uuid-49cdd075-c8ef-441e-82f3-758422fd3a43' d='m46.93,22.17h-22.06c-.43,0-.77.35-.77.77s.35.77.77.77h22.05c.43,0,.77-.35.77-.77s-.35-.77-.77-.77h0Z'/%3E%3Cpath id='uuid-38952654-25ec-4697-8b92-cd6b8ef71e7c' d='m46.93,27.65h-22.06c-.43,0-.77.35-.77.77s.35.77.77.77h22.05c.43,0,.77-.35.77-.77s-.35-.77-.77-.77h0Z'/%3E%3Cpath id='uuid-f05adc20-cb95-46d5-a304-98314e3d5047' d='m46.93,33.13h-22.06c-.43,0-.77.35-.77.77s.35.77.77.77h22.05c.43,0,.77-.35.77-.77s-.35-.77-.77-.77h0Z'/%3E%3C/g%3E%3C/svg%3E%0A");
width: 25px;
height: 25px;
Expand Down
4 changes: 2 additions & 2 deletions lasne/src/scss/se-link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
font-family: $font-family-base;

&::before {
content: "";
content: '';
background: url("data:image/svg+xml,%3Csvg id='link' xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath id='Path_751' data-name='Path 751' d='M24,0A24,24,0,1,0,48,24,24,24,0,0,0,24,0Zm0,46.4A22.4,22.4,0,1,1,46.4,24,22.4,22.4,0,0,1,24,46.4Zm0,0'/%3E%3Cpath id='Path_752' data-name='Path 752' d='M145.279,126.465a3.971,3.971,0,0,0-2.828,1.171l-4.526,4.526a4.005,4.005,0,0,0-.508,5.034l-.115.115a4.005,4.005,0,0,0-5.034.508l-4.526,4.526A4,4,0,0,0,133.4,148l4.526-4.526a4.005,4.005,0,0,0,.508-5.034l.115-.115a4.005,4.005,0,0,0,5.034-.508l4.526-4.526a4,4,0,0,0-2.829-6.828Zm-8.485,15.879-4.525,4.525a2.458,2.458,0,0,1-3.394,0,2.4,2.4,0,0,1,0-3.394l4.525-4.525a2.372,2.372,0,0,1,2.724-.462l-1.592,1.593a.8.8,0,1,0,1.131,1.131l1.593-1.593A2.4,2.4,0,0,1,136.794,142.344Zm10.182-10.182-4.525,4.525a2.4,2.4,0,0,1-2.725.462l1.593-1.593a.8.8,0,0,0-1.131-1.131l-1.593,1.593a2.4,2.4,0,0,1,.462-2.725l4.525-4.525a2.4,2.4,0,1,1,3.394,3.394Zm0,0' transform='translate(-113.926 -113.818)'/%3E%3C/svg%3E");
width: 25px;
height: 25px;
Expand Down Expand Up @@ -64,7 +64,7 @@
gap: 10px;

&::before {
content: "";
content: '';
display: block;
width: 10px;
height: 11px;
Expand Down
8 changes: 4 additions & 4 deletions lasne/src/scss/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ $primary-green: #6fc064;

//*// TYPOGRAPHY

@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Signika:wght@300;400;500;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Signika:wght@300;400;500;600;700&display=swap');

$font-family-base: "Roboto", sans-serif;
$font-family-title: "Roboto", sans-serif;
$font-family-base: 'Roboto', sans-serif;
$font-family-title: 'Roboto', sans-serif;
$font-title-color: $primary-blue !default;
$font-title-color-light: #fff !default;
$font-title-color-dark: #000 !default;
Expand All @@ -32,7 +32,7 @@ $h6-font-size: $font-size-base !default;
//*// GLOBAL

@function url-encoded-color($color) {
@return "%23" + str-slice("#{$color}", 2, -1);
@return '%23' + str-slice('#{$color}', 2, -1);
}
$container-max-widths: (
sm: 100%,
Expand Down

0 comments on commit b67748b

Please sign in to comment.