Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[muzi] update react-swift-slider lib ✊
- Loading branch information
Showing
12 changed files
with
71 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
.dot { | ||
.swift-slider-dot { | ||
width: 0.5rem; | ||
height: 0.5rem; | ||
border-radius: 20px; | ||
margin: 0 1rem; | ||
cursor: pointer; } | ||
|
||
/*# sourceMappingURL=react-swift-dot.css.map */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.dot { | ||
.swift-slider-dot { | ||
width: 0.5rem; | ||
height: 0.5rem; | ||
border-radius: 20px; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 20 additions & 24 deletions
44
lib/react-swift-slider/assets/sass/react-swift-slider.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,28 @@ | ||
.container { | ||
.swift-slider-container { | ||
position: relative; | ||
height: 450px; } | ||
@media (max-width: 600px) { | ||
.container { | ||
.swift-slider-container { | ||
height: 250px; } } | ||
.swift-slider-container .swift-slider-slides { | ||
position: relative; | ||
padding: 0; | ||
margin: 0; | ||
list-style: none; } | ||
@media (max-width: 600px) { | ||
.swift-slider-container .swift-slider-slides { | ||
height: 250px; } } | ||
.swift-slider-container .swift-slider-dots { | ||
list-style: none; | ||
margin: 1.7rem 0; | ||
padding: 0; | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: center; } | ||
@media (max-width: 600px) { | ||
.swift-slider-container .swift-slider-dots { | ||
margin: 1rem 0; } } | ||
|
||
.row { | ||
display: flex; | ||
flex-direction: row; } | ||
|
||
.slides { | ||
position: relative; | ||
padding: 0; | ||
margin: 0; | ||
list-style: none; } | ||
@media (max-width: 600px) { | ||
.slides { | ||
height: 250px; } } | ||
|
||
.dots { | ||
list-style: none; | ||
margin: 1.7rem 0; | ||
padding: 0; | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: center; } | ||
@media (max-width: 600px) { | ||
.dots { | ||
margin: 1rem 0; } } | ||
|
||
/*# sourceMappingURL=react-swift-slider.css.map */ |
44 changes: 23 additions & 21 deletions
44
lib/react-swift-slider/assets/sass/react-swift-slider.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,36 @@ | ||
.container { | ||
.swift-slider-container { | ||
position: relative; | ||
height: 450px; | ||
@media (max-width: 600px) { | ||
height: 250px; | ||
} | ||
|
||
.swift-slider-slides { | ||
position: relative; | ||
padding: 0; | ||
margin: 0; | ||
list-style: none; | ||
@media (max-width: 600px) { | ||
height: 250px; | ||
} | ||
} | ||
|
||
.swift-slider-dots { | ||
list-style: none; | ||
margin: 1.7rem 0; | ||
padding: 0; | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: center; | ||
@media (max-width: 600px) { | ||
margin: 1rem 0; | ||
} | ||
} | ||
} | ||
|
||
.row { | ||
display: flex; | ||
flex-direction: row | ||
} | ||
|
||
.slides { | ||
position: relative; | ||
padding: 0; | ||
margin: 0; | ||
list-style: none; | ||
@media (max-width: 600px) { | ||
height: 250px; | ||
} | ||
} | ||
|
||
.dots { | ||
list-style: none; | ||
margin: 1.7rem 0; | ||
padding: 0; | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: center; | ||
@media (max-width: 600px) { | ||
margin: 1rem 0; | ||
} | ||
} |