collection in mobile is ok

This commit is contained in:
2018-05-02 20:59:29 +02:00
parent 9e1c24478b
commit fceba2166b
4 changed files with 144 additions and 24 deletions
@@ -434,7 +434,7 @@ main[role="main"]{
}
&.home_mobile h2{
margin:0;
@include content_big_titles;
@include content_titles;
}
>.content{
}
@@ -449,7 +449,7 @@ main[role="main"]{
}
&.home_mobile .field__label{
margin: 0;
@include content_titles;
@include content_subtitles;
}
article.node--type-enregistrement{
h2.node-title{
@@ -457,17 +457,34 @@ main[role="main"]{
margin:0.9em 0 0 0;
}
}
}
div.taxonomy-term.vocabulary-entrees.home_mobile{
// &:not(:first-of-type){
border-bottom: 1px solid red;
padding-bottom: 1em;
border-bottom: 1px solid red;
// }
.field--name-field-notice, .index{
>.field__label{
cursor: pointer;
}
.field__item, .item-list{
height: auto;
transition: height 0.3s ease-in-out;
}
&.closed{
.field__item, .item-list{
overflow: hidden;
height:1px;
transition: height 0.01s ease-in-out;
}
}
}
&.notice-opened, &.index-opened{
.field--name-description{
overflow: hidden;
height:1px;
height: 1px;
}
}
}
@@ -569,6 +586,14 @@ main[role="main"]{
background-position: center;
background-size: contain;
}
html.is-mobile & .node--type-enregistrement.node--view-mode-full{
h2.node-title{
@include content_titles;
}
.audiofield label{display: none;}
}
}