css grille ressources
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// home juin 2023
|
||||
@import "../partials/_slick-slider.scss";
|
||||
|
||||
.path-frontpage{
|
||||
// bandeau actus
|
||||
@@ -9,6 +10,7 @@
|
||||
// border-top: 5px solid $blue-light;
|
||||
background: $background-actus;
|
||||
.view-actus-blocks-pages{
|
||||
padding-top: 5rem;
|
||||
.view-content{
|
||||
display: flex;
|
||||
flex-basis: auto;
|
||||
@@ -27,10 +29,12 @@
|
||||
flex-basis: auto;
|
||||
|
||||
}
|
||||
.w3-button{
|
||||
// .w3-button{
|
||||
|
||||
}
|
||||
.views-row:nth-of-type(1) { grid-column: 2; }
|
||||
// }
|
||||
// .views-row:nth-of-type(1) { grid-column: 2; }
|
||||
|
||||
|
||||
.node-type-actualite{
|
||||
color: $black;
|
||||
line-height: 1.5rem;
|
||||
|
||||
@@ -11,16 +11,16 @@
|
||||
.layout__region--content{
|
||||
.block-region-content{
|
||||
display: grid;
|
||||
grid-template-columns: 1fr repeat(8, 2fr) 1fr;
|
||||
grid-template-columns: 1fr repeat(4, 1fr) 1fr;
|
||||
|
||||
// texte présentation
|
||||
.block-config-pages-block{
|
||||
grid-column: 3 / span 5;
|
||||
grid-column: 1 / span 6;
|
||||
|
||||
.config_pages--base-de-donnees--full{
|
||||
// .field--name-field-introduction{
|
||||
grid-column: 3 / span 5;
|
||||
margin: 2rem;
|
||||
grid-column: 1 / span 5;
|
||||
// margin: 2rem;
|
||||
.field--name-field-introduction{
|
||||
// width: 65%;
|
||||
margin: auto;
|
||||
@@ -52,13 +52,13 @@
|
||||
//button proposer une ressource
|
||||
.block-block-content82917d0c-5004-4bfb-af66-ce334782d82d{
|
||||
// visibility: hidden;
|
||||
grid-column: 8 / span 9;
|
||||
grid-column: 6 / span 6;
|
||||
grid-row: 1;
|
||||
margin-top: 4rem;
|
||||
background-color: $blue-light;
|
||||
height: fit-content;
|
||||
width: 60%;
|
||||
margin-left: 2rem;
|
||||
width: 100%;
|
||||
// margin-left: 2rem;
|
||||
grid-row: 2;
|
||||
.display{
|
||||
display: block;
|
||||
@@ -96,7 +96,7 @@
|
||||
// grille des ressources
|
||||
.block-views-blockbase-de-donnees-block-1{
|
||||
width: 100%;
|
||||
grid-column: 3 / span 8;
|
||||
grid-column: 1 / span 6;
|
||||
.view-filters{
|
||||
background-color: $white;
|
||||
margin-top: 2rem;
|
||||
@@ -118,13 +118,15 @@
|
||||
}
|
||||
}
|
||||
.view-content{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
// justify-content: space-between;
|
||||
.views-row{
|
||||
width: 25%;
|
||||
flex: 0 0 25%;
|
||||
border: 2px solid $blue-light;
|
||||
flex: 0 0 22%;
|
||||
padding: 0.5rem;
|
||||
// background-color: $white;
|
||||
// margin-bottom: 1rem;
|
||||
// &:hover{
|
||||
@@ -134,8 +136,9 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
// border: 2px solid $blue-light;
|
||||
padding: 1rem;
|
||||
|
||||
padding: 1rem;
|
||||
border: 2px solid $blue-light;
|
||||
|
||||
// &:hover{
|
||||
// background-color: $blue-light;
|
||||
// .field--name-field-mots-clefs{
|
||||
@@ -165,9 +168,10 @@
|
||||
margin: 0;
|
||||
a{
|
||||
color: $black;
|
||||
font-size: 1.4rem;
|
||||
font-weight: 600;
|
||||
|
||||
font-size: 1rem;
|
||||
// font-weight: 600;
|
||||
font-weight: 900;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+6
-1
@@ -1,7 +1,8 @@
|
||||
/* Slider */
|
||||
|
||||
.slick-slider {
|
||||
background-color: blue;
|
||||
padding-top: 6rem;
|
||||
// background-color: blue;
|
||||
position: relative;
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
@@ -42,6 +43,8 @@
|
||||
|
||||
.slick-track {
|
||||
position: relative;
|
||||
// width: 600px !important ;
|
||||
|
||||
left: 0;
|
||||
top: 0;
|
||||
display: block;
|
||||
@@ -63,6 +66,8 @@
|
||||
}
|
||||
}
|
||||
.slick-slide {
|
||||
// width: 600px !important ;
|
||||
|
||||
float: left;
|
||||
height: 100%;
|
||||
min-height: 1px;
|
||||
@@ -0,0 +1,194 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
// Default Variables
|
||||
|
||||
// Slick icon entity codes outputs the following
|
||||
// "\2190" outputs ascii character "←"
|
||||
// "\2192" outputs ascii character "→"
|
||||
// "\2022" outputs ascii character "•"
|
||||
|
||||
$slick-font-path: "./fonts/" !default;
|
||||
$slick-font-family: "slick" !default;
|
||||
$slick-loader-path: "./" !default;
|
||||
$slick-arrow-color: white !default;
|
||||
$slick-dot-color: black !default;
|
||||
$slick-dot-color-active: $slick-dot-color !default;
|
||||
$slick-prev-character: "\2190" !default;
|
||||
$slick-next-character: "\2192" !default;
|
||||
$slick-dot-character: "\2022" !default;
|
||||
$slick-dot-size: 6px !default;
|
||||
$slick-opacity-default: 0.75 !default;
|
||||
$slick-opacity-on-hover: 1 !default;
|
||||
$slick-opacity-not-active: 0.25 !default;
|
||||
|
||||
@function slick-image-url($url) {
|
||||
@if function-exists(image-url) {
|
||||
@return image-url($url);
|
||||
}
|
||||
@else {
|
||||
@return url($slick-loader-path + $url);
|
||||
}
|
||||
}
|
||||
|
||||
@function slick-font-url($url) {
|
||||
@if function-exists(font-url) {
|
||||
@return font-url($url);
|
||||
}
|
||||
@else {
|
||||
@return url($slick-font-path + $url);
|
||||
}
|
||||
}
|
||||
|
||||
/* Slider */
|
||||
|
||||
.slick-list {
|
||||
.slick-loading & {
|
||||
background: #fff slick-image-url("ajax-loader.gif") center center no-repeat;
|
||||
}
|
||||
}
|
||||
|
||||
/* Icons */
|
||||
@if $slick-font-family == "slick" {
|
||||
@font-face {
|
||||
font-family: "slick";
|
||||
src: slick-font-url("slick.eot");
|
||||
src: slick-font-url("slick.eot?#iefix") format("embedded-opentype"), slick-font-url("slick.woff") format("woff"), slick-font-url("slick.ttf") format("truetype"), slick-font-url("slick.svg#slick") format("svg");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
|
||||
/* Arrows */
|
||||
|
||||
.slick-prev,
|
||||
.slick-next {
|
||||
position: absolute;
|
||||
display: block;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
line-height: 0px;
|
||||
font-size: 0px;
|
||||
cursor: pointer;
|
||||
background: transparent;
|
||||
color: transparent;
|
||||
top: 50%;
|
||||
-webkit-transform: translate(0, -50%);
|
||||
-ms-transform: translate(0, -50%);
|
||||
transform: translate(0, -50%);
|
||||
padding: 0;
|
||||
border: none;
|
||||
outline: none;
|
||||
&:hover, &:focus {
|
||||
outline: none;
|
||||
background: transparent;
|
||||
color: transparent;
|
||||
&:before {
|
||||
opacity: $slick-opacity-on-hover;
|
||||
}
|
||||
}
|
||||
&.slick-disabled:before {
|
||||
opacity: $slick-opacity-not-active;
|
||||
}
|
||||
&:before {
|
||||
font-family: $slick-font-family;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
color: $slick-arrow-color;
|
||||
opacity: $slick-opacity-default;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
}
|
||||
|
||||
.slick-prev {
|
||||
left: -25px;
|
||||
[dir="rtl"] & {
|
||||
left: auto;
|
||||
right: -25px;
|
||||
}
|
||||
&:before {
|
||||
content: $slick-prev-character;
|
||||
[dir="rtl"] & {
|
||||
content: $slick-next-character;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.slick-next {
|
||||
right: -25px;
|
||||
[dir="rtl"] & {
|
||||
left: -25px;
|
||||
right: auto;
|
||||
}
|
||||
&:before {
|
||||
content: $slick-next-character;
|
||||
[dir="rtl"] & {
|
||||
content: $slick-prev-character;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dots */
|
||||
|
||||
.slick-dotted.slick-slider {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.slick-dots {
|
||||
position: absolute;
|
||||
bottom: -25px;
|
||||
list-style: none;
|
||||
display: block;
|
||||
text-align: center;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
li {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
margin: 0 5px;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
button {
|
||||
border: 0;
|
||||
background: transparent;
|
||||
display: block;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
outline: none;
|
||||
line-height: 0px;
|
||||
font-size: 0px;
|
||||
color: transparent;
|
||||
padding: 5px;
|
||||
cursor: pointer;
|
||||
&:hover, &:focus {
|
||||
outline: none;
|
||||
&:before {
|
||||
opacity: $slick-opacity-on-hover;
|
||||
}
|
||||
}
|
||||
&:before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
content: $slick-dot-character;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
font-family: $slick-font-family;
|
||||
font-size: $slick-dot-size;
|
||||
line-height: 20px;
|
||||
text-align: center;
|
||||
color: $slick-dot-color;
|
||||
opacity: $slick-opacity-not-active;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
}
|
||||
&.slick-active button:before {
|
||||
color: $slick-dot-color-active;
|
||||
opacity: $slick-opacity-default;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
/*eql*/
|
||||
|
||||
/*setup*/
|
||||
@import "../node_modules/slick-carousel/slick/slick.scss";
|
||||
@import "../node_modules/slick-carousel/slick/slick-theme.scss";
|
||||
// @import "../node_modules/slick-carousel/slick/slick.scss";
|
||||
// @import "../node_modules/slick-carousel/slick/slick-theme.scss";
|
||||
|
||||
|
||||
/*global*/
|
||||
@@ -14,7 +14,7 @@
|
||||
// @import "global/_reset";
|
||||
@import "global/_typography";
|
||||
@import "global/_mediaqueries";
|
||||
// @import "global/_slick-slider";
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -56,3 +56,5 @@
|
||||
/*partials*/
|
||||
@import "partials/_header";
|
||||
@import "partials/_footer";
|
||||
@import "partials/_slick-slider.scss";
|
||||
@import "partials/_slick-theme.scss";
|
||||
|
||||
Reference in New Issue
Block a user