amis2/packages/amis-ui/scss/components/form/_city.scss
2022-06-01 15:06:00 +08:00

34 lines
912 B
SCSS

.#{$ns}CityPicker {
.#{$ns}Select {
margin-right: var(--gap-xs);
margin-bottom: var(--gap-xs);
}
&-input {
outline: none;
vertical-align: top;
// margin-left: var(--gap-xs);
border: var(--Form-input-borderWidth) solid var(--Form-input-borderColor);
border-radius: var(--Form-input-borderRadius);
// height: var(--Form-input-height);
line-height: var(--Form-input-lineHeight);
padding: var(--Form-input-paddingY) var(--Form-input-paddingX);
font-size: var(--Form-input-fontSize);
&::placeholder {
color: var(--Form-input-placeholderColor);
user-select: none;
}
&:focus {
border-color: var(--Form-input-onFocused-borderColor);
box-shadow: var(--Form-input-boxShadow);
background: var(--Form-input-onFocused-bg);
}
}
}
.#{$ns}Form-item--inline > .#{$ns}Form-value > .#{$ns}CityPicker {
display: inline-block;
}