Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
web
/
vhosts
/
www.volley92.asso.fr
/
htdocs
/
ressources
/
scss
/
/srv/data/web/vhosts/www.volley92.asso.fr/htdocs/ressources/scss/global.scss
/* Documentations https://owlcarousel2.github.io/OwlCarousel2/docs/started-welcome.html https://github.com/blueimp/Gallery/blob/master/README.md https://sass-lang.com/documentation */ /* Bootstrap4 for SasS */ @import 'bootstrap/bootstrap.scss'; @font-face { font-family: 'Canaro'; font-weight: 700; font-style: normal; src: url('../fonts/canaro/Canaro-SemiBold.eot?#iefix') format('embedded-opentype'), url('../fonts/canaro/Canaro-SemiBold.woff') format('woff'), url('../fonts/canaro/Canaro-SemiBold.ttf') format('truetype'), url('../fonts/canaro/Canaro-SemiBold.svg#Canaro-SemiBold') format('svg'); } /* Global variables */ $font-stack: 'Muli', sans-serif; $font-stack-title: 'Canaro', sans-serif; $base-font-size: 14px; $dark: #333; $light: #fff; $default-color: #241e5f; $default-color-dark: #191442; $default-color-hover:rgb(14, 112, 209); $default-color-red: #d30303; $default-color-orange: #ed825a; $default-color-text: #434345; $default-color-grey: rgb(241, 241, 241); $transparent: transparent; $break-large: 1200px!default; $break-middle: 992px!default; $break-small: 768px!default; /* Global functions */ @function strip-unit($number) { @if type-of($number) == 'number' and not unitless($number) { @return $number / ($number * 0 + 1); } @return $number; } @function rem($size, $base: $base-font-size) { @return 1rem * $size / strip-unit($base); } @function em($size, $base: $base-font-size) { @return 1rem * $size / strip-unit($base); } @function text-color($bg-color) { @if(lightness($bg-color) > 50) { @return $dark; } @else { @return $light; } } /* Default SCSS */ /* General rules */ body{ font-family: $font-stack; font-size: $base-font-size; color: $default-color-text; box-sizing: border-box; position: relative; h1,h2,h3,h4{ font-family: $font-stack-title!important; font-weight: 700; } a{ text-decoration: none; &:hover{ text-decoration: none; color: $secondary; } } img { max-width: 100%; height: auto; } .clear { clear: both; } } /* Navbar */ .menu-top { background-color: $default-color-dark; position: relative; padding: rem(15); @media screen and (max-width: $break-middle) { display: none; } a { color: $light; text-decoration: none; } .contact-icon { display: inline-block; margin-left: 7px; width: 35px; height: 35px; border: 1px solid rgba(255, 255, 255, 0.5); text-align: center; padding: 5px 0 5px; background-color: #133a63; } .top-social { a { margin: 0 5px; } } } .menu { top: 0; left: 0; right: 0; background-color:$light; z-index: 1030; transition: all .3s; border-bottom: 1px solid #eee; padding: 20px; &.fixmenu { background: $light; position: fixed; top: 0; left: 0; right: 0; z-index: 999; box-shadow: 0 1px 5px 0 rgba(0,0,0,0.1); } // @media screen and (max-width: $break-middle) { // .responsiv-logo { // position: absolute; // .logo { // img { // max-width: 50%; // } // } // } // .responsiv-menu { // .navbar-header { // width: 100%; // text-align: right; // } // margin-left: auto; // .navbar-collapse { // padding-top: 15px; // } // } // } } .nav-item{ &.active{ .nav-link{ @media screen and (max-width: $break-middle) { color: $default-color; } &:after { left: 0; width: 100%; @media screen and (max-width: $break-middle) { width: 0; } } } } .nav-link{ color: $default-color; text-transform: uppercase; font-weight: 700; letter-spacing: .06em; position: relative; transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -webkit-transition: all 0.3s ease-in-out; @media screen and (max-width: $break-middle) { font-size: rem(18); text-align: right; } &.dropdown-toggle{ position: inherit; &:after { position: inherit; top: inherit; left: inherit; } &:hover:after { left: inherit; width: 0; } } &:after { background: -moz-linear-gradient(90deg,$default-color 0%,$default-color 100%); background: -webkit-linear-gradient(90deg,$default-color 0%,$default-color 100%); background: -o-linear-gradient(90deg,$default-color 0%,$default-color 100%); background: -ms-linear-gradient(90deg,$default-color 0%,$default-color 100%); background: linear-gradient(90deg,$default-color 0%,$default-color 100%); content: ''; position: absolute; top: 100%; left: 50%; width: 0; height: 4px; margin-top: 4px; transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -webkit-transition: all 0.3s ease-in-out; } &:hover:after { left: 0; width: 100%; @media screen and (max-width: $break-middle) { width: 0; } } } } .navbar-toggler{ border: 1px solid $default-color; .navbar-toggler-icon{ color: $default-color; line-height: 30px; } } /* End Navbar */ /* Mask for banner */ .bgblack { position: absolute; width: 100%; height: 100%; top: 0; left: 0; background-color: rgba(0, 0, 0, 0.3); @media screen and (max-width: 767px) { position: inherit; } @media screen and (max-width: 823px) and (max-height: 411px) { position: inherit; } } /* Banner */ .banner { background-size: cover; background-position: 50%; background-repeat: no-repeat; position: relative; text-align: center; background-image: url(../../img/bg.jpg); // background-color:#eaeaea; min-height: 115vh; &:before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: 0; background-color: rgba(255, 255, 255, 0.7); } @media screen and (max-width: 767px){ position: inherit; } .home-title { position: absolute; top: 0; width: 100%; color: $light; @media screen and (max-width: 767px) { position: inherit; } @media screen and (max-width: 823px) { position: inherit; } img { padding:10px; } } &.pages{ background-image: url(../../img/bg-backoffice.jpg); min-height: 500px; h1{ font-family: $font-stack-title; } @media screen and (max-width: $break-middle) { h1{ font-size: rem(35); } } } video { width: 100%; height: 100%; position: relative; left: 0; top: -50px; object-fit: cover; } @media screen and (max-width: $break-middle) { // height: 750px; h1{ font-size: rem(25); } } .middle { width: 100%; margin: auto; position: absolute; // left: 50%; top: 56%; transform: translateY(-50%); background: $transparent; color: text-color($transparent); // @media screen and (max-width: 768px) { // top: 53%; // } @media screen and (max-width: 768px) { top: 20%; left: 0; position: inherit; transform: translate(0,0); -webkit-transform: translate(0,0); -moz-transform: translate(0,0); -ms-transform: translate(0,0); -o-transform: translate(0,0); } @media screen and (max-width: 823px) { top: 20%; left: 0; position: inherit; transform: translate(0,0); -webkit-transform: translate(0,0); -moz-transform: translate(0,0); -ms-transform: translate(0,0); -o-transform: translate(0,0); } ul { list-style-type: none; padding-left: 0; max-width: 750px; margin: 0 auto; li { position: relative; display: inline-block; margin-right: -3px; margin-bottom: -5px; width: 250px; height: 251px; @media screen and (max-width: 1024px) { width: 250px; height: 250px; } @media screen and (max-height: 375px) { width: 200px; height: 200px; } background-color: yellow; &.orange { background-color: #ed825a; } &.blue { background-color: #679eb4; } &.green { background-color: #7eb055; } &.yellow { background-color: #fecc5d; } &.dark { background-color: #3f4457; } &.pink { background-color: #e45477; } .logo-home { position: absolute; top: 30%; width: 100%; left:0; font-size: rem(80); color:$light; } span { font-size: 20px; position: absolute; bottom: 15px; width: 100%; left:0; color: $light; } } li:hover { background-color:$default-color-dark; transition: 300ms; } } } } /* End Banner */ // SLIDER .owl-slider{ .slider-img { position: relative; height: 670px; background-size: cover; background-position: center; background-repeat: no-repeat; } .owl-title{ width: 80%; margin: auto; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); h1{ color: #fff; font-size: rem(45); } h2{ color: #fff; font-size: rem(35); } } } .post-block{ min-height: 500px; background-color: #eee; color: #fff; } .block-padding{ padding: 70px 0 70px; } /* Section One */ section.one { // background-image: url(../../img/bg.jpg); background-color: #fff; background-size: cover; background-position: center; background-repeat: no-repeat; color: $dark; margin-bottom: 305px; @media screen and (max-width: 576px) { margin-bottom: 603px; } .main-content { padding: 80px; @media screen and (max-width: $break-small) { padding: 20px; } h1 { font-size: rem(34); text-align:center; } h2 { font-size: rem(25); } h3 { font-size: rem(20); } &.formations { min-height: 90vh; } &.formation { a.pdf { color: $dark; transition: 0.3s ease-in-out; text-decoration: underline; &:hover { color: $default-color; } } .formation-info { iframe { width: 100%; } } .btn-info { background-color: #3a93c7; border: none; border-bottom: 3px solid #3a93c7; &:hover { background-color: #3f83aa; border-bottom: 3px solid #3f83aa; } } } &.beach { min-height: 90vh; } hr { border-top: 1px solid $default-color; } &.contact { .btn-info { background-color: #3a93c7; border: none; border-bottom: 3px solid #3a93c7; &:hover { background-color: #3f83aa; border-bottom: 3px solid #3f83aa; } } } } &.accueil { .slider { .accueil-carousel { img { height: 400px; width: 600px; margin: 0 auto; } } .fa-chevron-circle-right, .fa-chevron-circle-left { color: $default-color-red; } } .accueil-news { a { color: $default-color-text; } .partners-carousel { width: 500px; margin: 0 auto; .partners-item { width: 250px; text-align: center; } } } // article { // &.accueil-news { // background-color: #fff; // .post-text { // background-color: $default-color-grey; // } // } // } } &.beach { p { font-size: rem(16); } ul { list-style: none; padding: 0; } li { font-size: rem(15); padding-left: 2em; } li:before { content: "\f138"; /* FontAwesome Unicode */ font-family: "Font Awesome 5 Free"; display: inline-block; // margin-left: -1.3em; /* same as padding-left set on li */ // width: 1.3em; /* same as padding-left set on li */ font-weight: 900; display:none; } svg { margin-left: -2em; /* same as padding-left set on li */ width: 2em; /* same as padding-left set on li */ color: $default-color-red; } .cart-blue { background-color: #3a93c7; border-radius: 8px; color:$light; padding: 30px 12px; margin: 60px 0px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); } } &.sportif { .sportif-block { background-color: $default-color; height: 320px; padding: 25px; color: $dark; h3 { font-size: 20px; text-align: center; color:$light; font-weight: 100; } } h2 { margin: 30px 0px; } img { box-shadow: 0 1rem 3rem rgba(0,0,0,.175); } } &.clubs { .card { background-color: transparent; .clubs-block { color: $dark; h3 { text-align: center; margin-bottom: 0px; font-size: rem(13); } } } .fa-volleyball-ball { font-size: rem(60); } } &.club { min-height: 75vh; padding: rem(50) rem(15); iframe { width: 100%; } .club-info { position: relative; background-color: #3a93c7b5; .footer-club { margin-top: 15px; .btn-contact { background-color: $default-color; padding: 12px 25px; border: 1px solid transparent; border-radius: 3px; color: $light; transition: 0.3s ease-in-out; &:hover { background-color: transparent; border: 1px solid $default-color; color: $default-color; } } } } .map { background-color: #EDEDED; } .other-text { margin: 40px 0px; h2 { position: relative; padding-bottom:20px; &:after { position: absolute; content: ""; height: 2px; background: #3a93c7; width: 90px; bottom: -1px; left: 0px; } } p { margin:20px 0px; text-align: justify; } } h1 { padding:20px 0px; color: $light; font-size: rem(20); } .club-info-text { padding: 20px 0px; color:$light; } } &.tarif { h2 { font-size: rem(20); } .price { padding: 40px 30px; border-bottom: 5px solid #3a93c7; background-color: #d6d6d6; } } &.for { h3 { position: relative; padding-bottom: 30px; } h3:before { position: absolute; content: ""; height: 2px; background: #3a93c7; width: 90px; bottom: -1px; left: 0px; } ul { list-style: none; padding: 0; } li { font-size: rem(15); padding-left: 2em; } li:before { content: "\f138"; /* FontAwesome Unicode */ font-family: "Font Awesome 5 Free"; display: inline-block; // margin-left: -1.3em; /* same as padding-left set on li */ // width: 1.3em; /* same as padding-left set on li */ font-weight: 900; display:none; } svg { margin-left: -2em; /* same as padding-left set on li */ width: 2em; /* same as padding-left set on li */ color: $default-color-red; } } &.news { .post-inner { background-color: #fff; min-height: 400px; border: 1px solid #eee; margin-bottom: 30px; overflow: hidden; position: relative; &:hover { background-color: rgb(223, 223, 223); transition: 300ms } } .post-img { width: 100%; max-height: 150px; margin: auto; overflow: hidden; position: relative; } .post-text { color: $default-color-text; position: relative; padding: 15px; min-height: 280px; } .post-author { width: 92%; border-top: 1px solid #eee; position: absolute; bottom: 0px; padding: 15px; } .page-item.active .page-link { background-color: $default-color; border-color: $default-color; } } &.news-single { min-height: 90vh; img { float:right; margin: 10px } } &.form-paiement { .pre-reservation { box-shadow: 0 1rem 3rem rgba(0,0,0,.175); .tit { background-color: #3a93c7; padding: 30px 10px; text-align:center; color:$light; h3 { margin-bottom: 0; } p { margin-bottom:0; } } } input[type=checkbox] { margin: 0px 5px; } } &.paiement { min-height: 75vh; @media screen and (max-width: $break-small) { min-height: 90vh; } .recap { box-shadow: 0 1rem 3rem rgba(0,0,0,.175); .recap-tit { background-color: #3a93c7; padding: 30px 10px; text-align:center; color:$light; } .recap-content { .recap-table { overflow: auto; } } .btn-primary { background-color: #7eb055; border:none; &:hover{ background-color: #7eb055c4; } } } } } .bg { background-image: url(../../img/bg-page.jpg); background-repeat: no-repeat; background-size: cover; padding: 150px 0; background-position: center; position: relative; text-align: center; color: $light; } .five{ padding: 70px 0 70px; } .contact { a { color: $default-color-text; font-size:16px; } p { font-size:16px; line-height: 5px; } .btn-circle { width: 45px; height: 45px; line-height: 45px; text-align: center; padding: 0; border-radius: 50%; } .btn-circle svg { position: relative; top: -1px; font-size:30px; } .btn-circle-sm { width: 35px; height: 35px; line-height: 35px; font-size: 0.9rem; } .btn-circle-lg { width: 55px; height: 55px; line-height: 55px; font-size: 1.1rem; } .btn-circle-xl { width: 70px; height: 70px; line-height: 75px; font-size: 1.3rem; } } /* Owl Carousel */ .owl-nav { width: 100%; margin: auto; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); .fa-chevron-circle-left, .fa-chevron-circle-right { font-size: 35px; } } .owl-theme .owl-nav [class*=owl-] { background: transparent; &:hover { background: transparent; } } .owl-dots { position: absolute; bottom: 0; left: 50%; transform: translate(-50%,-50%); @media screen and (max-width : $break-middle) { display: none; } } /* End Owl Carousel */ /* Blueimp Gallery (Lightbox) */ #blueimp-gallery { position: fixed; top: -10px; left: 0px; right: 0px; bottom: 0px; z-index: 1050; margin: 0; padding: 0; .close, .next, .prev { color: white; } .slides { .slide { .slide-content { width: 60%; margin: auto; } } } } .blueimp-gallery-controls > .description { display: block; } /* End Blueimp Gallery */ .form-control{ position: relative; } .form-control-feedback{ position: absolute; right: 25px; top: 40px; } .has-error{ .form-control-feedback{ color: red; } .form-control{ border: 1px solid red; } } .has-success{ .form-control-feedback{ color: green; } .form-control{ border: 1px solid green; } } /* Footer */ .home-footer { position: absolute; bottom: 0; width: 100%; background-color: #535c6e; hr { border-top: 1px solid $light; } @media screen and (max-width: 767px) { position: inherit; padding: 20px; } @media screen and (max-width: 823px) { position: inherit; padding: 20px; } hr { @media screen and (max-width: 767px) { display: none; } } a { color: #656262; font-size: 18px; } } .footer { position: fixed; width: 100%; bottom: 0; z-index: -1; background-color: $default-color-dark; color:$light; .inner { padding: 20px 0; } ul { list-style-type: none; //margin-left:2em; li { color: #9c9c9c; a{ text-decoration: none; color: #9c9c9c; &:hover{ color:rgb(204, 204, 204); } } } } .footer-title{ font-size: rem(20); font-weight:600; padding-bottom: 5px; border-bottom:1px solid #E5E5E5; position: relative; &:before { position: absolute; content: ""; height: 1px; background: #3a93c7; width: 90px; bottom: -1px; left: 0px; } } .btn-primary { background-color: #3a93c7; border:none; border-bottom:3px solid #3a93c7; &:hover{ background-color: $default-color-dark; } } hr { border-top: 1px solid $light; } svg{ color:#3a93c7; } } .divider { width: 100px; height: 2px; background-color: #3a93c7; margin: 20px 0px; display: block; margin-left: auto; margin-right: auto; } .divider-left { width: 100px; height: 2px; background-color: #3a93c7; margin: 40px 0px; display: block; } .divider-info-club { width: 50px; height: 2px; background-color: #3a93c7; margin: 2px 0px; padding-left: 15px; display: block; } .btn-primary { background-color: #3a93c7; border:none; &:hover{ background-color: $default-color-red; } } .textAnimationLeft { height: 40px; width: 120px; border-radius: 3px; text-align: center; overflow: hidden; background: #3a93c7; // border: 2px solid $default-color; position: relative; line-height: 40px; a { color: $light; } } .textAnimationLeft::before { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; transform: translateX(-100%); background: $default-color-red; transition: transform .25s ease-in; } .textAnimationLeft:hover::before { transform: translateX(0); } .textAnimationLeft span { position: relative; z-index: 1; display: block; width: 100%; } .textAnimationLeft:hover span { animation: animButtonSpan 0.4s; a { color:$light; } } @keyframes animButtonSpan { 0% { transform: translateX(0); opacity: 1; } 35% { transform: translateX(20px); opacity: 0; } 50.001% { transform: translateX(-20px); } 60% { transform: translateX(0px); } }