fix 修复部分样式

This commit is contained in:
2021-06-14 10:33:28 +08:00
parent 39b46e7959
commit f4cb540034
3 changed files with 36 additions and 37 deletions

View File

@@ -43,10 +43,9 @@
.ant-input,
.ant-input-number,
.ant-mentions,
.ant-select-selection,
.ant-select-selector,
.ant-input-group-addon,
.ant-cascader-picker,
.ant-cascader-input.ant-input {
.ant-cascader-picker {
z-index: 1;
text-align: left;
@@ -115,45 +114,26 @@
}
}
}
.ant-form-item-control-wrapper {
.ant-form-item-control {
flex: 0 0 61.8%;
width: 61.8%;
min-width: 220px;
}
.yo-form--fluid {
.ant-form-item-control-wrapper {
.ant-form-item-control {
flex: 0 0 100%;
width: 100%;
}
}
.yo-form--short {
.ant-form-item-control-wrapper {
.ant-form-item-control {
flex: 0 0 38.2%;
width: 38.2%;
}
}
.ant-form-explain {
font-size: @font-size-base - 1px;
margin-top: @padding-xs;
margin-bottom: @padding-xxs;
margin-left: -61.8%;
transition: none;
animation: none;
text-align: left;
opacity: 1;
color: fade(darken(@primary-color, 38.2%), 61.8%);
}
.has-error {
.ant-form-explain {
color: @error-color;
}
}
// 上下布局
.yo-form--vertical {
display: block;
@@ -305,16 +285,13 @@
line-height: 1.5;
margin-right: @padding-xs;
padding-top: @padding-sm - 2px;
white-space: normal;
}
}
.ant-form-item-required {
&::before {
margin-top: -4px;
content: '';
content: '' !important;
vertical-align: middle;
border-top: 4px solid transparent;

View File

@@ -3,12 +3,12 @@
width: 7px;
height: 7px;
background-color: lighten(@primary-color, 35%);
background-color: fade(@black, 10%);
}
::-webkit-scrollbar-thumb {
border-radius: @border-radius-base;
background-color: fade(@primary-color, 70%);
background-color: fade(@black, 30%);
}
::-webkit-scrollbar-thumb:active {
background-color: @primary-color;
background-color: fade(@black, 50%);
}