Browse Source

整理

master
guy 8 years ago
parent
commit
2d9b9787e1
  1. 76
      bi/core.css
  2. 9
      bi/widget.js
  3. 76
      docs/core.css
  4. 9
      docs/widget.js
  5. 76
      src/css/core/utils/common.css
  6. 67
      src/less/core/utils/common.less
  7. 1
      src/widget/multilayerselecttree/node/node.first.plus.js
  8. 1
      src/widget/multilayerselecttree/node/node.last.plus.js
  9. 1
      src/widget/multilayerselecttree/node/node.mid.plus.js
  10. 1
      src/widget/multilayersingletree/node/node.first.plus.js
  11. 1
      src/widget/multilayersingletree/node/node.last.plus.js
  12. 1
      src/widget/multilayersingletree/node/node.mid.plus.js
  13. 1
      src/widget/multilayersingletree/treeitem/item.first.treeleaf.js
  14. 1
      src/widget/multilayersingletree/treeitem/item.last.treeleaf.js
  15. 1
      src/widget/multilayersingletree/treeitem/item.mid.treeleaf.js

76
bi/core.css

@ -3484,6 +3484,82 @@ i {
.bi-theme-dark .bi-list-item-select.disabled:active .bi-high-light {
color: #666666 !important;
}
.bi-list-item-none:hover,
.bi-list-item-none.hover {
color: inherit;
background-color: inherit;
}
.bi-list-item-none:hover .bi-input,
.bi-list-item-none.hover .bi-input {
color: inherit;
}
.bi-list-item-none:active,
.bi-list-item-none.active {
color: inherit;
background-color: inherit;
}
.bi-list-item-none:active .bi-input,
.bi-list-item-none.active .bi-input {
color: inherit;
}
.bi-list-item-none:active .bi-high-light,
.bi-list-item-none.active .bi-high-light {
color: inherit;
}
.bi-list-item-none.disabled,
.bi-list-item-none.disabled:hover,
.bi-list-item-none.disabled:active {
color: #cccccc !important;
background-color: transparent !important;
}
.bi-list-item-none.disabled .bi-input,
.bi-list-item-none.disabled:hover .bi-input,
.bi-list-item-none.disabled:active .bi-input {
color: #cccccc !important;
}
.bi-list-item-none.disabled .bi-high-light,
.bi-list-item-none.disabled:hover .bi-high-light,
.bi-list-item-none.disabled:active .bi-high-light {
color: #cccccc !important;
}
.bi-theme-dark .bi-list-item-none:hover,
.bi-theme-dark .bi-list-item-none.hover {
color: inherit;
background-color: inherit;
}
.bi-theme-dark .bi-list-item-none:hover .bi-input,
.bi-theme-dark .bi-list-item-none.hover .bi-input {
color: inherit;
}
.bi-theme-dark .bi-list-item-none:active,
.bi-theme-dark .bi-list-item-none.active {
color: inherit;
background-color: inherit;
}
.bi-theme-dark .bi-list-item-none:active .bi-input,
.bi-theme-dark .bi-list-item-none.active .bi-input {
color: inherit;
}
.bi-theme-dark .bi-list-item-none:active .bi-high-light,
.bi-theme-dark .bi-list-item-none.active .bi-high-light {
color: inherit;
}
.bi-theme-dark .bi-list-item-none.disabled,
.bi-theme-dark .bi-list-item-none.disabled:hover,
.bi-theme-dark .bi-list-item-none.disabled:active {
background-color: transparent !important;
color: #666666 !important;
}
.bi-theme-dark .bi-list-item-none.disabled .bi-input,
.bi-theme-dark .bi-list-item-none.disabled:hover .bi-input,
.bi-theme-dark .bi-list-item-none.disabled:active .bi-input {
color: #666666 !important;
}
.bi-theme-dark .bi-list-item-none.disabled .bi-high-light,
.bi-theme-dark .bi-list-item-none.disabled:hover .bi-high-light,
.bi-theme-dark .bi-list-item-none.disabled:active .bi-high-light {
color: #666666 !important;
}
/*****************cursor*****************/
.cursor-pointer {
cursor: pointer;

9
bi/widget.js

@ -8302,6 +8302,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options;
this.node = BI.createWidget({
type: "bi.select_tree_first_plus_group_node",
cls: "bi-list-item-none",
stopPropagation: true,
logic: {
dynamic: true
@ -8395,6 +8396,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options;
this.node = BI.createWidget({
type: "bi.select_tree_last_plus_group_node",
cls: "bi-list-item-none",
stopPropagation: true,
logic: {
dynamic: true
@ -8484,6 +8486,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options;
this.node = BI.createWidget({
type: "bi.select_tree_mid_plus_group_node",
cls: "bi-list-item-none",
stopPropagation: true,
logic: {
dynamic: true
@ -8843,6 +8846,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options;
this.node = BI.createWidget({
type: "bi.first_plus_group_node",
cls: "bi-list-item-none",
logic: {
dynamic: true
},
@ -8925,6 +8929,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options;
this.node = BI.createWidget({
type: "bi.last_plus_group_node",
cls: "bi-list-item-none",
logic: {
dynamic: true
},
@ -9007,6 +9012,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options;
this.node = BI.createWidget({
type: "bi.mid_plus_group_node",
cls: "bi-list-item-none",
logic: {
dynamic: true
},
@ -9089,6 +9095,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
var self = this, o = this.options;
this.item = BI.createWidget({
type: "bi.first_tree_leaf_item",
cls: "bi-list-item-none",
logic: {
dynamic: true
},
@ -9184,6 +9191,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
var self = this, o = this.options;
this.item = BI.createWidget({
type: "bi.last_tree_leaf_item",
cls: "bi-list-item-none",
logic: {
dynamic: true
},
@ -9279,6 +9287,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
var self = this, o = this.options;
this.item = BI.createWidget({
type: "bi.mid_tree_leaf_item",
cls: "bi-list-item-none",
logic: {
dynamic: true
},

76
docs/core.css

@ -3484,6 +3484,82 @@ i {
.bi-theme-dark .bi-list-item-select.disabled:active .bi-high-light {
color: #666666 !important;
}
.bi-list-item-none:hover,
.bi-list-item-none.hover {
color: inherit;
background-color: inherit;
}
.bi-list-item-none:hover .bi-input,
.bi-list-item-none.hover .bi-input {
color: inherit;
}
.bi-list-item-none:active,
.bi-list-item-none.active {
color: inherit;
background-color: inherit;
}
.bi-list-item-none:active .bi-input,
.bi-list-item-none.active .bi-input {
color: inherit;
}
.bi-list-item-none:active .bi-high-light,
.bi-list-item-none.active .bi-high-light {
color: inherit;
}
.bi-list-item-none.disabled,
.bi-list-item-none.disabled:hover,
.bi-list-item-none.disabled:active {
color: #cccccc !important;
background-color: transparent !important;
}
.bi-list-item-none.disabled .bi-input,
.bi-list-item-none.disabled:hover .bi-input,
.bi-list-item-none.disabled:active .bi-input {
color: #cccccc !important;
}
.bi-list-item-none.disabled .bi-high-light,
.bi-list-item-none.disabled:hover .bi-high-light,
.bi-list-item-none.disabled:active .bi-high-light {
color: #cccccc !important;
}
.bi-theme-dark .bi-list-item-none:hover,
.bi-theme-dark .bi-list-item-none.hover {
color: inherit;
background-color: inherit;
}
.bi-theme-dark .bi-list-item-none:hover .bi-input,
.bi-theme-dark .bi-list-item-none.hover .bi-input {
color: inherit;
}
.bi-theme-dark .bi-list-item-none:active,
.bi-theme-dark .bi-list-item-none.active {
color: inherit;
background-color: inherit;
}
.bi-theme-dark .bi-list-item-none:active .bi-input,
.bi-theme-dark .bi-list-item-none.active .bi-input {
color: inherit;
}
.bi-theme-dark .bi-list-item-none:active .bi-high-light,
.bi-theme-dark .bi-list-item-none.active .bi-high-light {
color: inherit;
}
.bi-theme-dark .bi-list-item-none.disabled,
.bi-theme-dark .bi-list-item-none.disabled:hover,
.bi-theme-dark .bi-list-item-none.disabled:active {
background-color: transparent !important;
color: #666666 !important;
}
.bi-theme-dark .bi-list-item-none.disabled .bi-input,
.bi-theme-dark .bi-list-item-none.disabled:hover .bi-input,
.bi-theme-dark .bi-list-item-none.disabled:active .bi-input {
color: #666666 !important;
}
.bi-theme-dark .bi-list-item-none.disabled .bi-high-light,
.bi-theme-dark .bi-list-item-none.disabled:hover .bi-high-light,
.bi-theme-dark .bi-list-item-none.disabled:active .bi-high-light {
color: #666666 !important;
}
/*****************cursor*****************/
.cursor-pointer {
cursor: pointer;

9
docs/widget.js

@ -8302,6 +8302,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options;
this.node = BI.createWidget({
type: "bi.select_tree_first_plus_group_node",
cls: "bi-list-item-none",
stopPropagation: true,
logic: {
dynamic: true
@ -8395,6 +8396,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options;
this.node = BI.createWidget({
type: "bi.select_tree_last_plus_group_node",
cls: "bi-list-item-none",
stopPropagation: true,
logic: {
dynamic: true
@ -8484,6 +8486,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options;
this.node = BI.createWidget({
type: "bi.select_tree_mid_plus_group_node",
cls: "bi-list-item-none",
stopPropagation: true,
logic: {
dynamic: true
@ -8843,6 +8846,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options;
this.node = BI.createWidget({
type: "bi.first_plus_group_node",
cls: "bi-list-item-none",
logic: {
dynamic: true
},
@ -8925,6 +8929,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options;
this.node = BI.createWidget({
type: "bi.last_plus_group_node",
cls: "bi-list-item-none",
logic: {
dynamic: true
},
@ -9007,6 +9012,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options;
this.node = BI.createWidget({
type: "bi.mid_plus_group_node",
cls: "bi-list-item-none",
logic: {
dynamic: true
},
@ -9089,6 +9095,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
var self = this, o = this.options;
this.item = BI.createWidget({
type: "bi.first_tree_leaf_item",
cls: "bi-list-item-none",
logic: {
dynamic: true
},
@ -9184,6 +9191,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
var self = this, o = this.options;
this.item = BI.createWidget({
type: "bi.last_tree_leaf_item",
cls: "bi-list-item-none",
logic: {
dynamic: true
},
@ -9279,6 +9287,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
var self = this, o = this.options;
this.item = BI.createWidget({
type: "bi.mid_tree_leaf_item",
cls: "bi-list-item-none",
logic: {
dynamic: true
},

76
src/css/core/utils/common.css

@ -538,3 +538,79 @@
.bi-theme-dark .bi-list-item-select.disabled:active .bi-high-light {
color: #666666 !important;
}
.bi-list-item-none:hover,
.bi-list-item-none.hover {
color: inherit;
background-color: inherit;
}
.bi-list-item-none:hover .bi-input,
.bi-list-item-none.hover .bi-input {
color: inherit;
}
.bi-list-item-none:active,
.bi-list-item-none.active {
color: inherit;
background-color: inherit;
}
.bi-list-item-none:active .bi-input,
.bi-list-item-none.active .bi-input {
color: inherit;
}
.bi-list-item-none:active .bi-high-light,
.bi-list-item-none.active .bi-high-light {
color: inherit;
}
.bi-list-item-none.disabled,
.bi-list-item-none.disabled:hover,
.bi-list-item-none.disabled:active {
color: #cccccc !important;
background-color: transparent !important;
}
.bi-list-item-none.disabled .bi-input,
.bi-list-item-none.disabled:hover .bi-input,
.bi-list-item-none.disabled:active .bi-input {
color: #cccccc !important;
}
.bi-list-item-none.disabled .bi-high-light,
.bi-list-item-none.disabled:hover .bi-high-light,
.bi-list-item-none.disabled:active .bi-high-light {
color: #cccccc !important;
}
.bi-theme-dark .bi-list-item-none:hover,
.bi-theme-dark .bi-list-item-none.hover {
color: inherit;
background-color: inherit;
}
.bi-theme-dark .bi-list-item-none:hover .bi-input,
.bi-theme-dark .bi-list-item-none.hover .bi-input {
color: inherit;
}
.bi-theme-dark .bi-list-item-none:active,
.bi-theme-dark .bi-list-item-none.active {
color: inherit;
background-color: inherit;
}
.bi-theme-dark .bi-list-item-none:active .bi-input,
.bi-theme-dark .bi-list-item-none.active .bi-input {
color: inherit;
}
.bi-theme-dark .bi-list-item-none:active .bi-high-light,
.bi-theme-dark .bi-list-item-none.active .bi-high-light {
color: inherit;
}
.bi-theme-dark .bi-list-item-none.disabled,
.bi-theme-dark .bi-list-item-none.disabled:hover,
.bi-theme-dark .bi-list-item-none.disabled:active {
background-color: transparent !important;
color: #666666 !important;
}
.bi-theme-dark .bi-list-item-none.disabled .bi-input,
.bi-theme-dark .bi-list-item-none.disabled:hover .bi-input,
.bi-theme-dark .bi-list-item-none.disabled:active .bi-input {
color: #666666 !important;
}
.bi-theme-dark .bi-list-item-none.disabled .bi-high-light,
.bi-theme-dark .bi-list-item-none.disabled:hover .bi-high-light,
.bi-theme-dark .bi-list-item-none.disabled:active .bi-high-light {
color: #666666 !important;
}

67
src/less/core/utils/common.less

@ -551,3 +551,70 @@
}
}
}
//去掉list-item效果
.bi-list-item-none {
&:hover, &.hover {
color: inherit;
& .bi-input {
color: inherit;
}
background-color: inherit;
}
&:active, &.active {
color: inherit;
& .bi-input {
color: inherit;
}
background-color: inherit;
& .bi-high-light {
color: inherit;
}
}
&.disabled {
&, &:hover, &:active {
color: @color-bi-text-disabled !important;
& .bi-input {
color: @color-bi-text-disabled !important;
}
background-color: transparent !important;
& .bi-high-light {
color: @color-bi-text-disabled !important;
}
}
}
}
.bi-theme-dark {
.bi-list-item-none {
&:hover, &.hover {
color: inherit;
& .bi-input {
color: inherit;
}
background-color: inherit;
}
&:active, &.active {
color: inherit;
& .bi-input {
color: inherit;
}
background-color: inherit;
& .bi-high-light {
color: inherit;
}
}
&.disabled {
&, &:hover, &:active {
background-color: transparent !important;
color: @color-bi-text-disabled-theme-dark !important;
& .bi-input {
color: @color-bi-text-disabled-theme-dark !important;
}
& .bi-high-light {
color: @color-bi-text-disabled-theme-dark !important;
}
}
}
}
}

1
src/widget/multilayerselecttree/node/node.first.plus.js

@ -23,6 +23,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options;
this.node = BI.createWidget({
type: "bi.select_tree_first_plus_group_node",
cls: "bi-list-item-none",
stopPropagation: true,
logic: {
dynamic: true

1
src/widget/multilayerselecttree/node/node.last.plus.js

@ -23,6 +23,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options;
this.node = BI.createWidget({
type: "bi.select_tree_last_plus_group_node",
cls: "bi-list-item-none",
stopPropagation: true,
logic: {
dynamic: true

1
src/widget/multilayerselecttree/node/node.mid.plus.js

@ -23,6 +23,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options;
this.node = BI.createWidget({
type: "bi.select_tree_mid_plus_group_node",
cls: "bi-list-item-none",
stopPropagation: true,
logic: {
dynamic: true

1
src/widget/multilayersingletree/node/node.first.plus.js

@ -22,6 +22,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options;
this.node = BI.createWidget({
type: "bi.first_plus_group_node",
cls: "bi-list-item-none",
logic: {
dynamic: true
},

1
src/widget/multilayersingletree/node/node.last.plus.js

@ -22,6 +22,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options;
this.node = BI.createWidget({
type: "bi.last_plus_group_node",
cls: "bi-list-item-none",
logic: {
dynamic: true
},

1
src/widget/multilayersingletree/node/node.mid.plus.js

@ -22,6 +22,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options;
this.node = BI.createWidget({
type: "bi.mid_plus_group_node",
cls: "bi-list-item-none",
logic: {
dynamic: true
},

1
src/widget/multilayersingletree/treeitem/item.first.treeleaf.js

@ -22,6 +22,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
var self = this, o = this.options;
this.item = BI.createWidget({
type: "bi.first_tree_leaf_item",
cls: "bi-list-item-none",
logic: {
dynamic: true
},

1
src/widget/multilayersingletree/treeitem/item.last.treeleaf.js

@ -22,6 +22,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
var self = this, o = this.options;
this.item = BI.createWidget({
type: "bi.last_tree_leaf_item",
cls: "bi-list-item-none",
logic: {
dynamic: true
},

1
src/widget/multilayersingletree/treeitem/item.mid.treeleaf.js

@ -22,6 +22,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
var self = this, o = this.options;
this.item = BI.createWidget({
type: "bi.mid_tree_leaf_item",
cls: "bi-list-item-none",
logic: {
dynamic: true
},

Loading…
Cancel
Save