Summary Files Commits Branches @commit @diff @stats
path: root / docs / dist / spectre-rtl.css
diff options
context:
space:
mode:
Commit38fd80e7a02a158dce1ba1edb4d6144e2325585a (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2018-11-25 16:48:28 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2018-11-25 16:48:28 +0800
Files5d0d52c669c6dc0de8f55997cc81ac9e95a0498d /docs/dist/spectre-rtl.css
Spectre-Dark-Gruvbox-38fd80e7a02a158dce1ba1edb4d6144e2325585a.tar
Spectre-Dark-Gruvbox-38fd80e7a02a158dce1ba1edb4d6144e2325585a.tar.gz
Spectre-Dark-Gruvbox-38fd80e7a02a158dce1ba1edb4d6144e2325585a.zip
Parentb058afc44ab1f2bc142fadf12df063dd56ed1f8a (diff)
Change Carousels image number to variable #428
1 files changed, 24 insertions, 16 deletions
-rw-r--r--docs/dist/spectre-rtl.css40
diff --git a/docs/dist/spectre-rtl.css b/docs/dist/spectre-rtl.css
index 0cd57a0..bb49ae3 100644
--- a/docs/dist/spectre-rtl.css
+++ b/docs/dist/spectre-rtl.css
@@ -3967,6 +3967,30 @@ a.text-error:visited {
white-space: nowrap;
}
+.carousel .carousel-locator:nth-of-type(1):checked ~ .carousel-container .carousel-item:nth-of-type(1),
+.carousel .carousel-locator:nth-of-type(2):checked ~ .carousel-container .carousel-item:nth-of-type(2),
+.carousel .carousel-locator:nth-of-type(3):checked ~ .carousel-container .carousel-item:nth-of-type(3),
+.carousel .carousel-locator:nth-of-type(4):checked ~ .carousel-container .carousel-item:nth-of-type(4),
+.carousel .carousel-locator:nth-of-type(5):checked ~ .carousel-container .carousel-item:nth-of-type(5),
+.carousel .carousel-locator:nth-of-type(6):checked ~ .carousel-container .carousel-item:nth-of-type(6),
+.carousel .carousel-locator:nth-of-type(7):checked ~ .carousel-container .carousel-item:nth-of-type(7),
+.carousel .carousel-locator:nth-of-type(8):checked ~ .carousel-container .carousel-item:nth-of-type(8) {
+ animation: carousel-slidein .75s ease-in-out 1;
+ opacity: 1;
+ z-index: 100;
+}
+
+.carousel .carousel-locator:nth-of-type(1):checked ~ .carousel-nav .nav-item:nth-of-type(1),
+.carousel .carousel-locator:nth-of-type(2):checked ~ .carousel-nav .nav-item:nth-of-type(2),
+.carousel .carousel-locator:nth-of-type(3):checked ~ .carousel-nav .nav-item:nth-of-type(3),
+.carousel .carousel-locator:nth-of-type(4):checked ~ .carousel-nav .nav-item:nth-of-type(4),
+.carousel .carousel-locator:nth-of-type(5):checked ~ .carousel-nav .nav-item:nth-of-type(5),
+.carousel .carousel-locator:nth-of-type(6):checked ~ .carousel-nav .nav-item:nth-of-type(6),
+.carousel .carousel-locator:nth-of-type(7):checked ~ .carousel-nav .nav-item:nth-of-type(7),
+.carousel .carousel-locator:nth-of-type(8):checked ~ .carousel-nav .nav-item:nth-of-type(8) {
+ color: #f7f8f9;
+}
+
.carousel {
background: #f7f8f9;
display: block;
@@ -4026,22 +4050,6 @@ a.text-error:visited {
right: 1rem;
}
-.carousel .carousel-locator:nth-of-type(1):checked ~ .carousel-container .carousel-item:nth-of-type(1),
-.carousel .carousel-locator:nth-of-type(2):checked ~ .carousel-container .carousel-item:nth-of-type(2),
-.carousel .carousel-locator:nth-of-type(3):checked ~ .carousel-container .carousel-item:nth-of-type(3),
-.carousel .carousel-locator:nth-of-type(4):checked ~ .carousel-container .carousel-item:nth-of-type(4) {
- animation: carousel-slidein .75s ease-in-out 1;
- opacity: 1;
- z-index: 100;
-}
-
-.carousel .carousel-locator:nth-of-type(1):checked ~ .carousel-nav .nav-item:nth-of-type(1),
-.carousel .carousel-locator:nth-of-type(2):checked ~ .carousel-nav .nav-item:nth-of-type(2),
-.carousel .carousel-locator:nth-of-type(3):checked ~ .carousel-nav .nav-item:nth-of-type(3),
-.carousel .carousel-locator:nth-of-type(4):checked ~ .carousel-nav .nav-item:nth-of-type(4) {
- color: #f7f8f9;
-}
-
.carousel .carousel-nav {
bottom: .4rem;
display: flex;