imporved css
This commit is contained in:
+28
-36
@@ -160,16 +160,6 @@ input {
|
|||||||
background-image: url(../../images/menu-fond-theme-5-flat-nb.jpg);
|
background-image: url(../../images/menu-fond-theme-5-flat-nb.jpg);
|
||||||
cursor: default; }
|
cursor: default; }
|
||||||
|
|
||||||
html,
|
|
||||||
body,
|
|
||||||
#container,
|
|
||||||
#main,
|
|
||||||
#main > .region,
|
|
||||||
#block-system-main,
|
|
||||||
#block-system-main > .content,
|
|
||||||
.node-thematique {
|
|
||||||
overflow-x: visible; }
|
|
||||||
|
|
||||||
.node-thematique {
|
.node-thematique {
|
||||||
min-height: 766px;
|
min-height: 766px;
|
||||||
margin-bottom: 10em;
|
margin-bottom: 10em;
|
||||||
@@ -364,35 +354,37 @@ body,
|
|||||||
.node-thematique .content article.main .group-video .group-description {
|
.node-thematique .content article.main .group-video .group-description {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
box-sizing: border-box;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 90%;
|
width: 100%;
|
||||||
height: 80%;
|
height: 100%; }
|
||||||
margin: 5%;
|
|
||||||
padding: 5%;
|
|
||||||
background-color: rgba(255, 255, 255, 0);
|
|
||||||
transition: background-color 0.3s ease-in-out; }
|
|
||||||
.node-thematique .content article.main .group-video .group-description .field-name-field-ecouter {
|
.node-thematique .content article.main .group-video .group-description .field-name-field-ecouter {
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
font-weight: 500;
|
font-weight: 600;
|
||||||
|
padding: 0.2em 0.4em;
|
||||||
background-color: rgba(255, 255, 255, 0.9);
|
background-color: rgba(255, 255, 255, 0.9);
|
||||||
transition: background-color 0.3s ease-in-out;
|
display: inline-block;
|
||||||
display: inline-block; }
|
margin: 15px; }
|
||||||
.node-thematique .content article.main .group-video .group-description .field-name-field-description {
|
.node-thematique .content article.main .group-video .group-description .field-name-field-description {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
width: 80%;
|
||||||
|
height: 70%;
|
||||||
|
margin: 10%;
|
||||||
|
padding: 5%;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
background-color: rgba(255, 255, 255, 0.9);
|
||||||
transition: opacity 0.3s ease-in-out; }
|
transition: opacity 0.3s ease-in-out; }
|
||||||
.node-thematique .content article.main .group-video .group-description .field-name-field-description h3 {
|
.node-thematique .content article.main .group-video .group-description .field-name-field-description h3 {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 2em; }
|
font-size: 2em;
|
||||||
.node-thematique .content article.main .group-video:hover .group-description {
|
margin: 0; }
|
||||||
background-color: rgba(255, 255, 255, 0.9); }
|
.node-thematique .content article.main .group-video:hover .group-description .field-name-field-description {
|
||||||
.node-thematique .content article.main .group-video:hover .group-description .field-name-field-ecouter {
|
opacity: 1; }
|
||||||
background-color: rgba(255, 255, 255, 0); }
|
|
||||||
.node-thematique .content article.main .group-video:hover .group-description .field-name-field-description {
|
|
||||||
opacity: 1; }
|
|
||||||
.node-thematique .content aside.right {
|
.node-thematique .content aside.right {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
@@ -419,12 +411,12 @@ body,
|
|||||||
height: 80%;
|
height: 80%;
|
||||||
margin: 5%; }
|
margin: 5%; }
|
||||||
.node-thematique .content aside.right .node-documentair .content .group-txt .field-name-field-doc {
|
.node-thematique .content aside.right .node-documentair .content .group-txt .field-name-field-doc {
|
||||||
|
font-size: 1em;
|
||||||
|
font-weight: 600;
|
||||||
|
padding: 0.2em 0.4em;
|
||||||
|
background-color: rgba(255, 255, 255, 0.9);
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
z-index: 5;
|
z-index: 5;
|
||||||
font-size: 1em;
|
|
||||||
font-weight: 500;
|
|
||||||
padding: 7px;
|
|
||||||
background-color: rgba(255, 255, 255, 0.9);
|
|
||||||
transition: background-color 0.3s ease-in-out; }
|
transition: background-color 0.3s ease-in-out; }
|
||||||
.node-thematique .content aside.right .node-documentair .content .group-txt .field-name-title-field {
|
.node-thematique .content aside.right .node-documentair .content .group-txt .field-name-title-field {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -460,11 +452,11 @@ body,
|
|||||||
.node-thematique .content aside.bottom {
|
.node-thematique .content aside.bottom {
|
||||||
padding-top: 0.6em; }
|
padding-top: 0.6em; }
|
||||||
.node-thematique .content aside.bottom .field-name-field-episodes .field-label {
|
.node-thematique .content aside.bottom .field-name-field-episodes .field-label {
|
||||||
font-size: 1.3em;
|
font-size: 1em;
|
||||||
font-weight: 400;
|
font-weight: 600;
|
||||||
background-color: #fff;
|
padding: 0.2em 0.4em;
|
||||||
|
background-color: rgba(255, 255, 255, 0.9);
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 0.2em 0.4em 0;
|
|
||||||
margin-bottom: 0.3em; }
|
margin-bottom: 0.3em; }
|
||||||
.node-thematique .content aside.bottom .field-name-field-episodes > .field-items {
|
.node-thematique .content aside.bottom .field-name-field-episodes > .field-items {
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
@@ -497,7 +489,7 @@ body,
|
|||||||
transition: opacity,background-color 0.3s ease-in-out; }
|
transition: opacity,background-color 0.3s ease-in-out; }
|
||||||
.node-thematique .content aside.bottom .field-name-field-episodes > .field-items > .field-item .node-episode .content .group-txt .field-name-title-field {
|
.node-thematique .content aside.bottom .field-name-field-episodes > .field-items > .field-item .node-episode .content .group-txt .field-name-title-field {
|
||||||
font-size: 4em;
|
font-size: 4em;
|
||||||
font-weight: 700;
|
font-weight: 800;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
text-align: center; }
|
text-align: center; }
|
||||||
.node-thematique .content aside.bottom .field-name-field-episodes > .field-items > .field-item .node-episode .content .group-video a {
|
.node-thematique .content aside.bottom .field-name-field-episodes > .field-items > .field-item .node-episode .content .group-video a {
|
||||||
|
|||||||
@@ -196,20 +196,26 @@ $header_height:400px;
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
//
|
||||||
|
// html,
|
||||||
|
// body,
|
||||||
|
// #container,
|
||||||
|
// #main,
|
||||||
|
// #main>.region,
|
||||||
|
// #block-system-main,
|
||||||
|
// #block-system-main>.content,
|
||||||
|
// .node-thematique{
|
||||||
|
// overflow-x: visible;
|
||||||
|
// }
|
||||||
|
|
||||||
html,
|
@mixin vidlabel(){
|
||||||
body,
|
font-size: 1em;
|
||||||
#container,
|
font-weight: 600;
|
||||||
#main,
|
padding:0.2em 0.4em;
|
||||||
#main>.region,
|
background-color: rgba(255,255,255,0.9);
|
||||||
#block-system-main,
|
display: inline-block;
|
||||||
#block-system-main>.content,
|
|
||||||
.node-thematique{
|
|
||||||
overflow-x: visible;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// thematique
|
// thematique
|
||||||
.node-thematique{
|
.node-thematique{
|
||||||
min-height:766px;
|
min-height:766px;
|
||||||
@@ -359,35 +365,37 @@ body,
|
|||||||
.field-name-field-emvideo a{ display: block; line-height: 0;}
|
.field-name-field-emvideo a{ display: block; line-height: 0;}
|
||||||
.group-description{
|
.group-description{
|
||||||
cursor: pointer; pointer-events: none;
|
cursor: pointer; pointer-events: none;
|
||||||
box-sizing: border-box;
|
|
||||||
position:absolute; z-index: 2;
|
position:absolute; z-index: 2;
|
||||||
top:0; left: 0;
|
top:0; left: 0;
|
||||||
width:90%;
|
width:100%; height:100%;
|
||||||
height:80%;
|
|
||||||
margin:5%;
|
|
||||||
padding:5%;
|
|
||||||
background-color: rgba(255,255,255,0);
|
|
||||||
transition: background-color 0.3s ease-in-out;
|
|
||||||
.field-name-field-ecouter{
|
.field-name-field-ecouter{
|
||||||
font-size: 1em;
|
@include vidlabel();
|
||||||
font-weight: 500;
|
|
||||||
background-color: rgba(255,255,255,0.9);
|
margin:15px;
|
||||||
transition: background-color 0.3s ease-in-out;
|
// transition: background-color 0.3s ease-in-out;
|
||||||
display: inline-block;
|
|
||||||
}
|
}
|
||||||
.field-name-field-description{
|
.field-name-field-description{
|
||||||
|
position: absolute;
|
||||||
|
top:0; left:0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
width:80%;
|
||||||
|
height:70%;
|
||||||
|
margin:10%;
|
||||||
|
padding:5%;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
background-color: rgba(255,255,255,0.9);
|
||||||
transition: opacity 0.3s ease-in-out;
|
transition: opacity 0.3s ease-in-out;
|
||||||
h3{
|
h3{
|
||||||
font-weight: 500; font-size: 2em
|
font-weight: 500; font-size: 2em; margin:0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&:hover .group-description{
|
&:hover .group-description{
|
||||||
background-color: rgba(255,255,255,0.9);
|
// background-color: rgba(255,255,255,0.9);
|
||||||
.field-name-field-ecouter{
|
// .field-name-field-ecouter{
|
||||||
background-color: rgba(255,255,255,0);
|
// background-color: rgba(255,255,255,0);
|
||||||
}
|
// }
|
||||||
.field-name-field-description{opacity:1;}
|
.field-name-field-description{opacity:1;}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -421,12 +429,8 @@ body,
|
|||||||
margin:5%;
|
margin:5%;
|
||||||
// opacity: 0;
|
// opacity: 0;
|
||||||
.field-name-field-doc{
|
.field-name-field-doc{
|
||||||
display: inline-block;
|
@include vidlabel;
|
||||||
z-index:5;
|
z-index:5;
|
||||||
font-size: 1em;
|
|
||||||
font-weight: 500;
|
|
||||||
padding: 7px;
|
|
||||||
background-color: rgba(255, 255, 255, 0.9);
|
|
||||||
transition:background-color 0.3s ease-in-out;
|
transition:background-color 0.3s ease-in-out;
|
||||||
}
|
}
|
||||||
.field-name-title-field{
|
.field-name-title-field{
|
||||||
@@ -474,11 +478,7 @@ body,
|
|||||||
// letter-spacing: -0.25em;
|
// letter-spacing: -0.25em;
|
||||||
|
|
||||||
.field-label{
|
.field-label{
|
||||||
font-size: 1.3em;
|
@include vidlabel;
|
||||||
font-weight: 400;
|
|
||||||
background-color: #fff;
|
|
||||||
display: inline-block;
|
|
||||||
padding:0.2em 0.4em 0;
|
|
||||||
margin-bottom: 0.3em;
|
margin-bottom: 0.3em;
|
||||||
}
|
}
|
||||||
&>.field-items{
|
&>.field-items{
|
||||||
@@ -507,7 +507,7 @@ body,
|
|||||||
transition:opacity,background-color 0.3s ease-in-out;
|
transition:opacity,background-color 0.3s ease-in-out;
|
||||||
.field-name-title-field{
|
.field-name-title-field{
|
||||||
font-size: 4em;
|
font-size: 4em;
|
||||||
font-weight: 700;
|
font-weight: 800;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user