Hover effect on the screenshot on dashboard

This commit is contained in:
Gaël Métais
2015-02-05 23:17:15 +01:00
parent 79d0898fb5
commit 47f0e1f1bf
4 changed files with 38 additions and 0 deletions
+17
View File
@@ -29,6 +29,23 @@
font-weight: bold;
margin: 0.5em 0 1em;
}
.summary .globalScore .screenshotWrapper:hover {
opacity: 0.75;
}
.summary .globalScore .screenshotWrapper:hover:after {
position: absolute;
width: 1.25em;
height: 1.25em;
top: 0.7em;
left: 1.55em;
font-size: 3em;
color: #FFF;
background: #000;
border-radius: 0.2em;
text-align: center;
content: "+";
opacity: 0.6;
}
.summary .notations {
display: table;
width: 80%;
+1
View File
@@ -146,6 +146,7 @@ h1 span {
width: 12em;
height: 6.75em;
overflow: scroll;
position: relative;
}
.screenshotWrapper.desktop .screenshotImage {
width: 100%;
+19
View File
@@ -32,6 +32,25 @@
font-weight: bold;
margin: 0.5em 0 1em;
}
.screenshotWrapper:hover {
opacity: 0.75;
&:after {
position: absolute;
width: 1.25em;
height: 1.25em;
top: 0.7em;
left: 1.55em;
font-size: 3em;
color: #FFF;
background: #000;
border-radius: 0.2em;
text-align: center;
content: "+";
opacity: 0.6;
}
}
}
.summary .notations {
+1
View File
@@ -148,6 +148,7 @@ h1 span {
width: 12em;
height: 6.75em;
overflow: scroll;
position: relative;
}
.screenshotImage {