amis2/scss/components/form/_city.scss
2019-05-23 16:08:53 +08:00

31 lines
900 B
SCSS

.#{$ns}CityPicker {
.#{$ns}Select + .#{$ns}Select {
margin-left: $gap-xs;
}
&-input {
outline: none;
vertical-align: middle;
margin-left: $gap-xs;
border: $Form-input-borderWidth solid $Form-input-borderColor;
border-radius: $Form-input-borderRadius;
// height: $Form-input-height;
line-height: $Form-input-lineHeight;
padding: $Form-input-paddingY $Form-input-paddingX;
font-size: $Form-input-fontSize;
&::placeholder {
color: $Form-input-placeholderColor;
user-select: none;
}
&:focus {
border-color: $Form-input-onFocused-borderColor;
box-shadow: $Form-input-boxShadow;
@if $Form-input-onFocused-bg !=$Form-input-bg {
background-color: $Form-input-onFocused-bg;
}
}
}
}