diff --git a/style/components/tree.less b/style/components/tree.less index aac2f3428b..ce27929d13 100644 --- a/style/components/tree.less +++ b/style/components/tree.less @@ -11,7 +11,7 @@ font-weight: bold; position: absolute; top: 10px; - right: 4px; + right: 3px; color: #666; transition: transform .3s ease; } @@ -38,9 +38,8 @@ } &.drag-over { > a[draggable] { - background-color: #316ac5; + background-color: @primary-color; color: white; - border: 1px #316ac5 solid; opacity: 0.8; } } @@ -66,7 +65,7 @@ } a { display: inline-block; - padding: 1px 4px; + padding: 1px 5px; border-radius: 2px; margin: 0; cursor: pointer; diff --git a/style/components/treeSelect.less b/style/components/treeSelect.less index fc62b93c89..dfeef07c31 100644 --- a/style/components/treeSelect.less +++ b/style/components/treeSelect.less @@ -1,21 +1,7 @@ @tree-select-tree-prefix-cls: ant-tree-select-tree; .antCheckboxFn(@checkbox-prefix-cls: ant-tree-select-tree-checkbox); @import "../mixins/iconfont"; -.antTreeSwitcherIcon() { - position: relative; - &:after { - .iconfont-size-under-12px(6px); - content: '\e611'; - display: inline-block; - font-family: 'anticon'; - font-weight: bold; - position: absolute; - top: 10px; - right: 4px; - color: #666; - transition: transform .3s ease; - } -} + .@{tree-select-tree-prefix-cls} { margin: 0; padding: 5px; @@ -28,7 +14,7 @@ outline: 0; &.filter-node { > a { - color: #a60000!important; + color: @error-color!important; font-weight: bold!important; } } @@ -38,7 +24,7 @@ } a { display: inline-block; - padding: 1px 4px; + padding: 1px 5px; border-radius: 2px; margin: 0; cursor: pointer;