You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

167 lines
3.4 KiB

body{
font-family: Microsoft YaHei UI;
font-size: 14px;
}
/* button==== start */
.el-button{
width: 144px;
height: 46px;
font-family: Microsoft YaHei UI;
font-size: 14px;
letter-spacing: 0.08em;
display: flex;
align-items: center;
justify-content: center;
transition: all .3s;
}
.el-button--normal{
color: #626573;
}
.el-button--mild{
background: #FFFFFF;
border: 1px solid #006AFF;
color: #006AFF;
}
.el-button--primary,.el-button--success,.el-button--info,.el-button--warning,.el-button--danger{
color: #fff !important;
}
.el-button--medium{//中等按钮
width: 97px;
height: 33px;
font-size: 14px;
line-height: 14px;
span{
height: 14px;
}
}
.el-button--small{//小的按钮
width: 80px;
height: 32px;
font-size: 12px;
}
.el-button--mini{ //迷你按钮
width: 80px;
height: 28px;
font-size: 12px;
}
.el-button--reverseMild{
background: #E8F0FE;
color: #006AFF;
border: none;
}
.el-button--reverseMild:hover{
border-color: #F2F7FF !important;
background-color:#F2F7FF !important;
}
.el-button--reverseMild.is-disabled, .el-button--reverseMild.is-disabled:hover{
color: #006AFF;
border-color: #E8F0FE;
background-color:#E8F0FE;
opacity: .7;
}
.el-button--mild.is-disabled, .el-button--mild.is-disabled:hover{
color: #006AFF;
opacity: .7;
border-color: #006AFF;
}
/* button==== end */
// radio ---start
.el-radio__input.is-checked .el-radio__inner::after {
content: ''; /* 清空默认的伪元素内容 */
width: 14px;
height: 14px;
background-image: url('../../assets/radio_checked.svg'); /* 使用你的自定义图标 */
background-size: contain;
background-repeat: no-repeat;
}
.el-radio__label{
font-weight: normal;
}
// radio ---end
// input ---start
.el-input{
border-radius: 2px;
border: 1px solid transparent;
}
.el-input:focus-within{
transition: all .5s;
outline: 3px solid #D8E9FA;
border-color: #006AFF !important;
}
.is-error .hoverclass{
border-color: transparent !important;
}
.is-error .el-input:focus-within{
outline: none !important;
border-color: transparent !important;
}
.el-input__inner{
height: 100%;
padding: 10px 12px;
border-radius: 2px;
}
.el-input__prefix{
display: flex;
align-items: center;
left: 12px;
cursor: pointer;
}
.el-input__suffix{
display: flex;
align-items: center;
right: 12px;
cursor: pointer;
}
.el-input__inner:focus{
border-color: transparent;
}
.el-input__inner:hover{
border-color: transparent;
}
.el-input--prefix .el-input__inner{
padding-left: 36px;
}
.el-input--suffix .el-input__inner{
padding-right: 36px;
}
.el-input.is-disabled .el-input__inner{
background: #F6F7FA !important;
border-color: #DFE2E6 !important;
color: #BABDC2 !important;
}
.hoverclass{
border-color: #006AFF !important;
transition: all .5s;
}
// input ---end
// select start
.el-select:hover .el-input__inner{
transition: all .5s;
border-color: transparent;
}
.el-select .el-input.is-focus .el-input__inner{
border-color: transparent;
transition: all .5s;
}
// select end
// textarea start
.el-textarea__inner{
padding: 10px 12px;
border-radius: 2px;
}
.el-textarea__inner:hover{
border-color: #006AFF;
}
.el-textarea__inner:focus{
transition: all .5s;
outline: 3px solid #D8E9FA;
}
// textarea end