updated carousel style
This commit is contained in:
parent
538b964bf9
commit
90f77e4060
3 changed files with 55 additions and 11 deletions
|
@ -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%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue