updated video thumb display style
This commit is contained in:
+12
-7
@@ -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; }
|
||||
|
||||
@@ -202,27 +202,33 @@ body{
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
width:$main_w;
|
||||
overflow: hidden;
|
||||
.field-name-body{
|
||||
position: relative; z-index: 3;
|
||||
>*{padding:0 1em 0 0.2em;}
|
||||
.summary{
|
||||
position: relative;
|
||||
height:141px; overflow: hidden;
|
||||
height:5.75em; overflow: hidden;
|
||||
background-color: transparent;
|
||||
transition: background-color 0.5 ease-in-out;
|
||||
p{
|
||||
font-size: 1.3em;
|
||||
}
|
||||
}
|
||||
.value{
|
||||
position:absolute;
|
||||
height:0; margin-bottom: 0;
|
||||
transition:height,margin-bottom 0.5s ease-in-out;
|
||||
height:1px; margin-bottom: 0;
|
||||
transition:height 0.5s ease-in-out;
|
||||
background-color: #fff;
|
||||
overflow: hidden;
|
||||
p{
|
||||
font-size: 1em; padding: 0.5em;
|
||||
}
|
||||
}
|
||||
&:hover{
|
||||
.summary{background-color: #fff;}
|
||||
.value{
|
||||
height:400px; margin-bottom: 1em;
|
||||
height:700px;
|
||||
}
|
||||
}
|
||||
p{padding:0 0 1em; margin: 0;}
|
||||
|
||||
Reference in New Issue
Block a user