fix(fix 单击事件(onSelect)延迟问题): fix 单击事件(onSelect)延迟问题
This commit is contained in:
parent
3c871529db
commit
bfc5796e78
|
@ -31,12 +31,12 @@
|
|||
.u-checkbox input[disabled] {
|
||||
cursor: not-allowed; }
|
||||
.u-checkbox input[type='checkbox']:focus + .u-checkbox-label:before {
|
||||
border-color: rgb(245, 60, 50); }
|
||||
border-color: rgb(30,136,229); }
|
||||
.u-checkbox.is-checked .u-checkbox-label:before {
|
||||
-moz-box-shadow: inset 0 0 0 10px rgb(245, 60, 50);
|
||||
-webkit-box-shadow: inset 0 0 0 10px rgb(245, 60, 50);
|
||||
box-shadow: inset 0 0 0 10px rgb(245, 60, 50);
|
||||
border-color: rgb(245, 60, 50); }
|
||||
-moz-box-shadow: inset 0 0 0 10px rgb(30,136,229);
|
||||
-webkit-box-shadow: inset 0 0 0 10px rgb(30,136,229);
|
||||
box-shadow: inset 0 0 0 10px rgb(30,136,229);
|
||||
border-color: rgb(30,136,229); }
|
||||
.u-checkbox.is-checked .u-checkbox-label:after {
|
||||
color: #fff;
|
||||
content: "\e658";
|
||||
|
@ -83,8 +83,8 @@
|
|||
font-size: 14px; }
|
||||
|
||||
.u-checkbox.u-checkbox-indeterminate .u-checkbox-label:before {
|
||||
box-shadow: inset 0 0 0 10px rgb(245, 60, 50);
|
||||
border-color: rgb(245, 60, 50); }
|
||||
box-shadow: inset 0 0 0 10px rgb(30,136,229);
|
||||
border-color: rgb(30,136,229); }
|
||||
|
||||
.u-checkbox.u-checkbox-success.is-checked .u-checkbox-label:before {
|
||||
-moz-box-shadow: inset 0 0 0 10px rgb(76,175,80);
|
||||
|
@ -144,8 +144,8 @@
|
|||
position: relative;
|
||||
vertical-align: middle; }
|
||||
.u-tree .u-tree-checkbox-checked .u-tree-checkbox-inner, .u-tree .u-tree-checkbox-indeterminate .u-tree-checkbox-inner {
|
||||
background-color: rgb(245, 60, 50);
|
||||
border-color: rgb(245, 60, 50); }
|
||||
background-color: rgb(30,136,229);
|
||||
border-color: rgb(30,136,229); }
|
||||
.u-tree .u-tree-checkbox-inner {
|
||||
position: relative;
|
||||
top: 0;
|
||||
|
@ -159,8 +159,8 @@
|
|||
-webkit-transition: all .3s;
|
||||
transition: all .3s; }
|
||||
.u-tree .u-tree-checkbox-checked .u-tree-checkbox-inner, .u-tree .u-tree-checkbox-indeterminate .u-tree-checkbox-inner {
|
||||
background-color: rgb(245, 60, 50);
|
||||
border-color: rgb(245, 60, 50); }
|
||||
background-color: rgb(30,136,229);
|
||||
border-color: rgb(30,136,229); }
|
||||
.u-tree .u-tree-checkbox-disabled .u-tree-checkbox-inner {
|
||||
border-color: #d9d9d9;
|
||||
background-color: #f3f3f3; }
|
||||
|
@ -263,11 +263,11 @@
|
|||
.u-tree li a.u-tree-node-content-wrapper {
|
||||
width: calc(100% - 18px); }
|
||||
.u-tree li a:hover {
|
||||
background-color: rgb(235, 236, 240); }
|
||||
background-color: rgb(243,243,243); }
|
||||
.u-tree li a.u-tree-node-selected {
|
||||
background-color: rgb(235, 236, 240); }
|
||||
background-color: rgb(243,243,243); }
|
||||
.u-tree li a.u-tree-node-selected .u-tree-title {
|
||||
color: rgb(245, 60, 50); }
|
||||
color: rgb(30,136,229); }
|
||||
.u-tree li span.u-checkbox {
|
||||
margin: 2px 4px 0 0; }
|
||||
.u-tree li span.u-tree-switcher,
|
||||
|
|
|
@ -949,7 +949,6 @@ Tree.defaultProps = {
|
|||
onDragLeave: noop,
|
||||
onDrop: noop,
|
||||
onDragEnd: noop,
|
||||
onDoubleClick: noop,
|
||||
tabIndexValue: 0
|
||||
};
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bee-tree",
|
||||
"version": "2.0.4",
|
||||
"version": "2.0.5",
|
||||
"description": "Tree ui component for react",
|
||||
"keywords": [
|
||||
"react",
|
||||
|
|
Loading…
Reference in New Issue