mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-04 21:19:01 +08:00
16e3efd619
* fix: useMobileUI接受位置修改 * fix:移动端禁用inline模式 * feat: 移动端城市选择器优化 * fix: 颜色选择器移动端禁止输入否则键盘和popup冲突 * fix: 弹出框高度调整 * fix: 去除标题 * fix: 禁止focus选中 * Update _picker-columns.scss * Update _picker-columns.scss Co-authored-by: zhangxulong <zhangxulong@baidu.com>
40 lines
787 B
SCSS
40 lines
787 B
SCSS
.#{$ns}TreeSelectControl {
|
|
position: relative;
|
|
|
|
> .#{$ns}TreeSelect-popover {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.#{$ns}TreeSelect {
|
|
@include input-text();
|
|
outline: none;
|
|
|
|
&.is-opened {
|
|
border-color: var(--Form-input-onFocused-borderColor);
|
|
box-shadow: var(--Form-input-boxShadow);
|
|
background: var(--Form-input-onFocused-bg);
|
|
}
|
|
|
|
&-popup {
|
|
height: px2rem(400px);
|
|
}
|
|
}
|
|
|
|
.#{$ns}TreeSelect-popover {
|
|
background: transparent;
|
|
border: none;
|
|
box-shadow: none;
|
|
|
|
> .#{$ns}Tree {
|
|
background: var(--TreeSelect-popover-bg);
|
|
border: var(--Form-input-borderWidth) solid
|
|
var(--Form-input-onFocused-borderColor);
|
|
padding: var(--gap-xs) var(--Form-input-paddingX);
|
|
border-radius: 0;
|
|
margin-top: -1px;
|
|
max-height: 400px;
|
|
overflow: auto;
|
|
}
|
|
}
|