/* tous les éléments CSS spécifiques du squelettes Balint */ /* utilitaires */ .hidden, .hide, .invisible { display: none; } .cursor { cursor: pointer; } textarea[name="texte"]{ height:15rem; } @include media-breakpoint-up(xl) { .container{ max-width: 1300px; } } .section-top{ padding-top: 8rem !important; } .section-bottom{ padding-bottom: 3rem !important; } .cadre-blanc{ padding: 1.5rem; background: white; border-radius: 0.5rem; } .cadre-gris{ padding: 1.5rem; background: $gris-clair; border-radius: 0.5rem; } .cadre-transparent{ padding: 1.5rem; background: $bg-diapo; border-radius: 0.5rem; } // pour empêcher l'opacité à 0.5 pendant le chargement AJAX : .loading > * { opacity: 1 !important; } /* polices */ * { font-family: 'Cabin', sans-serif; font-size: 1.1rem} 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: 'Cabin', sans-serif; } /* liens */ a, a:hover { text-decoration: none; color: $couleur-liens; } /* images */ img{ max-width: 100%; height: auto; } /* pagination */ .pagination{ display: flex; justify-content: flex-end; align-items: center; margin-bottom: 1.5rem; } .pagination { .prev, .next { line-height:100% } .disabled { display: none; } } .pagination { strong, .lien_pagination { background-color: $fond-footer; padding: 0.5rem 1rem; border-radius: 0.2rem; } strong{ cursor:initial; color: $page-active; } .lien_pagination{ color: $light; } .sep{ display: inline-block; width: 0.5rem; } } /* breadcrumb */ .breadcrumb{ //background: #e8ebf8; padding: 0; .divider{ padding: 0 0.2rem; } } /* body */ body{ background: $bg-body; } /**********************************************************************/ /************************* HEADER ******************************/ /**********************************************************************/ #menu-principal{ padding: 1rem 2rem; background-color: $fond-menu; transition: all 1s; .nav-link{ color: $light; font-weight: 500; font-family: 'Cabin', sans-serif; font-size: 1.2rem; 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.3rem; line-height: 1.5rem; font-weight:400; strong{ font-size: 1.3rem; font-weight: 700; } } } } // 2. SECTION MIS EN AVANT .background-jaune{ background: $bg-mis-en-avant; background-size: cover; background-repeat: repeat; } #mis-en-avant{ background: $bg-mis-en-avant; background-size: cover; background-repeat: no-repeat; padding: 4rem 0; .container > div{ margin: 2px 0; } } .a-la-une{ color: $bg-diapo-texte; } #agenda, .dernieres-nouvelles{ 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; } .h5{ font-weight:600; } } .dernieres-nouvelles{ text-align: left; padding: 0 1.2rem; border-left: solid 1px $couleur-liens; } .agenda-evenement{ margin: 0 1.5rem 1.5rem 1.5rem; } // 3. SECTION A LA UNE #a-la-une{ padding: 4rem 0; background: $bg-a-la-une; h3{ font-weight: 700; padding: 1rem; } } .liste-articles-encadres{ .bloc-article { height: 100%; outline: 1px solid #eee; 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; } } .bloc-ville{ text-align: center; div{ color: $dark; } &:hover div{ color: $couleur-liens; } } // 4. SECTION NOUS CONTACTER #nous-contacter{ background: $bg-nous-contacter; background-size: cover; padding: 4rem 0 3rem 0; .h3{ color: $light; font-weight: 700; padding: 1rem; } .formulaire_nous_contacter{ background: none; margin: 0; 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%; } // Couleur des flèches .carousel-control-next-icon{ background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23478E7E' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E"); } .carousel-control-prev-icon{ background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23478E7E' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E"); } /**********************************************************************/ /***************************** FOOTER *********************************/ /**********************************************************************/ #footer-infos{ background: $fond-footer; padding: 3rem 0; a{ color: $light; } } .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: 2rem 0; ul{ justify-content: space-between; align-items: center; } } .footer-options .generator { max-width: 300px; } .footer-options img{ max-width: 70px; max-height: 70px; height: auto; } .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_sommaire .footer-options, .page_sommaire #footer-infos{ background: #FFF0C7; color: black !important; h4{ color: $fond-footer; } a:not(.login_modal){ color: black !important; } } /**********************************************************************/ /************************ PAGE ASSOCIATION ****************************/ /**********************************************************************/ #menu-association, #menu-methode, #menu-groupes, #menu-medias{ background: $couleur-liens; margin: 1rem 0; border-radius: 0.2rem; padding: 0; .active a{ color: $page-active-clair; } ul{ width: 100%; } li{ padding: 0.5rem; a{ color: white; } &: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 ******************************/ /**********************************************************************/ #menu-groupes, #menu-medias{ margin-top: 0; } @include media-breakpoint-up(lg) { #menu-groupes, #menu-medias{ li:not(:last-of-type){ border: none; } } } .page-groupes{ align-items: flex-start; } .bloc-groupe{ border: solid 1px $gris-clair; background: $light; padding: 1.5rem; border-radius: 0.5rem; margin: 2rem 0; } .banniere-ville{ position: relative; } .ville-titre{ position: absolute; top: 0; width: 100%; height: 100%; padding: 1rem; background: rgba(255,255,255,0.8); display: flex; flex-direction: column; justify-content: center; } @include media-breakpoint-up(md) { .ville-titre{ width: 30%; } } .articles-groupe{ display: inline-block; padding: 1rem; background: $couleur-liens; border-radius: 0.5rem 0.5rem 0 0; color: white; } /**********************************************************************/ /**************** 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, .btn_editer { //background-color: #4f56cd; background-color: $fond-footer; color: $light; padding: 1rem; line-height: 1rem; &:hover{ //background-color: #7276ee; background-color: rgb(105, 182, 164); cursor: pointer; } } .btn_editer{ margin-left: 0; padding: 0.5rem; } .btn_login{ background-color: $couleur-liens; color: #333; &:hover{ color: black; background-color: rgb(255, 153, 0); } } } .btn.bouton-login{ background: $couleur-liens; border-radius: 0.2rem; color: #333 !important; } .formulaire_spip{ 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; } } } .docs-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; flex-direction: column; justify-content: space-around; align-items: center; background-color: $gris-clair; i.green { padding: .6rem; color: rgb(28, 158, 28); } a { margin: 0; } .premier-plan{ display: flex; flex-direction: row; align-items: center; padding: 0.2rem; } } } legend { width: auto; } } .titre_img{ background: $gris-moyen; color: white; text-align: center; } .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; border-radius: 0.5rem; &> div{ margin-bottom: 1.2rem; } } /**********************************************************************/ /**************************** PAGE ARTICLE ****************************/ /**********************************************************************/ .liste-documents, .photo-article{ justify-content: center; text-align: center; margin-bottom: 1.5rem;; .col{ flex: 0 0 10rem; } .titre_img{ font-size: 1rem; background: none; color: $dark; } } .photo-article{ width: 100%; display: block; background: white; } .liste-articles{ .bloc-textes{ padding: 1rem 0; } } /**********************************************************************/ /************************* PAGE GERER MEMBRES *************************/ /**********************************************************************/ .liste-auteurs{ align-items: center; } /**********************************************************************/ /****************************** FORUM *********************************/ /**********************************************************************/ .sujet-forum{ padding: 1rem 0; background: $fond-transparent; &:not(:last-of-type){ border-bottom: solid 3px $gris-clair; } .spip_logo{ border-radius: 100%; } .liste-documents{ justify-content: flex-start; align-items: flex-end; } } #formulaire_forum .saisie_texte_info{ display: none; } /**********************************************************************/ /**************************** PAGE CONTACT ****************************/ /**********************************************************************/ #page-contact{ .h3{ font-weight: 700; } .formulaire_nous_contacter{ background: none; margin: 0; input, textarea{ background-color: $light; border-color: lightgray; } input.submit{ background-color: $fond-footer; color: $light; padding: 1rem; line-height: 1rem; &:hover{ //background-color: #7276ee; background-color: rgb(105, 182, 164); cursor: pointer; } } } } /**********************************************************************/ /****************************** spip_admin ****************************/ /**********************************************************************/ div#spip-admin { display:none; } @include media-breakpoint-up(sm) { div#spip-admin { display: initial; } }