Browse Source

箭头替换,bi-background背景替换

master
windy 7 years ago
parent
commit
2ee10f02f0
  1. 2
      demo/css/main.css
  2. 2
      demo/js/core/layout/demo.htape.js
  3. 1
      dist/base.js
  4. 28
      dist/bundle.css
  5. 5
      dist/bundle.js
  6. 4
      dist/case.js
  7. 2
      dist/core.css
  8. 2
      dist/core_without_normalize.css
  9. 2
      dist/demo.css
  10. 2
      dist/demo.js
  11. 28
      dist/fineui.css
  12. 5
      dist/fineui.js
  13. 22
      dist/resource.css
  14. 4
      dist/widget.css
  15. 22
      public/css/font.css
  16. 1
      src/base/single/editor/editor.js
  17. 4
      src/case/checkbox/check.arrownode.js
  18. 2
      src/css/core/utils/common.css
  19. 22
      src/css/resource/font.css
  20. 2
      src/css/widget/filemanager/nav/button/button.css
  21. 2
      src/css/widget/previewtable/previewtable.css
  22. 2
      src/less/lib/constant.less
  23. 3
      src/less/resource/font.less
  24. 22
      ui/css/font.css

2
demo/css/main.css

@ -40,7 +40,7 @@
background-color: #178cdf;
}
body {
background-color: #fafbfc;
background-color: #f7f8fa;
}
#wrapper {
position: absolute;

2
demo/js/core/layout/demo.htape.js

@ -14,7 +14,7 @@ Demo.HtapeLayout = BI.inherit(BI.Widget, {
el: {
type: "bi.label",
text: "1",
cls: "layout-bg1"
cls: "bi-background"
}
}, {
width: 200,

1
dist/base.js vendored

@ -18393,7 +18393,6 @@ BI.Editor = BI.inherit(BI.Single, {
element: this,
items: items
});
this.element[0].tabIndex = -1;
this.editor.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
});

28
dist/bundle.css vendored

@ -325,7 +325,7 @@ textarea {
clear: both;
}
.bi-background {
background-color: #fafbfc;
background-color: #f7f8fa;
color: #3d4d66;
}
.bi-background .bi-input {
@ -3673,7 +3673,7 @@ ul.ztree.zTreeDragUL {
max-width: 200px;
}
.bi-file-manager-nav-button .file-manager-nav-button-text.active {
background-color: #fafbfc;
background-color: #f7f8fa;
color: #999999;
}
.bi-file-manager-nav-button .file-manager-nav-button-triangle {
@ -3928,7 +3928,7 @@ ul.ztree.zTreeDragUL {
}
.bi-preview-table > div > table > thead > tr.odd,
.bi-preview-table > div > div > div > table > thead > tr.odd {
background-color: #fafbfc;
background-color: #f7f8fa;
}
.bi-theme-dark .bi-preview-table > div > table > thead > tr.odd,
.bi-theme-dark .bi-preview-table > div > div > div > table > thead > tr.odd {
@ -4957,6 +4957,28 @@ textarea::-webkit-scrollbar-thumb:hover {
content: "\e6d7";
color: inherit;
}
.expander-right-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.expander-right-font .b-font:before {
content: "\e6d8";
color: inherit;
}
.expander-right-font.disabled .b-font:before {
content: "\e6d8";
color: inherit;
}
.expander-down-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.expander-down-font .b-font:before {
content: "\e6d7";
color: inherit;
}
.expander-down-font.disabled .b-font:before {
content: "\e6d7";
color: inherit;
}
.solid-triangle-top-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}

5
dist/bundle.js vendored

@ -54163,7 +54163,6 @@ BI.Editor = BI.inherit(BI.Single, {
element: this,
items: items
});
this.element[0].tabIndex = -1;
this.editor.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
});
@ -74519,9 +74518,9 @@ BI.ArrowTreeGroupNodeCheckbox = BI.inherit(BI.IconButton, {
setSelected: function (v) {
BI.ArrowTreeGroupNodeCheckbox.superclass.setSelected.apply(this, arguments);
if(v) {
this.element.removeClass("pull-right-font").addClass("pull-down-font");
this.element.removeClass("expander-right-font").addClass("expander-down-font");
} else {
this.element.removeClass("pull-down-font").addClass("pull-right-font");
this.element.removeClass("expander-down-font").addClass("expander-right-font");
}
}
});

4
dist/case.js vendored

@ -2049,9 +2049,9 @@ BI.ArrowTreeGroupNodeCheckbox = BI.inherit(BI.IconButton, {
setSelected: function (v) {
BI.ArrowTreeGroupNodeCheckbox.superclass.setSelected.apply(this, arguments);
if(v) {
this.element.removeClass("pull-right-font").addClass("pull-down-font");
this.element.removeClass("expander-right-font").addClass("expander-down-font");
} else {
this.element.removeClass("pull-down-font").addClass("pull-right-font");
this.element.removeClass("expander-down-font").addClass("expander-right-font");
}
}
});

2
dist/core.css vendored

@ -325,7 +325,7 @@ textarea {
clear: both;
}
.bi-background {
background-color: #fafbfc;
background-color: #f7f8fa;
color: #3d4d66;
}
.bi-background .bi-input {

2
dist/core_without_normalize.css vendored

@ -47,7 +47,7 @@ textarea {
clear: both;
}
.bi-background {
background-color: #fafbfc;
background-color: #f7f8fa;
color: #3d4d66;
}
.bi-background .bi-input {

2
dist/demo.css vendored

@ -43,7 +43,7 @@
background-color: #178cdf;
}
body {
background-color: #fafbfc;
background-color: #f7f8fa;
}
#wrapper {
position: absolute;

2
dist/demo.js vendored

@ -8200,7 +8200,7 @@ Demo.HtapeLayout = BI.inherit(BI.Widget, {
el: {
type: "bi.label",
text: "1",
cls: "layout-bg1"
cls: "bi-background"
}
}, {
width: 200,

28
dist/fineui.css vendored

@ -325,7 +325,7 @@ textarea {
clear: both;
}
.bi-background {
background-color: #fafbfc;
background-color: #f7f8fa;
color: #3d4d66;
}
.bi-background .bi-input {
@ -3673,7 +3673,7 @@ ul.ztree.zTreeDragUL {
max-width: 200px;
}
.bi-file-manager-nav-button .file-manager-nav-button-text.active {
background-color: #fafbfc;
background-color: #f7f8fa;
color: #999999;
}
.bi-file-manager-nav-button .file-manager-nav-button-triangle {
@ -3928,7 +3928,7 @@ ul.ztree.zTreeDragUL {
}
.bi-preview-table > div > table > thead > tr.odd,
.bi-preview-table > div > div > div > table > thead > tr.odd {
background-color: #fafbfc;
background-color: #f7f8fa;
}
.bi-theme-dark .bi-preview-table > div > table > thead > tr.odd,
.bi-theme-dark .bi-preview-table > div > div > div > table > thead > tr.odd {
@ -4957,6 +4957,28 @@ textarea::-webkit-scrollbar-thumb:hover {
content: "\e6d7";
color: inherit;
}
.expander-right-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.expander-right-font .b-font:before {
content: "\e6d8";
color: inherit;
}
.expander-right-font.disabled .b-font:before {
content: "\e6d8";
color: inherit;
}
.expander-down-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.expander-down-font .b-font:before {
content: "\e6d7";
color: inherit;
}
.expander-down-font.disabled .b-font:before {
content: "\e6d7";
color: inherit;
}
.solid-triangle-top-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}

5
dist/fineui.js vendored

@ -54406,7 +54406,6 @@ BI.Editor = BI.inherit(BI.Single, {
element: this,
items: items
});
this.element[0].tabIndex = -1;
this.editor.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
});
@ -74762,9 +74761,9 @@ BI.ArrowTreeGroupNodeCheckbox = BI.inherit(BI.IconButton, {
setSelected: function (v) {
BI.ArrowTreeGroupNodeCheckbox.superclass.setSelected.apply(this, arguments);
if(v) {
this.element.removeClass("pull-right-font").addClass("pull-down-font");
this.element.removeClass("expander-right-font").addClass("expander-down-font");
} else {
this.element.removeClass("pull-down-font").addClass("pull-right-font");
this.element.removeClass("expander-down-font").addClass("expander-right-font");
}
}
});

22
dist/resource.css vendored

@ -835,6 +835,28 @@ textarea::-webkit-scrollbar-thumb:hover {
content: "\e6d7";
color: inherit;
}
.expander-right-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.expander-right-font .b-font:before {
content: "\e6d8";
color: inherit;
}
.expander-right-font.disabled .b-font:before {
content: "\e6d8";
color: inherit;
}
.expander-down-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.expander-down-font .b-font:before {
content: "\e6d7";
color: inherit;
}
.expander-down-font.disabled .b-font:before {
content: "\e6d7";
color: inherit;
}
.solid-triangle-top-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}

4
dist/widget.css vendored

@ -28,7 +28,7 @@
max-width: 200px;
}
.bi-file-manager-nav-button .file-manager-nav-button-text.active {
background-color: #fafbfc;
background-color: #f7f8fa;
color: #999999;
}
.bi-file-manager-nav-button .file-manager-nav-button-triangle {
@ -283,7 +283,7 @@
}
.bi-preview-table > div > table > thead > tr.odd,
.bi-preview-table > div > div > div > table > thead > tr.odd {
background-color: #fafbfc;
background-color: #f7f8fa;
}
.bi-theme-dark .bi-preview-table > div > table > thead > tr.odd,
.bi-theme-dark .bi-preview-table > div > div > div > table > thead > tr.odd {

22
public/css/font.css

@ -509,6 +509,28 @@
content: "\e6d7";
color: inherit;
}
.expander-right-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.expander-right-font .b-font:before {
content: "\e6d8";
color: inherit;
}
.expander-right-font.disabled .b-font:before {
content: "\e6d8";
color: inherit;
}
.expander-down-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.expander-down-font .b-font:before {
content: "\e6d7";
color: inherit;
}
.expander-down-font.disabled .b-font:before {
content: "\e6d7";
color: inherit;
}
.solid-triangle-top-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}

1
src/base/single/editor/editor.js

@ -98,7 +98,6 @@ BI.Editor = BI.inherit(BI.Single, {
element: this,
items: items
});
this.element[0].tabIndex = -1;
this.editor.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
});

4
src/case/checkbox/check.arrownode.js

@ -14,9 +14,9 @@ BI.ArrowTreeGroupNodeCheckbox = BI.inherit(BI.IconButton, {
setSelected: function (v) {
BI.ArrowTreeGroupNodeCheckbox.superclass.setSelected.apply(this, arguments);
if(v) {
this.element.removeClass("pull-right-font").addClass("pull-down-font");
this.element.removeClass("expander-right-font").addClass("expander-down-font");
} else {
this.element.removeClass("pull-down-font").addClass("pull-right-font");
this.element.removeClass("expander-down-font").addClass("expander-right-font");
}
}
});

2
src/css/core/utils/common.css

@ -47,7 +47,7 @@ textarea {
clear: both;
}
.bi-background {
background-color: #fafbfc;
background-color: #f7f8fa;
color: #3d4d66;
}
.bi-background .bi-input {

22
src/css/resource/font.css

@ -509,6 +509,28 @@
content: "\e6d7";
color: inherit;
}
.expander-right-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.expander-right-font .b-font:before {
content: "\e6d8";
color: inherit;
}
.expander-right-font.disabled .b-font:before {
content: "\e6d8";
color: inherit;
}
.expander-down-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.expander-down-font .b-font:before {
content: "\e6d7";
color: inherit;
}
.expander-down-font.disabled .b-font:before {
content: "\e6d7";
color: inherit;
}
.solid-triangle-top-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}

2
src/css/widget/filemanager/nav/button/button.css

@ -2,7 +2,7 @@
max-width: 200px;
}
.bi-file-manager-nav-button .file-manager-nav-button-text.active {
background-color: #fafbfc;
background-color: #f7f8fa;
color: #999999;
}
.bi-file-manager-nav-button .file-manager-nav-button-triangle {

2
src/css/widget/previewtable/previewtable.css

@ -19,7 +19,7 @@
}
.bi-preview-table > div > table > thead > tr.odd,
.bi-preview-table > div > div > div > table > thead > tr.odd {
background-color: #fafbfc;
background-color: #f7f8fa;
}
.bi-theme-dark .bi-preview-table > div > table > thead > tr.odd,
.bi-theme-dark .bi-preview-table > div > div > div > table > thead > tr.odd {

2
src/less/lib/constant.less

@ -33,7 +33,7 @@
@background-color-black: #1a1a1a;//
@background-color-default: #ffffff;//
@background-color-default-theme-dark: #242640;//
@background-color-normal: #fafbfc;//
@background-color-normal: #f7f8fa;//
@background-color-normal-theme-dark: #191B2B;//
@background-color-light-highlight: #eaf2fd;
@background-color-highlight: #3685f2;

3
src/less/resource/font.less

@ -67,6 +67,9 @@
.font-hover(column-pre-page-h-font, @font-solid-top);
.font-hover(column-next-page-h-font, @font-solid-bottom);
.font(expander-right-font, @font-solid-right);
.font(expander-down-font, @font-solid-bottom);
// 实心下拉三角
.font-hover(solid-triangle-top-font, @font-solid-top);
.font-hover(solid-triangle-bottom-font, @font-solid-bottom);

22
ui/css/font.css

@ -509,6 +509,28 @@
content: "\e6d7";
color: inherit;
}
.expander-right-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.expander-right-font .b-font:before {
content: "\e6d8";
color: inherit;
}
.expander-right-font.disabled .b-font:before {
content: "\e6d8";
color: inherit;
}
.expander-down-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.expander-down-font .b-font:before {
content: "\e6d7";
color: inherit;
}
.expander-down-font.disabled .b-font:before {
content: "\e6d7";
color: inherit;
}
.solid-triangle-top-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}

Loading…
Cancel
Save