fix up arrow position

This commit is contained in:
Hakim El Hattab 2017-05-18 09:42:01 +02:00
parent d770f32bb9
commit a5e175d59f
2 changed files with 6 additions and 6 deletions

View File

@ -314,7 +314,7 @@ body {
-webkit-animation: bounce-right 2s 50 both ease-out;
animation: bounce-right 2s 50 both ease-out; }
.reveal .controls .navigate-up {
right: 1.4em;
right: 3.2em;
bottom: 6.4em;
-webkit-transform: translateY(-10px);
transform: translateY(-10px); }
@ -344,12 +344,12 @@ body {
visibility: hidden; }
.reveal .controls .enabled {
visibility: visible;
opacity: 0.8;
opacity: 0.9;
cursor: pointer;
-webkit-transform: none;
transform: none; }
.reveal .controls .enabled.fragmented {
opacity: 0.4; }
opacity: 0.5; }
.reveal .controls .enabled:hover,
.reveal .controls .enabled.fragmented:hover {
opacity: 1; }

View File

@ -355,7 +355,7 @@ $controlArrowThickness: 0.5em;
}
.navigate-up {
right: $controlArrowSpacing;
right: $controlArrowSpacing + $controlArrowSize/2;
bottom: $controlArrowSpacing*2 + $controlArrowSize;
transform: translateY( -10px );
@ -401,7 +401,7 @@ $controlArrowThickness: 0.5em;
// Any control button that can be clicked is "enabled"
.enabled {
visibility: visible;
opacity: 0.8;
opacity: 0.9;
cursor: pointer;
transform: none;
}
@ -409,7 +409,7 @@ $controlArrowThickness: 0.5em;
// Any control button that leads to showing or hiding
// a fragment
.enabled.fragmented {
opacity: 0.4;
opacity: 0.5;
}
.enabled:hover,