2020-02-18 13:23:20 +01:00
|
|
|
// ------------------------------------------
|
|
|
|
// Sous-navigation et autres menus
|
|
|
|
// ------------------------------------------
|
|
|
|
|
|
|
|
// Habillage general des menus de nav
|
2020-02-18 23:50:44 +01:00
|
|
|
.menu {
|
|
|
|
clear: both;
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
text-align: left;
|
2020-02-18 13:23:20 +01:00
|
|
|
p {}
|
2020-02-18 23:50:44 +01:00
|
|
|
ul {
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
}
|
2020-02-18 13:23:20 +01:00
|
|
|
ul li {}
|
2020-02-18 23:50:44 +01:00
|
|
|
ul li ul {
|
|
|
|
margin-left: 1.5em;
|
|
|
|
list-style: circle;
|
|
|
|
}
|
2020-02-18 13:23:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav {
|
2020-02-18 23:50:44 +01:00
|
|
|
ul {
|
|
|
|
margin:0;
|
|
|
|
padding:0;
|
|
|
|
}
|
|
|
|
li {
|
2022-01-19 15:37:40 +01:00
|
|
|
display: inline;
|
2020-02-18 23:50:44 +01:00
|
|
|
line-height:1.2;
|
|
|
|
}
|
2020-06-27 02:45:19 +02:00
|
|
|
a {
|
2020-02-18 23:50:44 +01:00
|
|
|
display: inline-block;
|
|
|
|
padding:0.3em 0 0.2em;
|
|
|
|
margin:0 0.5em 0.4em;
|
|
|
|
text-decoration: none;
|
|
|
|
line-height:1.4;
|
|
|
|
border-bottom:3px solid white;
|
2020-06-05 11:11:09 +02:00
|
|
|
.header_initiatives & {
|
2020-02-18 23:50:44 +01:00
|
|
|
font-weight:400;
|
2020-10-23 16:35:03 +02:00
|
|
|
padding:0.5em;
|
2021-09-23 18:31:07 +02:00
|
|
|
margin:0.1rem 0.4rem;
|
2022-01-19 15:37:40 +01:00
|
|
|
color: white;
|
2020-02-18 23:50:44 +01:00
|
|
|
border:0;
|
2021-10-03 18:51:10 +02:00
|
|
|
@include media($bp-medium) {
|
|
|
|
padding:0.8rem;
|
2021-09-23 18:31:07 +02:00
|
|
|
}
|
2020-02-18 23:50:44 +01:00
|
|
|
}
|
2020-02-18 13:23:20 +01:00
|
|
|
.on &,
|
|
|
|
&.on,
|
|
|
|
&:focus,
|
|
|
|
&:hover,
|
2020-02-18 23:50:44 +01:00
|
|
|
&:active {
|
|
|
|
border-color:$couleurSecondaire;
|
2020-06-05 11:11:09 +02:00
|
|
|
.header_initiatives & {
|
2021-02-06 22:17:52 +01:00
|
|
|
border-color:$couleurPrincipaleOn;
|
2020-02-18 23:50:44 +01:00
|
|
|
}
|
|
|
|
}
|
2020-02-18 13:23:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.pagination { margin:0 0 1rem; }
|
|
|
|
}
|
2021-06-10 18:07:44 +02:00
|
|
|
.menucache {
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
top: 0px;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2022-01-19 15:37:40 +01:00
|
|
|
background: transparent;
|
2021-06-10 18:07:44 +02:00
|
|
|
z-index:8;
|
2022-01-19 15:37:40 +01:00
|
|
|
cursor: pointer;
|
|
|
|
&.cache { display: block;}
|
2021-06-10 18:07:44 +02:00
|
|
|
}
|
2020-02-28 01:57:35 +01:00
|
|
|
// menu smart cf js/script.js
|
|
|
|
// ----------------------------------------
|
|
|
|
.btn-nav {
|
2022-01-19 15:37:40 +01:00
|
|
|
position: absolute;
|
2021-07-30 00:08:36 +02:00
|
|
|
z-index:10;
|
2020-02-28 01:57:35 +01:00
|
|
|
right:$spacer;
|
|
|
|
top:0;
|
2020-10-23 16:35:03 +02:00
|
|
|
padding:0.4rem;
|
2020-02-28 01:57:35 +01:00
|
|
|
border:none;
|
|
|
|
background:$couleurPrincipale;
|
2022-01-19 15:37:40 +01:00
|
|
|
color: white;
|
2020-02-28 01:57:35 +01:00
|
|
|
font-size:0.9em;
|
2022-01-19 15:37:40 +01:00
|
|
|
outline: none !important;
|
|
|
|
display: none;
|
2020-02-28 01:57:35 +01:00
|
|
|
@media ($bp-medium) {
|
2022-01-19 15:37:40 +01:00
|
|
|
display: block;
|
2020-02-28 01:57:35 +01:00
|
|
|
}
|
|
|
|
&.actif {
|
|
|
|
color:$couleurPrincipaleDowner;
|
|
|
|
}
|
|
|
|
}
|
2020-02-18 13:23:20 +01:00
|
|
|
|
|
|
|
/* header = nav-principale */
|
2020-05-16 12:21:49 +02:00
|
|
|
.page_header > .page_container {
|
2020-02-18 23:50:44 +01:00
|
|
|
.nav {
|
2022-01-19 15:37:40 +01:00
|
|
|
padding-top: ($spacer/2);
|
2020-09-16 15:33:54 +02:00
|
|
|
font-size:0.95rem;
|
2021-03-15 14:13:20 +01:00
|
|
|
@include media($bp-medium-up) {
|
2022-01-19 15:37:40 +01:00
|
|
|
position: relative;
|
2021-03-15 14:13:20 +01:00
|
|
|
}
|
2020-02-18 23:50:44 +01:00
|
|
|
> ul {
|
2022-01-19 15:37:40 +01:00
|
|
|
text-align: right;
|
2020-06-30 22:35:13 +02:00
|
|
|
@include vendor-prefix(transition,all 0.3s ease-in-out);
|
2020-02-28 01:57:35 +01:00
|
|
|
@media ($bp-medium) {
|
2022-01-19 15:37:40 +01:00
|
|
|
position: absolute;
|
2020-02-28 01:57:35 +01:00
|
|
|
background:$couleurPrincipale;
|
|
|
|
width:100%;
|
2021-02-06 22:17:52 +01:00
|
|
|
top:36px;
|
2020-02-28 01:57:35 +01:00
|
|
|
left:-100%;
|
|
|
|
padding:$spacer/2 $spacer;
|
2022-01-19 15:37:40 +01:00
|
|
|
text-align: center;
|
2021-07-30 00:08:36 +02:00
|
|
|
z-index:10;
|
2020-02-28 01:57:35 +01:00
|
|
|
&.ouvert{
|
|
|
|
left:0;
|
|
|
|
}
|
|
|
|
a {
|
2022-01-19 15:37:40 +01:00
|
|
|
color: white;
|
2020-12-07 15:34:44 +01:00
|
|
|
border:0;
|
2022-01-19 15:37:40 +01:00
|
|
|
display: block;
|
2020-12-07 15:34:44 +01:00
|
|
|
margin:0;
|
|
|
|
padding:0.5rem;
|
|
|
|
&:hover, &:focus, &.on {
|
|
|
|
background:$couleurSecondaire;
|
|
|
|
}
|
2020-02-28 01:57:35 +01:00
|
|
|
}
|
|
|
|
li {
|
2022-01-19 15:37:40 +01:00
|
|
|
display: block;
|
2020-02-28 01:57:35 +01:00
|
|
|
}
|
2020-10-23 16:35:03 +02:00
|
|
|
.loupe {
|
|
|
|
.fas {
|
2022-01-19 15:37:40 +01:00
|
|
|
color: white;
|
2020-10-23 16:35:03 +02:00
|
|
|
}
|
|
|
|
.formulaire_recherche.vu {
|
|
|
|
right:50%;
|
|
|
|
margin-right:-160px;
|
2022-01-19 15:37:40 +01:00
|
|
|
max-width: 320px;
|
2020-10-23 16:35:03 +02:00
|
|
|
form {
|
|
|
|
padding:0.5rem;
|
|
|
|
&:before {
|
2022-01-19 15:37:40 +01:00
|
|
|
display: none;
|
2020-10-23 16:35:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 01:57:35 +01:00
|
|
|
}
|
2020-10-23 16:35:03 +02:00
|
|
|
|
2020-12-07 15:34:44 +01:00
|
|
|
.loupe {
|
2022-01-19 15:37:40 +01:00
|
|
|
position: relative;
|
|
|
|
display: inline-block !important;
|
2020-10-23 16:35:03 +02:00
|
|
|
/* width: em(26px); */
|
|
|
|
/* height: em(26px); */
|
2020-12-07 15:34:44 +01:00
|
|
|
span {
|
|
|
|
@include visuallyhidden;
|
|
|
|
}
|
|
|
|
a {
|
2022-01-19 15:37:40 +01:00
|
|
|
display: inline;
|
2021-03-07 14:55:05 +01:00
|
|
|
padding:0;
|
2020-12-07 15:34:44 +01:00
|
|
|
border:0;
|
2022-01-19 15:37:40 +01:00
|
|
|
background: none;
|
2020-12-12 18:02:23 +01:00
|
|
|
&:hover i.fa-search, &:focus i.fa-search {
|
2020-12-07 15:34:44 +01:00
|
|
|
background-color:$couleurSecondaire;
|
2020-10-23 16:35:03 +02:00
|
|
|
}
|
2020-12-07 15:34:44 +01:00
|
|
|
}
|
|
|
|
i.fa-search {
|
|
|
|
font-size:1rem;
|
|
|
|
border-radius: 20px;
|
|
|
|
background-color: $couleurPrincipale;
|
|
|
|
padding:7px;
|
|
|
|
color:white;
|
|
|
|
}
|
|
|
|
.formulaire_recherche {
|
2022-01-19 15:37:40 +01:00
|
|
|
position: absolute;
|
|
|
|
height: auto;
|
|
|
|
width: em(350px);
|
|
|
|
max-width: em(350px);
|
2020-12-07 15:34:44 +01:00
|
|
|
top:-1000px;
|
2022-01-19 15:37:40 +01:00
|
|
|
left: auto;
|
2020-12-07 15:34:44 +01:00
|
|
|
right:0;
|
|
|
|
border-radius: $spacer/2;
|
2021-03-07 14:55:05 +01:00
|
|
|
z-index:2;
|
2020-12-07 15:34:44 +01:00
|
|
|
@include vendor-prefix(transition,all 0.3s ease-in-out);
|
|
|
|
form:before {
|
|
|
|
left:0.5rem;
|
2020-10-23 16:35:03 +02:00
|
|
|
}
|
2020-12-07 15:34:44 +01:00
|
|
|
#recherche {
|
|
|
|
width:100%;
|
|
|
|
}
|
|
|
|
&.vu {
|
|
|
|
top:1rem;
|
2020-10-23 16:35:03 +02:00
|
|
|
}
|
|
|
|
}
|
2020-12-07 15:34:44 +01:00
|
|
|
}
|
2020-02-18 23:50:44 +01:00
|
|
|
}
|
|
|
|
a {
|
|
|
|
font-weight:700;
|
|
|
|
}
|
2020-02-18 13:23:20 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// aside
|
|
|
|
// ------------------------------------
|
2020-05-16 12:21:49 +02:00
|
|
|
.page_aside {
|
2020-02-18 23:50:44 +01:00
|
|
|
.nav {
|
|
|
|
padding:0;
|
|
|
|
li {
|
2022-01-19 15:37:40 +01:00
|
|
|
display: block;
|
2020-02-18 23:50:44 +01:00
|
|
|
}
|
|
|
|
a {
|
|
|
|
width:100%;
|
|
|
|
}
|
2020-02-18 13:23:20 +01:00
|
|
|
& .blog {
|
2020-02-18 23:50:44 +01:00
|
|
|
a {
|
|
|
|
line-height:1;
|
|
|
|
padding:1em;
|
|
|
|
font-weight:700;
|
|
|
|
p {
|
|
|
|
font-weight:400;
|
|
|
|
margin:0;
|
|
|
|
&.date {
|
|
|
|
font-size:90%;
|
|
|
|
margin:0 0 0.3em;
|
|
|
|
}
|
|
|
|
&.introduction {
|
|
|
|
font-size:0.8em;
|
|
|
|
margin-top:0.5em;
|
|
|
|
}
|
2020-02-18 13:23:20 +01:00
|
|
|
}
|
2020-02-18 23:50:44 +01:00
|
|
|
/* &:hover, &:focus, &:active, &.on { background:darken($grayLighter,10); color:$couleurPrincipaleDowner; } */
|
2020-02-18 13:23:20 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-10-03 18:51:10 +02:00
|
|
|
|
2020-06-05 11:11:09 +02:00
|
|
|
// initiatives
|
2020-12-12 18:02:23 +01:00
|
|
|
.header_initiatives {
|
2020-02-18 13:23:20 +01:00
|
|
|
position:absolute;
|
|
|
|
top:0;
|
|
|
|
left:0;
|
|
|
|
right:0;
|
2020-02-18 23:50:44 +01:00
|
|
|
background-color:$couleurPrincipale;
|
2020-02-18 13:23:20 +01:00
|
|
|
color:white;
|
2021-06-10 18:07:44 +02:00
|
|
|
z-index:9;
|
2020-06-05 11:11:09 +02:00
|
|
|
.btn-initiatives {
|
2022-01-19 15:37:40 +01:00
|
|
|
font-size: 0.8rem;
|
|
|
|
display: none;
|
|
|
|
padding: 0.5rem;
|
2020-02-28 03:11:51 +01:00
|
|
|
margin-left:-$spacer;
|
2020-02-28 01:57:35 +01:00
|
|
|
background:$couleurPrincipale;
|
|
|
|
color:white;
|
|
|
|
@media ($bp-medium) {
|
2022-01-19 15:37:40 +01:00
|
|
|
display: block;
|
2020-02-28 01:57:35 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.nav {
|
2020-02-28 02:13:50 +01:00
|
|
|
font-size:0.8rem;
|
2020-02-28 01:57:35 +01:00
|
|
|
background:$couleurPrincipale;
|
|
|
|
@media ($bp-medium) {
|
2022-01-19 15:37:40 +01:00
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
2021-03-15 14:13:20 +01:00
|
|
|
top:36px;
|
2020-02-28 01:57:35 +01:00
|
|
|
left:-100%;
|
2020-06-30 22:36:36 +02:00
|
|
|
@include vendor-prefix(transition,all 0.3s ease-in-out);
|
2020-02-28 01:57:35 +01:00
|
|
|
&.ouvert {
|
|
|
|
left:0;
|
|
|
|
}
|
2020-12-07 15:34:44 +01:00
|
|
|
ul, .initiatives {
|
2022-01-19 15:37:40 +01:00
|
|
|
display: inline;
|
2020-12-07 15:34:44 +01:00
|
|
|
}
|
2021-09-23 18:31:07 +02:00
|
|
|
li {
|
|
|
|
margin:0;
|
|
|
|
}
|
2020-02-28 01:57:35 +01:00
|
|
|
}
|
2021-10-04 07:48:46 +02:00
|
|
|
.menu-liste .menu-liste {
|
|
|
|
li, a {
|
|
|
|
margin:0;
|
|
|
|
}
|
2021-10-03 18:51:10 +02:00
|
|
|
}
|
2020-02-28 01:57:35 +01:00
|
|
|
}
|
|
|
|
.initiatives {
|
2020-02-28 02:13:50 +01:00
|
|
|
font-size:0.8rem;
|
2020-06-05 11:11:09 +02:00
|
|
|
}
|
|
|
|
.titre_initiatives {
|
2020-02-28 01:57:35 +01:00
|
|
|
float:right;
|
2020-10-23 16:35:03 +02:00
|
|
|
padding:0.5em;
|
2020-02-28 01:57:35 +01:00
|
|
|
@media ($bp-medium) {
|
2022-01-19 15:37:40 +01:00
|
|
|
display: none;
|
2020-02-28 01:57:35 +01:00
|
|
|
}
|
2021-09-23 18:17:20 +02:00
|
|
|
}
|
|
|
|
.initiatives_april {
|
|
|
|
float:right;
|
2020-02-28 01:57:35 +01:00
|
|
|
}
|
2020-12-03 10:11:26 +01:00
|
|
|
// un sous-menu dans initiatives : .menu-entree.sousinitiatives > .menu-items__lien.sousinitiatives
|
|
|
|
.menu-entree.sousinitiatives {
|
2022-01-19 15:37:40 +01:00
|
|
|
position: relative;
|
2020-12-03 10:11:26 +01:00
|
|
|
> ul {
|
|
|
|
@include media($bp-medium-up) {
|
2022-01-19 15:37:40 +01:00
|
|
|
position: absolute;
|
2021-02-09 08:31:35 +01:00
|
|
|
top:-999em;
|
2020-12-03 10:11:26 +01:00
|
|
|
left:0;
|
|
|
|
width:150px;
|
|
|
|
&.ouvert {
|
2021-02-09 08:31:35 +01:00
|
|
|
top:23px;
|
2020-12-03 10:11:26 +01:00
|
|
|
li {
|
2022-01-19 15:37:40 +01:00
|
|
|
display: block;
|
2020-12-03 10:11:26 +01:00
|
|
|
background:$couleurPrincipale;
|
|
|
|
a {
|
2022-01-19 15:37:40 +01:00
|
|
|
display: block;
|
2020-12-03 10:11:26 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include media($bp-medium) {
|
|
|
|
.menu-items__lien.sousinitiatives {
|
2022-01-19 15:37:40 +01:00
|
|
|
display: none;
|
2020-12-03 10:11:26 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-02-18 13:23:20 +01:00
|
|
|
}
|