updated carousel style

This commit is contained in:
Rijn 2017-01-16 17:37:28 -06:00
parent 538b964bf9
commit 90f77e4060
3 changed files with 55 additions and 11 deletions

View file

@ -29,6 +29,8 @@
display: block;
overflow: hidden;
z-index: 1;
}
&-item {
@ -37,4 +39,42 @@
min-height: 1px;
display: block;
}
&-arrow {
position: absolute;
top: 0;
bottom: 0;
height: 100%;
text-align: center;
& > * {
display: inline-block;
vertical-align: middle;
}
.placeholder{
overflow: hidden;
width: 0;
min-height: inherit;
height: inherit;
}
z-index: 3;
&.left {
left: 0;
}
&.right {
right: 0;
}
width: 10%;
cursor: pointer;
&:hover {
background: fade(#000, 30%);
}
}
}