filter && fotter

This commit is contained in:
2020-07-23 18:15:08 +02:00
parent 068100edab
commit e9761aa6ca
29 changed files with 926 additions and 107 deletions
@@ -3,6 +3,50 @@ footer{
width: 100%;
height: auto;
padding: 2rem 0;
h2{
font-size: 1rem;
text-transform: uppercase;
}
a{
color: black;
&:hover{
color: black;
}
}
#block-renderedsitesettingsblock-4{
.site_setting_entity{
& > div{
margin: 1rem 0;
&:first-child{
&::after,&:before{
margin: 0.5rem 0;
display: block;
content: " ";
width: 1rem;
height: 1px;
background: black;
}
}
}
.sub-title{
font-size: 1rem;
}
.d-flex{
margin-top: 1rem;
& > div{
width: 30px;
margin-right: 1rem;
}
}
}
}
.site_setting_entity{
img{
// width: 100%;
height: auto;
}
}
& > div{
display: flex;
flex-wrap: nowrap;
@@ -2,8 +2,15 @@
#views-exposed-form-bibliographie-page-1{
margin: 2rem 0;
display: flex;
flex-wrap: wrap;
& > div{
margin-right: 2rem;
&:not(:last-child){
margin-bottom: 1rem;
@media screen and (min-width: 992px) {
margin-bottom: 0rem;
}
}
select{
border: 1px solid $color2;
background: white;
@@ -20,3 +27,85 @@
}
}
}
.views-exposed-form{
input{
height: auto;
background: $color2;
color: white;
border: none;
outline: none;
margin-right: 1rem;
padding: 0.5rem 1rem;
&:focus{
border: none;
outline: none;
}
}
}
.js-form-type-select {
position: relative;
font-family: Arial;
display: inline-flex;
align-items: baseline;
label{
margin-right: 1rem;
}
.select-selected{
min-width: 150px;
}
}
.js-form-type-select select {
display: none; /*hide original SELECT element: */
}
.select-selected {
background-color: white;
color: $color2!important;
}
/* Style the arrow inside the select element: */
.select-selected:after {
position: absolute;
content: "";
top: 14px;
right: 10px;
width: 0;
height: 0;
border: 6px solid transparent;
border-color: $color2 transparent transparent transparent;
}
/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
border-color: transparent transparent $color2 transparent;
top: 7px;
}
/* style the items (options), including the selected item: */
.select-items div,.select-selected {
color: #ffffff;
padding: 8px 16px;
border: 1px solid transparent;
border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
cursor: pointer;
}
/* Style items (options): */
.select-items {
position: absolute;
background-color: $color2;
top: 100%;
right: 0;
z-index: 99;
min-width: 150px;
}
/* Hide the items when the select box is closed: */
.select-hide {
display: none;
}
.select-items div:hover, .same-as-selected {
background-color: rgba(0, 0, 0, 0.1);
}
@@ -163,14 +163,6 @@ header{
}
}
.site_setting_entity{
img{
width: 50%;
height: auto;
}
}
header.front{
#block-popsu-colloque-branding{
width: 100%;
@@ -22,7 +22,7 @@ main{
main:not(.home){
padding-top: 0rem;
@media screen and (min-width: 768px) {
padding-top: 5rem!important;
padding: 5rem 0!important;
}
}
@@ -55,7 +55,11 @@ img{
color: $color2;
}
}
#block-popsu-colloque-page-title{
padding: 0 15px;
margin: 0 auto 2rem auto;
@include croix_or;
}
#block-views-block-slide-programme-block-1,
#block-views-block-dernieres-publications-block-1{
margin: 5rem 0;
@@ -0,0 +1,14 @@
.leaflet-popup-content-wrapper{
}
.leaflet-popup-content{
p{
font-size: 0.9rem;
line-height: 1.5;
font-family: 'truenoregular';
strong{
color: $color2;
line-height: 2;
}
}
}
@@ -94,6 +94,8 @@
.__ressources{
.__publications{
.publications{
// margin: $gutter1;
.__media{
padding: 0.5rem 0 0.5rem 0.5rem;
}
@@ -101,13 +103,13 @@
padding: 0.5rem;
}
@media screen and (min-width: 768px) {
width: calc(100% / 2 - #{$gutter1});
width: calc(100% / 2 - #{$gutter1} * 2);
}
@media screen and (min-width: 992px) {
width: calc(100% / 2 - #{$gutter1});
width: calc(100% / 2 - #{$gutter1} * 2);
}
@media screen and (min-width: 1200px) {
width: calc(100% / 2 - #{$gutter1});
width: calc(100% / 2 - #{$gutter1} * 2);
}
}
}
@@ -122,6 +124,16 @@
}
}
}
@media screen and (min-width: 768px) {
width: calc(100% / 2 - #{$gutter1} * 2);
}
@media screen and (min-width: 992px) {
width: calc(100% / 2 - #{$gutter1} * 2);
}
@media screen and (min-width: 1200px) {
width: calc(100% / 2 - #{$gutter1} * 2);
}
}
}
}