﻿/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/*@iconfont-css-prefix    : iconfont;*/
/*@button-padding-sm: 3px @padding-xs - 1px;*/
/*@button-group-border: @primary-5;*/
/*@label-height: 24px;
@label-line-height: 24px;*/
/*@vgmenu-item-highlight-color: #fff;*/
/*
    用到的变量
    @checkbox-height
    @checkbox-line-height
    @checkbox-color
    @checkbox-size
    @{vango-disabled}
*/
.l-checkbox-wrapper {
  height: 20px;
  line-height: 20px;
  cursor: pointer;
  display: inline-block;
  /*display:flex;*/
  /*justify-content:center;
    align-items:center;*/
}
.l-checkbox {
  white-space: nowrap;
  cursor: pointer;
  outline: none;
  display: inline-block;
  line-height: 1;
  position: relative;
  vertical-align: text-bottom;
}
.l-checkbox:not(.l-box-disabled):hover .l-checkbox-inner {
  border-color: #528BF2;
}
.l-checkbox-input {
  position: absolute;
  left: 0;
  z-index: 1;
  cursor: pointer;
  opacity: 0;
  filter: alpha(opacity=0);
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.l-checkbox-focus .l-checkbox-inner {
  border: 1px solid #528BF2;
  box-sizing: border-box;
}
.l-checkbox-focus .l-checkbox-checked .l-checkbox-inner {
  box-sizing: border-box;
  background: #6198FE;
}
.l-checkbox-inner {
  position: relative;
  top: -1px;
  left: 0;
  display: block;
  width: 16px;
  height: 16px;
  border: 1px solid #94A9BA;
  border-radius: 2px;
  background-color: #fff;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.l-checkbox-inner:after {
  -webkit-transform: rotate(45deg) scale(0);
  -ms-transform: rotate(45deg) scale(0);
  transform: rotate(45deg) scale(0);
  position: absolute;
  display: table;
  -webkit-transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6);
  transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6);
  content: " ";
  left: 4px;
  top: 0px;
  width: 6.66666667px;
  height: 10.66666667px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
}
.l-checkbox-checked .l-checkbox-inner:after {
  -webkit-transform: rotate(45deg) scale(1);
  -ms-transform: rotate(45deg) scale(1);
  transform: rotate(45deg) scale(1);
  position: absolute;
  display: table;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  content: " ";
  -webkit-transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
  transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
}
.l-checkbox-checked:not(.l-box-disabled):hover .l-checkbox-inner {
  background: #6198FE;
}
.l-checkbox-checked .l-checkbox-inner {
  background-color: #528BF2;
  border-color: #528BF2;
}
.l-checkbox-indeterminate .l-checkbox-inner:after {
  content: ' ';
  -webkit-transform: translate(-50%, -50%) scale(1);
  -ms-transform: translate(-50%, -50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
  border: 0;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  background-color: #528BF2;
  opacity: 1;
}
.l-checkboxlist-table .l-checkbox-text {
  margin-left: 5px;
}
input[type=checkbox]:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
  border-color: #528BF2;
}
/*
    禁用
*/
.l-disabled .l-checkbox-input,
.l-disabled .l-checkbox:hover .l-checkbox-inner {
  cursor: not-allowed;
}
.l-disabled .l-checkbox-inner {
  background-color: #EFEFEF;
  border-color: #CCCED3;
}
.l-disabled .l-checkbox-checked .l-checkbox-inner:after {
  border-color: #CCCED3;
}