65 lines
1.5 KiB
CSS
Executable File
65 lines
1.5 KiB
CSS
Executable File
input[type=range] {
|
|
width: 300px; }
|
|
|
|
ul[rn-carousel] {
|
|
overflow: hidden;
|
|
padding: 0;
|
|
white-space: nowrap;
|
|
position: relative;
|
|
-webkit-perspective: 1000px;
|
|
-ms-perspective: 1000px;
|
|
perspective: 1000px;
|
|
-ms-touch-action: pan-y;
|
|
touch-action: pan-y; }
|
|
ul[rn-carousel] > li {
|
|
color: black;
|
|
-webkit-backface-visibility: hidden;
|
|
-ms-backface-visibility: hidden;
|
|
backface-visibility: hidden;
|
|
overflow: visible;
|
|
vertical-align: top;
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
white-space: normal;
|
|
padding: 0;
|
|
margin: 0;
|
|
list-style-type: none;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: inline-block; }
|
|
|
|
/* prevent flickering when moving buffer */
|
|
ul[rn-carousel-buffered] > li {
|
|
display: none; }
|
|
|
|
ul[rn-carousel-transition="hexagon"] {
|
|
overflow: visible; }
|
|
|
|
/* indicators */
|
|
div.rn-carousel-indicator span {
|
|
cursor: pointer;
|
|
color: #666; }
|
|
div.rn-carousel-indicator span.active {
|
|
color: white; }
|
|
|
|
/* prev/next controls */
|
|
.rn-carousel-control {
|
|
-webkit-transition: opacity 0.2s ease-out;
|
|
transition: opacity 0.2s ease-out;
|
|
font-size: 2rem;
|
|
position: absolute;
|
|
top: 40%;
|
|
opacity: 0.75;
|
|
cursor: pointer; }
|
|
.rn-carousel-control:hover {
|
|
opacity: 1; }
|
|
.rn-carousel-control.rn-carousel-control-prev {
|
|
left: 0.5em; }
|
|
.rn-carousel-control.rn-carousel-control-prev:before {
|
|
content: "<"; }
|
|
.rn-carousel-control.rn-carousel-control-next {
|
|
right: 0.5em; }
|
|
.rn-carousel-control.rn-carousel-control-next:before {
|
|
content: ">"; }
|