mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
- remove scss-lint and sass-lint - add stylelint and stylelint-order packages and configuration - update all *.scss files to new syntax fixes #14805
47 lines
598 B
SCSS
47 lines
598 B
SCSS
@import "../../themes/ionic.globals";
|
|
|
|
|
|
// Slide
|
|
// --------------------------------------------------
|
|
|
|
ion-slide {
|
|
display: block;
|
|
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.slide-zoom {
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
}
|
|
|
|
.swiper-slide {
|
|
|
|
// Center slide text vertically
|
|
display: flex;
|
|
position: relative;
|
|
|
|
flex-shrink: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
font-size: 18px;
|
|
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.swiper-slide img {
|
|
width: auto;
|
|
max-width: 100%;
|
|
height: auto;
|
|
max-height: 100%;
|
|
}
|