Theme the keyboard slider. #6

This commit is contained in:
Arpad Csanyi
2016-03-17 00:21:05 +01:00
parent bbd5aa60b4
commit a48582f1b0
2 changed files with 46 additions and 13 deletions

View File

@@ -167,8 +167,28 @@ ul {
}
}
.uhk {
max-width: 100%;
.keyboard-slider {
position: relative;
overflow: hidden;
width: 100%;
height: auto;
.uhk__layer-wrapper {
width: 100%;
height: auto;
text-align: center;
position: absolute;
left: 100%;
&.current {
left: 0;
}
.uhk {
max-width: 100%;
width: 98%;
}
}
}
.grip {
@@ -187,6 +207,12 @@ ul {
margin-top: -10px;
}
&.btn-primary {
&:before {
background-image: url(../images/grips/vertical.png);
}
}
&:hover {
&:before {
display: block;