amis/scss/components/form/_city.scss

34 lines
912 B
SCSS
Raw Normal View History

2019-05-23 16:08:53 +08:00
.#{$ns}CityPicker {
2020-03-26 19:08:22 +08:00
.#{$ns}Select {
margin-right: var(--gap-xs);
margin-bottom: var(--gap-xs);
2019-12-06 09:58:08 +08:00
}
&-input {
outline: none;
2020-03-26 19:55:42 +08:00
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);
2019-05-23 16:08:53 +08:00
2019-12-06 09:58:08 +08:00
&::placeholder {
color: var(--Form-input-placeholderColor);
2019-12-06 09:58:08 +08:00
user-select: none;
}
2019-05-23 16:08:53 +08:00
2019-12-06 09:58:08 +08:00
&:focus {
border-color: var(--Form-input-onFocused-borderColor);
box-shadow: var(--Form-input-boxShadow);
background: var(--Form-input-onFocused-bg);
2019-05-23 16:08:53 +08:00
}
2019-12-06 09:58:08 +08:00
}
}
.#{$ns}Form-item--inline > .#{$ns}Form-value > .#{$ns}CityPicker {
display: inline-block;
}