@ttk/component
Version:
ttk组件库
81 lines (80 loc) • 1.69 kB
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.fadeSlider {
width: 100%;
height: 100%;
position: relative;
font-family: "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.fadeSlider .sliderContainer {
width: 100%;
height: 100%;
position: relative;
z-index: 0;
}
.fadeSlider .sliderContainer .imgBox {
width: 100%;
height: 100%;
position: absolute;
opacity: 0;
cursor: pointer;
}
.fadeSlider .lastPage {
width: 20px;
height: 30px;
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
cursor: pointer;
z-index: 100;
}
.fadeSlider .lastPage i {
font-size: 20px;
font-style: normal;
color: rgba(255, 255, 255, 0.6);
}
.fadeSlider .lastPage i:hover {
color: #ffffff;
}
.fadeSlider .nextPage {
width: 20px;
height: 30px;
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
cursor: pointer;
z-index: 100;
}
.fadeSlider .nextPage i {
font-size: 20px;
font-style: normal;
color: rgba(255, 255, 255, 0.6);
}
.fadeSlider .nextPage i:hover {
color: #ffffff;
}
.fadeSlider .navDot {
position: absolute;
bottom: 3px;
left: 50%;
transform: translateX(-50%);
z-index: 10;
}
.fadeSlider .navDot span {
display: inline-block;
width: 5px;
height: 5px;
border-radius: 5px;
background: rgba(255, 255, 255, 0.6);
cursor: pointer;
}
.fadeSlider .navDot .middleDot {
margin: 0 10px;
}
.fadeSlider .navDot span.highlight {
background: #ffffff;
}