This commit is contained in:
Bachir Soussi Chiadmi
2015-03-31 16:55:04 +02:00
parent 767d158bec
commit 4707c2f6ca
3 changed files with 166 additions and 119 deletions
+25 -13
View File
@@ -487,7 +487,7 @@ div.messages{
.field-name-field-partie{clear:both; padding-top:1em;}
$shadow-size:3.5em;
$shadow-size:3em;
.field-name-field-vignette{
position:relative;
float:left;
@@ -499,22 +499,25 @@ div.messages{
background-size: contain;
// background-repeat: no-repeat;
// background-origin: center center;
img{
width:65px; height:65px;
}
}
.field-type-text{ min-width:16em; }
.field-name-field-titre{
font-family: "epflul";
font-size:1.6em;
font-size:1.4em;
line-height:1.1;
}
.field-name-field-sous-titre{
font-family: "epflul";
font-size:1.4em;
font-size:1.2em;
line-height:1.2;
}
.field-name-field-description{
// font-family: "epf-lul";
font-size:0.88em;
line-height:1.2;
line-height:1;
}
.line{
@@ -664,26 +667,27 @@ div.messages{
opacity:0.4;
}
.node>.field{
.node>.field, .node>.block{
position:absolute;
}
.field-type-text-long{
.field-type-text-long, .field-type-text{
background-color: rgba(255,255,255,0.9);
width:23em; padding:1em;
min-height:5em; width:19em; padding:1em;
z-index:10;
cursor:move;
.field-label{
text-transform: uppercase;
font-family: "epflulb";
font-size:1.5em;
font-size:1.2em;
}
h2{
font-size:0.88em;
font-size:0.80em;
}
p{
font-size: 0.88em;
font-size: 0.80em;
margin-bottom:0.5em;
}
}
@@ -696,6 +700,7 @@ div.messages{
line-height:1;
margin-bottom: 1em;
position:relative;
font-size: 0.80em;
&:before{
content:"?";
position:absolute;
@@ -720,10 +725,11 @@ div.messages{
display:inline-block;
.mask{
position:absolute;
width:100%; height:100%;
width:100%; height:85%;
top:0; left:0;
z-index:10;
cursor:move;
// background-color: rgba(150,250,250,0.2);
}
}
}
@@ -816,10 +822,15 @@ div.messages{
position:fixed;
bottom:0; right:20px;
z-index:900;
body.chapter-displayed &{
display:none;
}
.block{
display:inline-block;
vertical-align: top;
font-size:0.693em;
font-size:0.5em;
p{font-size: inherit;}
a{color:#000;}
}
@@ -837,6 +848,7 @@ div.messages{
font-family: "epflulb";
color:#000;
text-transform: uppercase;
font-size:0.6em;
}
}
}
@@ -856,7 +868,7 @@ div.messages{
#loader{
position:absolute;
top:50%; left:50%;
width:120px; height:10px;
width:120px; height:4px;
margin-left:-60px; margin-top:-5px;
background: transparent url(../assets/img/loader.gif) no-repeat center center;