v1.0.10
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
/* slider.css - 滑块验证样式 */
|
||||
.slider-box {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 42px;
|
||||
background: #eef1f6;
|
||||
border: 1px solid #d9dee8;
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
.slider-bg {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 50px;
|
||||
height: 100%;
|
||||
background: #7ac243;
|
||||
opacity: .45;
|
||||
}
|
||||
.slider-text {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
line-height: 42px;
|
||||
text-align: center;
|
||||
font-size: 13px;
|
||||
color: #8a94a6;
|
||||
z-index: 2;
|
||||
pointer-events: none;
|
||||
}
|
||||
.slider-text.slider-success {
|
||||
color: #3d8b1b;
|
||||
font-weight: bold;
|
||||
}
|
||||
.slider-btn {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 50px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
text-align: center;
|
||||
background: #fff;
|
||||
border: 1px solid #d9dee8;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 18px;
|
||||
color: #5a6472;
|
||||
z-index: 3;
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,.15);
|
||||
}
|
||||
.slider-btn:active {
|
||||
background: #f2f6fd;
|
||||
}
|
||||
Reference in New Issue
Block a user