#1691 mise en forme menu gauche

This commit is contained in:
armansansd
2021-12-13 12:01:31 +01:00
parent 375a74a4e0
commit 3da3bb1d57
4 changed files with 172 additions and 27 deletions
+86 -13
View File
@@ -1,4 +1,77 @@
.page-node-type-theme, .page-node-type-projet{
///// copy menu left
.block-region-first{
.field_programme{
display: none;
}
@include breakpoint(small down) {
text-align: center;
}
position: absolute;
top: 0;
left: 0;
width: 22%;
padding: 1rem 1.5rem ;
.prog-ressources-link{
font-family: "duke";
font-size: $font-large;
cursor: pointer;
transition: all 250ms;
text-decoration: none;
&:hover{
padding: 0 0 0 .3rem;
}
}
div[id=""] {
@include breakpoint(small down) {
display: none;
}
}
.views-element-container{
@include breakpoint(small down) {
display: block;
// &:not(:first-child){
// margin-left: 1rem;
// }
}
header{
font-family: "duke";
font-size: $font-large;
text-transform: uppercase;
cursor: pointer;
transition: all 250ms;
line-height: 1.1;
margin-bottom: .5rem;
&:hover{
padding: 0 0 0 .3rem;
}
}
.views-row, .view-grouping{
display: none;
padding: 0 0 0 1.2rem;
margin-bottom: .5rem;
a{
text-decoration: none;
&:hover{
text-decoration: underline;
}
}
}
.views-row{
padding: 0;
}
}
}
/////fin copy menu left
.field_logo{
display: block;
}
@@ -25,20 +98,20 @@
background: $col-met;
}
}
.block-region-first{
padding: 1rem;
.field_programme{
background: black !important;
font-weight: 600;
// .block-region-first{
// padding: 1rem;
// .field_programme{
// background: black !important;
// font-weight: 600;
a{
text-decoration: none;
&:hover{
text-decoration: underline;
}
}
}
}
// a{
// text-decoration: none;
// &:hover{
// text-decoration: underline;
// }
// }
// }
// }
.block-region-third{
margin-top: 20rem;