F-d-ration_de_groupes/css/_sq_balint.scss

357 lines
6.9 KiB
SCSS

/* tous les éléments CSS spécifiques du squelettes Balint */
/* utilitaires */
.hidden, .hide, .invisible {
display: none;
}
.cursor {
cursor: pointer;
}
/* 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: $dark;
}
/**********************************************************************/
/************************* HEADER ******************************/
/**********************************************************************/
#menu-principal{
padding: 1rem 2rem;
background-color: $fond-menu;
a{
color: $light;
font-weight: 600;
}
.active a{
color: $page-active;
}
.navbar-toggler {
border-color: $light;
}
.fa-bars{
font-size: 1.8rem;
color: $light;
}
}
#liste-deroulante ul{
list-style-type: none;
}
/**********************************************************************/
/**************************** PAGE ACCUEIL ****************************/
/**********************************************************************/
#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;
}
}
}
#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:rgba(255, 255, 255, 0.92);
border-radius: 0.2rem;
display: flex;
flex-direction: column;
text-align: center;
h3{
font-weight: 700;
text-transform: uppercase;
margin: 1.5rem;
color: $bg-diapo-texte;
}
h4{
font-weight:500;
}
}
.agenda-evenement{
margin: 0 1.5rem 1.5rem 1.5rem;
}
#a-la-une{
background: $bg-a-la-une;
.container{
padding: 4rem 0;
}
h3{
font-weight: 700;
text-transform: uppercase;
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;
}
.photo_article{
max-width: 100%;
height: auto;
}
.bloc-textes{
padding: 1.5rem;
flex-grow: 1;
}
.resume-article{
flex-grow: 1;
}
}
/**********************************************************************/
/**************************** CAROUSEL ********************************/
/**********************************************************************/
.carousel-item{
background: $bg-diapo;
padding: 2rem;
border-radius: 0.2rem;
font-size: 1.2rem;
}
.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;
}
/**********************************************************************/
/***************************** FOOTER *********************************/
/**********************************************************************/
.footer {
margin-top:4rem;
padding-top: 1rem;
border-top:3px solid;
padding-bottom: 2rem;
margin-bottom:0;
text-align: left;
position:relative;
/*.colophon { padding-right: 100px; }*/
.nav li a, .colophon a {
padding: 10px 15px;
}
.colophon .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; }
}
}
/**********************************************************************/
/**************** TOUS LES FORMULAIRES DE CONNEXION *******************/
/**********************************************************************/
.boutons .submit {
font-size: 2.5rem;
}
.btn.pull-right, .une_OK {
margin-left: 2rem;
}
/**********************************************************************/
/*************** FORMULAIRE DE SAISIE D'ARTICLE ***********************/
/**********************************************************************/
.formulaire_editer_bien {
clear: none;
.resume textarea { min-height: 25rem; }
.upload_vignette {
label { display: block; }
.ajaxbloc {
clear: both;
@include media-breakpoint-up(lg) {
clear: initial;
}
}
}
.col_droite {
float: right;
width: 33%;
clear: right;
}
.principal, .auteurs { width: 60%; }
.formulaire_uploadhtml5 {
margin-bottom: 0;
float: left;
width: 100%;
.dropzone {
min-height: 50px;
.dz-message { margin: .5em 0; }
}
@include media-breakpoint-up(lg) {
width: 25%;
}
}
.photo_bien {
justify-content: left;
.une_photo {
margin-right: 1rem;
display: flex;
flex-direction: column;
max-width: 320px;
}
.boutons_actions {
width: 100%;
display: flex;
justify-content: space-around;
i.green {
padding: .6rem 1.5rem;
}
a {
margin: 0;
}
}
}
legend {
width: auto;
}
}
.une_OK i.fas { color: green; }
/**********************************************************************/
/******** FORMULAIRE DE CONNEXION / CREATION DE COMPTE ****************/
/**********************************************************************/
#choix_connexion {
fieldset {
clear: none;
margin-bottom: 2rem;
border: solid 1px #BBB;
padding: 1.5rem;
background-color: #FCFCFC;
> div { margin-bottom: 1.2rem;}
}
}
@include media-breakpoint-up(md) {
#choix_connexion { flex-wrap: nowrap; }
}
.bloc_connexion {
flex-grow: 1;
}
.creer_associer_compte {
flex-grow: 2;
}
/**********************************************************************/
/****************************** spip_admin ****************************/
/**********************************************************************/
div#spip-admin { display:none; }
@include media-breakpoint-up(sm) {
div#spip-admin { display: initial; }
}