| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308 | /* BEM support Func -------------------------- *//* Element Chalk Variables *//* Transition-------------------------- *//* Colors-------------------------- *//* 53a8ff *//* 66b1ff *//* 79bbff *//* 8cc5ff *//* a0cfff *//* b3d8ff *//* c6e2ff *//* d9ecff *//* ecf5ff *//* Link-------------------------- *//* Background-------------------------- *//* Border-------------------------- *//* Box-shadow-------------------------- *//* Fill-------------------------- *//* Font-------------------------- *//* Size-------------------------- *//* z-index-------------------------- *//* Disable base-------------------------- *//* Icon-------------------------- *//* Checkbox-------------------------- *//* Radio-------------------------- *//* Select-------------------------- *//* Alert-------------------------- *//* Message Box-------------------------- *//* Message-------------------------- *//* Notification-------------------------- *//* Input-------------------------- *//* Cascader-------------------------- *//* Group-------------------------- *//* Tab-------------------------- *//* Button-------------------------- *//* cascader-------------------------- *//* Switch-------------------------- *//* Dialog-------------------------- *//* Table-------------------------- *//* Pagination-------------------------- *//* Popover-------------------------- *//* Tooltip-------------------------- *//* Tag-------------------------- *//* Tree-------------------------- *//* Dropdown-------------------------- *//* Badge-------------------------- *//* Card--------------------------*//* Slider--------------------------*//* Steps--------------------------*//* MenuSlide--------------------------*//* Rate--------------------------*//* DatePicker--------------------------*//* Loading--------------------------*//* Scrollbar--------------------------*//* Carousel--------------------------*//* Collapse--------------------------*//* Transfer--------------------------*//* Header  --------------------------*//* Footer--------------------------*//* Main--------------------------*//* Break-point--------------------------*//* Break-points -------------------------- *//* Scrollbar -------------------------- *//* Placeholder -------------------------- *//* BEM -------------------------- *//* Element Chalk Variables *//* Transition-------------------------- *//* Colors-------------------------- *//* 53a8ff *//* 66b1ff *//* 79bbff *//* 8cc5ff *//* a0cfff *//* b3d8ff *//* c6e2ff *//* d9ecff *//* ecf5ff *//* Link-------------------------- *//* Background-------------------------- *//* Border-------------------------- *//* Box-shadow-------------------------- *//* Fill-------------------------- *//* Font-------------------------- *//* Size-------------------------- *//* z-index-------------------------- *//* Disable base-------------------------- *//* Icon-------------------------- *//* Checkbox-------------------------- *//* Radio-------------------------- *//* Select-------------------------- *//* Alert-------------------------- *//* Message Box-------------------------- *//* Message-------------------------- *//* Notification-------------------------- *//* Input-------------------------- *//* Cascader-------------------------- *//* Group-------------------------- *//* Tab-------------------------- *//* Button-------------------------- *//* cascader-------------------------- *//* Switch-------------------------- *//* Dialog-------------------------- *//* Table-------------------------- *//* Pagination-------------------------- *//* Popover-------------------------- *//* Tooltip-------------------------- *//* Tag-------------------------- *//* Tree-------------------------- *//* Dropdown-------------------------- *//* Badge-------------------------- *//* Card--------------------------*//* Slider--------------------------*//* Steps--------------------------*//* MenuSlide--------------------------*//* Rate--------------------------*//* DatePicker--------------------------*//* Loading--------------------------*//* Scrollbar--------------------------*//* Carousel--------------------------*//* Collapse--------------------------*//* Transfer--------------------------*//* Header  --------------------------*//* Footer--------------------------*//* Main--------------------------*//* Break-point--------------------------*/.el-switch {  display: inline-block;  position: relative;  font-size: 14px;  line-height: 20px;  height: 20px;  vertical-align: middle; }  .el-switch.is-disabled .el-switch__core,  .el-switch.is-disabled .el-switch__label {    cursor: not-allowed; }  .el-switch__label {    -webkit-transition: .2s;    transition: .2s;    height: 20px;    display: inline-block;    font-size: 14px;    font-weight: 500;    cursor: pointer;    vertical-align: middle;    color: #8b91a0; }    .el-switch__label.is-active {      color: #1b1e24; }    .el-switch__label--left {      margin-right: 10px; }    .el-switch__label--right {      margin-left: 10px; }    .el-switch__label * {      line-height: 1;      font-size: 14px;      display: inline-block; }  .el-switch__input {    position: absolute;    width: 0;    height: 0;    opacity: 0;    margin: 0; }    .el-switch__input:focus ~ .el-switch__core {      outline: 1px solid #1b1e24; }  .el-switch__core {    margin: 0;    display: inline-block;    position: relative;    width: 40px;    height: 20px;    border: 1px solid #d8dce5;    outline: none;    border-radius: 10px;    -webkit-box-sizing: border-box;    box-sizing: border-box;    background: #d8dce5;    cursor: pointer;    -webkit-transition: border-color .3s, background-color .3s;    transition: border-color .3s, background-color .3s;    vertical-align: middle; }    .el-switch__core .el-switch__button {      position: absolute;      top: 1px;      left: 1px;      border-radius: 100%;      -webkit-transition: -webkit-transform .3s;      transition: -webkit-transform .3s;      transition: transform .3s;      transition: transform .3s, -webkit-transform .3s;      width: 16px;      height: 16px;      background-color: #fff; }  .el-switch.is-checked .el-switch__core {    border-color: #1b1e24;    background-color: #1b1e24; }  .el-switch.is-disabled {    opacity: 0.6; }  .el-switch--wide .el-switch__label.el-switch__label--left span {    left: 10px; }  .el-switch--wide .el-switch__label.el-switch__label--right span {    right: 10px; }  .el-switch .label-fade-enter,  .el-switch .label-fade-leave-active {    opacity: 0; }
 |