updated video thumb display style

This commit is contained in:
2017-02-23 20:29:41 +01:00
parent 064930653f
commit 65f6be158a
11 changed files with 317 additions and 94 deletions
+12 -7
View File
@@ -154,7 +154,8 @@ input {
.node-thematique .content article.main {
display: inline-block;
vertical-align: top;
width: 69.5%; }
width: 69.5%;
overflow: hidden; }
.node-thematique .content article.main .field-name-body {
position: relative;
z-index: 3; }
@@ -162,22 +163,26 @@ input {
padding: 0 1em 0 0.2em; }
.node-thematique .content article.main .field-name-body .summary {
position: relative;
height: 141px;
overflow: hidden; }
height: 5.75em;
overflow: hidden;
background-color: transparent;
transition: background-color 0.5 ease-in-out; }
.node-thematique .content article.main .field-name-body .summary p {
font-size: 1.3em; }
.node-thematique .content article.main .field-name-body .value {
position: absolute;
height: 0;
height: 1px;
margin-bottom: 0;
transition: height,margin-bottom 0.5s ease-in-out;
transition: height 0.5s ease-in-out;
background-color: #fff;
overflow: hidden; }
.node-thematique .content article.main .field-name-body .value p {
font-size: 1em;
padding: 0.5em; }
.node-thematique .content article.main .field-name-body:hover .summary {
background-color: #fff; }
.node-thematique .content article.main .field-name-body:hover .value {
height: 400px;
margin-bottom: 1em; }
height: 700px; }
.node-thematique .content article.main .field-name-body p {
padding: 0 0 1em;
margin: 0; }