imporved css

This commit is contained in:
2017-02-27 17:38:59 +01:00
parent 8a2a116c11
commit 383d754831
2 changed files with 67 additions and 75 deletions
+28 -36
View File
@@ -160,16 +160,6 @@ input {
background-image: url(../../images/menu-fond-theme-5-flat-nb.jpg);
cursor: default; }
html,
body,
#container,
#main,
#main > .region,
#block-system-main,
#block-system-main > .content,
.node-thematique {
overflow-x: visible; }
.node-thematique {
min-height: 766px;
margin-bottom: 10em;
@@ -364,35 +354,37 @@ body,
.node-thematique .content article.main .group-video .group-description {
cursor: pointer;
pointer-events: none;
box-sizing: border-box;
position: absolute;
z-index: 2;
top: 0;
left: 0;
width: 90%;
height: 80%;
margin: 5%;
padding: 5%;
background-color: rgba(255, 255, 255, 0);
transition: background-color 0.3s ease-in-out; }
width: 100%;
height: 100%; }
.node-thematique .content article.main .group-video .group-description .field-name-field-ecouter {
font-size: 1em;
font-weight: 500;
font-weight: 600;
padding: 0.2em 0.4em;
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 {
position: absolute;
top: 0;
left: 0;
box-sizing: border-box;
width: 80%;
height: 70%;
margin: 10%;
padding: 5%;
opacity: 0;
background-color: rgba(255, 255, 255, 0.9);
transition: opacity 0.3s ease-in-out; }
.node-thematique .content article.main .group-video .group-description .field-name-field-description h3 {
font-weight: 500;
font-size: 2em; }
.node-thematique .content article.main .group-video:hover .group-description {
background-color: rgba(255, 255, 255, 0.9); }
.node-thematique .content article.main .group-video:hover .group-description .field-name-field-ecouter {
background-color: rgba(255, 255, 255, 0); }
.node-thematique .content article.main .group-video:hover .group-description .field-name-field-description {
opacity: 1; }
font-size: 2em;
margin: 0; }
.node-thematique .content article.main .group-video:hover .group-description .field-name-field-description {
opacity: 1; }
.node-thematique .content aside.right {
display: inline-block;
vertical-align: top;
@@ -419,12 +411,12 @@ body,
height: 80%;
margin: 5%; }
.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;
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; }
.node-thematique .content aside.right .node-documentair .content .group-txt .field-name-title-field {
position: absolute;
@@ -460,11 +452,11 @@ body,
.node-thematique .content aside.bottom {
padding-top: 0.6em; }
.node-thematique .content aside.bottom .field-name-field-episodes .field-label {
font-size: 1.3em;
font-weight: 400;
background-color: #fff;
font-size: 1em;
font-weight: 600;
padding: 0.2em 0.4em;
background-color: rgba(255, 255, 255, 0.9);
display: inline-block;
padding: 0.2em 0.4em 0;
margin-bottom: 0.3em; }
.node-thematique .content aside.bottom .field-name-field-episodes > .field-items {
display: -ms-flexbox;
@@ -497,7 +489,7 @@ body,
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 {
font-size: 4em;
font-weight: 700;
font-weight: 800;
font-style: italic;
text-align: center; }
.node-thematique .content aside.bottom .field-name-field-episodes > .field-items > .field-item .node-episode .content .group-video a {