Runway 1.0.1
This commit is contained in:
1 parent
dcf819146b
commit
ce217fc952
259 files changed
+22226
-206
No files matched your search
@@ -0,0 +1,71 @@
|
||||
/* Runway Carousel Manager — styles. Served at /__plugin/carousel-manager/static/carousel.css.
|
||||
Neutral defaults so it inherits the site's look; override any .rw-carousel* rule from your own CSS. */
|
||||
|
||||
.rw-carousel {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
max-width: 100%;
|
||||
border-radius: .5rem;
|
||||
background: #000;
|
||||
}
|
||||
|
||||
.rw-carousel-track {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.rw-carousel-slide {
|
||||
margin: 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.rw-carousel-slide.is-active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.rw-carousel-img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.rw-carousel-caption {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
margin: 0;
|
||||
padding: .75rem 1rem;
|
||||
color: #fff;
|
||||
background: linear-gradient(transparent, rgba(0, 0, 0, .6));
|
||||
font: 500 1rem/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
||||
}
|
||||
|
||||
.rw-carousel-link {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.rw-carousel-prev,
|
||||
.rw-carousel-next {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
border: 0;
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
border-radius: 50%;
|
||||
background: rgba(0, 0, 0, .4);
|
||||
color: #fff;
|
||||
font-size: 1.5rem;
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.rw-carousel-prev { left: .5rem; }
|
||||
.rw-carousel-next { right: .5rem; }
|
||||
|
||||
.rw-carousel-prev:hover,
|
||||
.rw-carousel-next:hover {
|
||||
background: rgba(0, 0, 0, .65);
|
||||
}
|
||||
Reference in new issue
Block a user