.el-checkbox-button{
|
position: relative;
|
display: inline-block;
|
}
|
.el-checkbox-button.is-checked{}
|
.el-checkbox-button.is-checked .el-checkbox-button__inner{
|
color: transparent;
|
background-color: #20a0ff;
|
border-color: #20a0ff;
|
box-shadow: -1px 0 0 0 #20a0ff;
|
}
|
.el-checkbox-button.is-disabled{}
|
.el-checkbox-button.is-disabled .el-checkbox-button__inner{
|
color: #198CA7;
|
cursor: not-allowed;
|
background-image: none;
|
background-color: #194B5B;
|
border-color: #198CA7;
|
box-shadow: none;
|
}
|
.el-checkbox-button.is-focus{}
|
.el-checkbox-button.is-focus .el-checkbox-button__inner{
|
border-color: #20a0ff;
|
}
|
.el-checkbox-button:first-child .el-checkbox-button__inner{
|
border-left: 1px solid #198CA7;
|
border-radius: 4px 0 0 4px;
|
box-shadow: none !important;
|
}
|
.el-checkbox-button:last-child .el-checkbox-button__inner{
|
border-radius: 0 4px 4px 0;
|
}
|
.el-checkbox-button__inner{
|
display: inline-block;
|
line-height: 1;
|
white-space: nowrap;
|
vertical-align: middle;
|
cursor: pointer;
|
background: transparent;
|
border: 1px solid #198CA7;
|
border-left: 0;
|
color: rgb(31, 45, 61);
|
-webkit-appearance: none;
|
text-align: center;
|
box-sizing: border-box;
|
outline: none;
|
margin: 0;
|
position: relative;
|
cursor: pointer;
|
transition: all .3s cubic-bezier(.645,.045,.355,1);
|
-moz-user-select: none;
|
-webkit-user-select: none;
|
-ms-user-select: none;
|
padding: 10px 15px;
|
font-size: 14px;
|
border-radius: 0;
|
}
|
.el-checkbox-button__inner:hover{
|
color: #20a0ff;
|
}
|
.el-checkbox-button__inner [class*="el-icon-"]{
|
line-height: 0.9;
|
}
|
.el-checkbox-button__inner [class*="el-icon-"] + span{
|
margin-left: 5px;
|
}
|
.el-checkbox-button__original{
|
opacity: 0;
|
outline: none;
|
position: absolute;
|
margin: 0;
|
visibility: hidden;
|
left: -999px;
|
}
|
.el-checkbox-button--large{}
|
.el-checkbox-button--large .el-checkbox-button__inner{
|
padding: 11px 19px;
|
font-size: 16px;
|
border-radius: 0;
|
}
|
.el-checkbox-button--small{}
|
.el-checkbox-button--small .el-checkbox-button__inner{
|
padding: 7px 9px;
|
font-size: 12px;
|
border-radius: 0;
|
}
|
.el-checkbox-button--mini{}
|
.el-checkbox-button--mini .el-checkbox-button__inner{
|
padding: 4px 4px;
|
font-size: 12px;
|
border-radius: 0;
|
}
|