enregistrement transcription interface is ok

This commit is contained in:
2018-04-15 00:00:40 +02:00
parent 6d88ca7c8d
commit ea435b7517
9 changed files with 196 additions and 20 deletions
@@ -254,8 +254,53 @@ main[role="main"]{
}
}
}
article.node>h2, h2.title{
h3.sur-title{
@include content_titles;
margin:0.9em 0 0;
}
article.node:not(.node--type-enregistrement)>h2, h2.title{
@include content_titles;
}
article.node.node--type-enregistrement{
>h2{
@include content_subtitles;
margin:0.9em 0 0 0;
}
html.js &{
h3.sur-title{display:none;}
}
.field--name-field-transcript-vo, .field--name-field-transcript-trad{
.field__label{
@include content_titles;
html.js &{
display: none;
}
}
&:not(.visible){
display:none;
}
}
nav{
padding:1em 0 0;
div.field__label{
@include content_titles;
display: inline-block;
cursor:pointer;
margin-right: 1em;
&:before{
content: "";
display:inline-block;
$sq:7px;
width: $sq; height:$sq;
border: 1px solid red;
margin-right: 0.5em;
}
&:hover:before,
&.is-active:before{
background-color: red;
}
}
}
}
article.node p{
@include content_courant;
@@ -3,7 +3,15 @@
font-weight: normal;
text-transform: uppercase;
}
@mixin content_courant {
font-size: 0.75em;
font-weight: normal;
@mixin content_subtitles {
font-size: 0.82em;
font-weight: 600;
line-height: 1.6;
}
@mixin content_courant {
font-size: 0.82em;
font-weight: normal;
line-height: 1.6;
}