2019-05-06 12:04:39 +08:00
|
|
|
@import '../../style/themes/index';
|
2018-12-07 16:17:45 +08:00
|
|
|
@import '../../style/mixins/index';
|
2019-09-28 11:31:28 +08:00
|
|
|
@import '../../tree/style/index';
|
2018-12-07 16:17:45 +08:00
|
|
|
@import '../../checkbox/style/mixin';
|
2016-04-27 20:44:36 +08:00
|
|
|
|
2019-09-28 11:31:28 +08:00
|
|
|
@tree-select-prefix-cls: ~'@{ant-prefix}-tree-select';
|
2018-12-07 16:17:45 +08:00
|
|
|
@select-tree-prefix-cls: ~'@{ant-prefix}-select-tree';
|
2016-01-28 15:29:29 +08:00
|
|
|
|
2019-09-28 11:31:28 +08:00
|
|
|
.antCheckboxFn(@checkbox-prefix-cls: ~'@{select-tree-prefix-cls}-checkbox');
|
2016-02-26 18:13:16 +08:00
|
|
|
|
2019-09-28 11:31:28 +08:00
|
|
|
.@{tree-select-prefix-cls} {
|
|
|
|
// ======================= Dropdown =======================
|
|
|
|
&-dropdown {
|
|
|
|
padding: @padding-xs (@padding-xs / 2) 0;
|
2019-04-15 10:52:00 +08:00
|
|
|
|
2020-01-02 19:10:16 +08:00
|
|
|
&-rtl {
|
|
|
|
direction: rtl;
|
|
|
|
}
|
2019-09-28 11:31:28 +08:00
|
|
|
// ======================== Tree ========================
|
|
|
|
.@{select-tree-prefix-cls} {
|
|
|
|
border-radius: 0;
|
|
|
|
|
|
|
|
&-list-holder-inner {
|
|
|
|
align-items: stretch;
|
2018-08-25 15:51:07 +08:00
|
|
|
|
2019-09-28 11:31:28 +08:00
|
|
|
.@{select-tree-prefix-cls}-treenode {
|
|
|
|
padding-bottom: @padding-xs;
|
|
|
|
|
|
|
|
.@{select-tree-prefix-cls}-node-content-wrapper {
|
|
|
|
flex: auto;
|
2018-08-25 15:51:07 +08:00
|
|
|
}
|
2018-12-07 16:17:45 +08:00
|
|
|
}
|
2015-12-31 14:38:35 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-05-08 16:05:36 +08:00
|
|
|
|
2019-09-28 11:31:28 +08:00
|
|
|
// ========================== Tree ==========================
|
|
|
|
.antTreeFn(@select-tree-prefix-cls);
|
2020-01-02 19:10:16 +08:00
|
|
|
|
|
|
|
// change switcher icon rotation in rtl direction
|
|
|
|
.@{select-tree-prefix-cls} {
|
|
|
|
// >>> Switcher
|
|
|
|
& &-switcher {
|
|
|
|
&_close {
|
|
|
|
.@{select-tree-prefix-cls}-switcher-icon {
|
|
|
|
svg {
|
|
|
|
.@{tree-select-prefix-cls}-dropdown-rtl & {
|
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|