572 lines
10 KiB
SCSS
572 lines
10 KiB
SCSS
/* tous les éléments CSS spécifiques du squelettes Balint */
|
|
|
|
/* utilitaires */
|
|
.hidden, .hide, .invisible {
|
|
display: none;
|
|
}
|
|
|
|
.cursor {
|
|
cursor: pointer;
|
|
}
|
|
|
|
// pour empêcher l'opacité à 0.5 pendant le chargement AJAX :
|
|
.loading > * {
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
|
|
|
|
/* polices */
|
|
* { font-family: 'Open Sans', sans-serif; }
|
|
i.fas { font-family: fontawesome; font-style: normal; font-weight: 400; }
|
|
h1, .h1, h2, .h2, h3, .h3, h4, .h4, legend,
|
|
.h1-like, .h2-like, .h3-like, .h4-like { font-family: 'Open Sans', sans-serif; }
|
|
|
|
|
|
/* liens */
|
|
a, a:hover {
|
|
text-decoration: none;
|
|
color: $couleur-liens;
|
|
}
|
|
|
|
/* images */
|
|
img{
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
/* body */
|
|
body{
|
|
background: $bg-body;
|
|
}
|
|
|
|
.section-top{
|
|
padding-top: 10rem;
|
|
}
|
|
|
|
.section-bottom{
|
|
padding-bottom: 3rem;
|
|
}
|
|
|
|
|
|
/**********************************************************************/
|
|
/************************* HEADER ******************************/
|
|
/**********************************************************************/
|
|
|
|
#menu-principal{
|
|
padding: 1rem 2rem;
|
|
background-color: $fond-menu;
|
|
transition: all 1s;
|
|
.nav-link{
|
|
color: $light;
|
|
font-weight: 600;
|
|
transition: all 1s ease;
|
|
}
|
|
.navbar-brand{
|
|
width: 200px;
|
|
transition: all 1s ease;
|
|
img{
|
|
transition: all 1s ease;
|
|
}
|
|
}
|
|
.active a{
|
|
color: $page-active;
|
|
}
|
|
.navbar-toggler {
|
|
border-color: $light;
|
|
}
|
|
.fa-bars{
|
|
font-size: 1.8rem;
|
|
color: $light;
|
|
}
|
|
&.reduit{
|
|
padding: 0.2rem 2rem;
|
|
.nav-link{
|
|
padding: 0.2rem 0.5rem;
|
|
}
|
|
.navbar-brand{
|
|
width: 150px;
|
|
}
|
|
}
|
|
}
|
|
|
|
#liste-deroulante ul{
|
|
list-style-type: none;
|
|
}
|
|
|
|
/**********************************************************************/
|
|
/**************************** PAGE ACCUEIL ****************************/
|
|
/**********************************************************************/
|
|
|
|
// 1. SECTION PRESENTATION
|
|
|
|
#presentation-accueil{
|
|
padding: 10rem 0 2rem 0;
|
|
background: $bg-presentation;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
.image-encadree{
|
|
margin: 2rem;
|
|
img{
|
|
border-radius: 0.2rem;;
|
|
border: solid 3px white;
|
|
}
|
|
}
|
|
}
|
|
|
|
#images-presentation{
|
|
text-align: center;
|
|
}
|
|
|
|
#texte-presentation{
|
|
display: flex;
|
|
.contenu{
|
|
align-self: center;
|
|
padding: 1.5rem;
|
|
background: $bg-texte-presentation;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
border-radius: 0.2rem;
|
|
font-weight: 500;
|
|
.intro{
|
|
font-size: 1.2rem;
|
|
line-height: 1.4rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
// 2. SECTION MIS EN AVANT
|
|
|
|
#mis-en-avant{
|
|
background: $bg-mis-en-avant;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
.container{
|
|
padding: 4rem 0;
|
|
> div{
|
|
margin: 2px 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
#agenda{
|
|
background: $fond-transparent;
|
|
border-radius: 0.2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
text-align: center;
|
|
h3{
|
|
font-weight: 700;
|
|
margin: 1.5rem;
|
|
color: $bg-diapo-texte;
|
|
}
|
|
h4{
|
|
font-weight:500;
|
|
}
|
|
}
|
|
|
|
.agenda-evenement{
|
|
margin: 0 1.5rem 1.5rem 1.5rem;
|
|
}
|
|
|
|
// 3. SECTION A LA UNE
|
|
|
|
#a-la-une{
|
|
background: $bg-a-la-une;
|
|
.container{
|
|
padding: 4rem 0;
|
|
}
|
|
h3{
|
|
font-weight: 700;
|
|
padding: 1rem;
|
|
}
|
|
}
|
|
|
|
.liste-articles{
|
|
.bloc-article {
|
|
height: 100%;
|
|
background: white;
|
|
outline: 1px solid #DDD;
|
|
a {
|
|
min-height: 100%;
|
|
h2 {
|
|
text-align: left;
|
|
}
|
|
}
|
|
}
|
|
.bloc-contenu{
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
min-height: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
.bloc-textes{
|
|
padding: 1.5rem;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.resume-article{
|
|
flex-grow: 1;
|
|
}
|
|
}
|
|
|
|
// 4. SECTION NOUS CONTACTER
|
|
#nous-contacter{
|
|
background: $bg-nous-contacter;
|
|
.container{
|
|
padding: 4rem 0;
|
|
}
|
|
h3{
|
|
color: $light;
|
|
font-weight: 700;
|
|
padding: 1rem;
|
|
}
|
|
.formulaire_nous_contacter{
|
|
background: none;
|
|
input, textarea{
|
|
background-color: $light;
|
|
border: none;
|
|
}
|
|
input.submit{
|
|
border: solid 2px $light;
|
|
background: none;
|
|
color: $light;
|
|
&:hover{
|
|
background: rgba(255,255,255,0.25);
|
|
border-color: transparent;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
/**********************************************************************/
|
|
/**************************** CAROUSEL ********************************/
|
|
/**********************************************************************/
|
|
|
|
#diaporama_accueil{
|
|
height: 430px;
|
|
background: $bg-diapo;
|
|
}
|
|
|
|
|
|
.carousel-item{
|
|
padding: 2rem;
|
|
border-radius: 0.2rem;
|
|
font-size: 1.2rem;
|
|
opacity: 0;
|
|
&.active{
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.carousel-caption{
|
|
position: initial;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.diapo-texte{
|
|
background-color: $bg-diapo-texte;
|
|
padding: 2rem;
|
|
align-self: center;
|
|
width: 70%;
|
|
border-radius: 0.2rem;
|
|
}
|
|
|
|
.diapo-bouton{
|
|
background-color: $bg-diapo-texte;
|
|
border: solid 2px white;
|
|
border-radius: 0.2rem;
|
|
padding: 0.5rem 2rem;
|
|
align-self: center;
|
|
margin: 2rem;
|
|
}
|
|
|
|
.carousel, .carousel-inner, .carousel-item {
|
|
height: 100%;
|
|
}
|
|
|
|
.carousel-fade .carousel-item {
|
|
transition-duration: 1.5s;
|
|
}
|
|
|
|
.carousel-item.active, .carousel-item-next, .carousel-item-prev {
|
|
transition: transform 1.5s ease, opacity 0.2s;
|
|
}
|
|
|
|
.carousel-indicators li{
|
|
height: 8px;
|
|
width: 8px;
|
|
margin-right: 4px;
|
|
margin-left: 4px;
|
|
border-radius: 100%;
|
|
}
|
|
|
|
/**********************************************************************/
|
|
/***************************** FOOTER *********************************/
|
|
/**********************************************************************/
|
|
|
|
#footer-infos{
|
|
background: $fond-footer;
|
|
padding: 3rem 0;
|
|
a{
|
|
color: $page-active;
|
|
}
|
|
}
|
|
|
|
.footer{
|
|
color: $light;
|
|
margin-bottom:0;
|
|
text-align: left;
|
|
position:relative;
|
|
|
|
h4{
|
|
color: $titres-footer;
|
|
font-weight: 600;
|
|
}
|
|
.nav li a, .colophon a {
|
|
color: $light;
|
|
padding: 10px 15px;
|
|
}
|
|
|
|
.footer-options{
|
|
background:$fond-footer;
|
|
padding: 1rem 0;
|
|
ul{
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
.footer-options .generator {
|
|
max-width: 300px;
|
|
}
|
|
.lien_cc svg {
|
|
width: 30px;
|
|
height: 30px;
|
|
vertical-align: middle;
|
|
}
|
|
.nav { padding-left: 0; }
|
|
.nav li { display: block; }
|
|
.nav li:not(.generator) a { display: block; }
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
.nav li { display: inline-block !important; }
|
|
.nav li:not(.generator) a { display: inline; }
|
|
.nav li.separ { border: none; }
|
|
//.nav li.separ:not(:first-of-type)::before { content: " | "; }
|
|
.generator { /*position: absolute; top: 1rem; right: 0; max-width: 200px;*/ float: right; }
|
|
.nav li a .title { display: none; }
|
|
}
|
|
}
|
|
|
|
/**********************************************************************/
|
|
/************************ PAGE ASSOCIATION ****************************/
|
|
/**********************************************************************/
|
|
|
|
#menu-association, #menu-groupes{
|
|
background: $bg-diapo-texte;
|
|
margin: 1rem 0;
|
|
border-radius: 0.2rem;
|
|
padding: 0;
|
|
.active a{
|
|
color: $page-active;
|
|
font-weight: bold;
|
|
}
|
|
li{
|
|
padding: 0.5rem;
|
|
a{
|
|
color: $light;
|
|
}
|
|
&:not(:last-of-type){
|
|
border-bottom: solid 1px $light;
|
|
}
|
|
}
|
|
.navbar-toggler{
|
|
border: none;
|
|
color: white;
|
|
width: 100%;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
|
|
.asso-image{
|
|
margin: 1.5rem 0;
|
|
}
|
|
|
|
|
|
/**********************************************************************/
|
|
/************************** PAGE GROUPES ******************************/
|
|
/**********************************************************************/
|
|
|
|
|
|
@include media-breakpoint-up(lg) {
|
|
#menu-groupes li:not(:last-of-type){
|
|
border: none;
|
|
}
|
|
}
|
|
|
|
.bloc-ville{
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
min-height: 100%;
|
|
border: solid 1px #ddd;
|
|
background: white;
|
|
border-radius: 0.2rem;
|
|
padding: 1.5rem;
|
|
text-align: center;
|
|
a div{
|
|
color: $dark;
|
|
}
|
|
a:hover div{
|
|
color: $couleur-liens;
|
|
}
|
|
}
|
|
|
|
/**********************************************************************/
|
|
/**************** TOUS LES FORMULAIRES DE CONNEXION *******************/
|
|
/**********************************************************************/
|
|
|
|
.formulaire_spip .boutons, .boutons{
|
|
margin: 1rem 0;
|
|
.btn{
|
|
font-size: 1.2rem;
|
|
line-height: 1rem;
|
|
padding: 1rem;
|
|
border: solid 1px $light;
|
|
border-radius: 0.5rem;
|
|
margin-left: 1rem;
|
|
background: $dark;
|
|
color: $light;
|
|
&:hover{
|
|
color: white;
|
|
}
|
|
}
|
|
&.a-droite{
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-end;
|
|
}
|
|
.btn_supprimer{
|
|
background: none;
|
|
color: $red;
|
|
border: solid 1px $red;
|
|
&:hover{
|
|
background: rgb(214, 72, 72)
|
|
}
|
|
}
|
|
.submit {
|
|
background-color: #4f56cd;
|
|
color: $light;
|
|
&:hover{
|
|
background-color: #7276ee;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.formulaire_spip{
|
|
background: $fond-formulaires;
|
|
border-radius: 0.5rem;
|
|
fieldset legend{
|
|
background: none;
|
|
}
|
|
input, textarea{
|
|
padding: 0.5rem;
|
|
border-radius: 0.2rem;
|
|
border: solid 1px grey;
|
|
}
|
|
}
|
|
|
|
/**********************************************************************/
|
|
/*************** FORMULAIRE DE SAISIE D'ARTICLE ***********************/
|
|
/**********************************************************************/
|
|
.formulaire_editer_post {
|
|
clear: none;
|
|
.resume textarea { min-height: 25rem; }
|
|
.upload_vignette {
|
|
label { display: block; }
|
|
.ajaxbloc {
|
|
clear: both;
|
|
@include media-breakpoint-up(lg) {
|
|
clear: initial;
|
|
}
|
|
}
|
|
}
|
|
.photo_article {
|
|
justify-content: left;
|
|
display: flex;
|
|
.une_photo {
|
|
margin-right: 1rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: 320px;
|
|
}
|
|
.btn_poubelle{
|
|
color: red;
|
|
:hover{
|
|
color: #ee9e9e;
|
|
}
|
|
}
|
|
.btn_une{
|
|
color: black;
|
|
:hover{
|
|
color: grey;
|
|
}
|
|
}
|
|
.boutons_actions {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
background-color: #e0e0e0;
|
|
i.green {
|
|
padding: .6rem;
|
|
color: rgb(28, 158, 28);
|
|
}
|
|
a {
|
|
margin: 0;
|
|
}
|
|
.premier-plan{
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
}
|
|
}
|
|
legend {
|
|
width: auto;
|
|
}
|
|
}
|
|
|
|
.photo-premier-plan{
|
|
margin-bottom: 1.5rem;
|
|
border: solid 1px #BBB;
|
|
}
|
|
|
|
.container fieldset {
|
|
clear: none;
|
|
margin-bottom: 1.5rem;
|
|
border: solid 1px #BBB;
|
|
padding: 1.5rem;
|
|
background-color:#FCFCFC;
|
|
&> div{
|
|
margin-bottom: 1.2rem;
|
|
}
|
|
}
|
|
|
|
/**********************************************************************/
|
|
/****************************** spip_admin ****************************/
|
|
/**********************************************************************/
|
|
|
|
div#spip-admin { display:none; }
|
|
@include media-breakpoint-up(sm) {
|
|
div#spip-admin { display: initial; }
|
|
}
|