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
+18 -11
View File
@@ -100,8 +100,22 @@ ul {
color: #555; color: #555;
cursor: pointer; } cursor: pointer; }
.uhk { .keyboard-slider {
max-width: 100%; } position: relative;
overflow: hidden;
width: 100%;
height: auto; }
.keyboard-slider .uhk__layer-wrapper {
width: 100%;
height: auto;
text-align: center;
position: absolute;
left: 100%; }
.keyboard-slider .uhk__layer-wrapper.current {
left: 0; }
.keyboard-slider .uhk__layer-wrapper .uhk {
max-width: 100%;
width: 98%; }
.grip { .grip {
position: relative; } position: relative; }
@@ -116,14 +130,7 @@ ul {
top: 50%; top: 50%;
left: 7px; left: 7px;
margin-top: -10px; } margin-top: -10px; }
.grip.btn-primary:before {
background-image: url(../images/grips/vertical.png); }
.grip:hover:before { .grip:hover:before {
display: block; } display: block; }
.owl-carousel {
max-width: 991px;
margin: auto; }
.owl-carousel .item img {
display: block;
width: 100%;
height: auto; }
+28 -2
View File
@@ -167,8 +167,28 @@ ul {
} }
} }
.uhk { .keyboard-slider {
max-width: 100%; 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 { .grip {
@@ -187,6 +207,12 @@ ul {
margin-top: -10px; margin-top: -10px;
} }
&.btn-primary {
&:before {
background-image: url(../images/grips/vertical.png);
}
}
&:hover { &:hover {
&:before { &:before {
display: block; display: block;