Browse Source

update

master
windy 7 years ago
parent
commit
6e8e43c8b5
  1. 34
      dist/_fineui.min.js
  2. 13
      dist/bundle.css
  3. 4
      dist/bundle.js
  4. 2
      dist/bundle.min.css
  5. 34
      dist/bundle.min.js
  6. 4
      dist/case.js
  7. 13
      dist/core.css
  8. 13
      dist/core_without_normalize.css
  9. 13
      dist/fineui.css
  10. 4
      dist/fineui.js
  11. 2
      dist/fineui.min.css
  12. 34
      dist/fineui.min.js
  13. 2
      src/case/richeditor/niceditor/niceditor.js
  14. 2
      src/case/richeditor/richeditor.js
  15. 13
      src/css/core/utils/common.css
  16. 9
      src/less/core/utils/common.less

34
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

13
dist/bundle.css vendored

@ -394,19 +394,6 @@ textarea {
.bi-border { .bi-border {
border: 1px solid #d4dadd; border: 1px solid #d4dadd;
} }
.bi-border.bi-nic-editor:hover,
.bi-border.bi-rich-editor:hover,
.bi-border.bi-nic-editor.hover,
.bi-border.bi-rich-editor.hover {
border: 1px solid #3685f2;
}
.bi-border.bi-rich-editor-focus,
.bi-border.bi-nic-editor-focus {
border: 1px solid #3685f2;
-webkit-box-shadow: 0 0 0 2px #3685f2;
-moz-box-shadow: 0 0 0 2px #3685f2;
box-shadow: 0 0 0 2px #3685f2;
}
.bi-theme-dark .bi-border { .bi-theme-dark .bi-border {
border: 1px solid #525466; border: 1px solid #525466;
} }

4
dist/bundle.js vendored

@ -83318,7 +83318,6 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
} }
this.ne.fireEvent("selected", e); this.ne.fireEvent("selected", e);
this.isFocused = true; this.isFocused = true;
this.ne.element.removeClass("bi-nic-editor-focus").addClass("bi-nic-editor-focus");
this.elm.element.addClass(prefix + "selected"); this.elm.element.addClass(prefix + "selected");
} }
// return false; // return false;
@ -83330,7 +83329,6 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
blur: function () { blur: function () {
this.isFocused = false; this.isFocused = false;
this.ne.element.removeClass("bi-nic-editor-focus");
this.elm.element.removeClass(prefix + "selected"); this.elm.element.removeClass(prefix + "selected");
}, },
@ -84001,13 +83999,11 @@ BI.RichEditor = BI.inherit(BI.Widget, {
listeners: [{ listeners: [{
eventName: BI.NicEditor.EVENT_BLUR, eventName: BI.NicEditor.EVENT_BLUR,
action: function () { action: function () {
self.element.removeClass("bi-rich-editor-focus");
self.fireEvent(BI.RichEditor.EVENT_CONFIRM); self.fireEvent(BI.RichEditor.EVENT_CONFIRM);
} }
}, { }, {
eventName: BI.NicEditor.EVENT_FOCUS, eventName: BI.NicEditor.EVENT_FOCUS,
action: function () { action: function () {
self.element.addClass("bi-rich-editor-focus");
if (!o.readOnly && !self.combo.isViewVisible()) { if (!o.readOnly && !self.combo.isViewVisible()) {
self.combo.showView(); self.combo.showView();
} }

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

34
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

4
dist/case.js vendored

@ -10862,7 +10862,6 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
} }
this.ne.fireEvent("selected", e); this.ne.fireEvent("selected", e);
this.isFocused = true; this.isFocused = true;
this.ne.element.removeClass("bi-nic-editor-focus").addClass("bi-nic-editor-focus");
this.elm.element.addClass(prefix + "selected"); this.elm.element.addClass(prefix + "selected");
} }
// return false; // return false;
@ -10874,7 +10873,6 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
blur: function () { blur: function () {
this.isFocused = false; this.isFocused = false;
this.ne.element.removeClass("bi-nic-editor-focus");
this.elm.element.removeClass(prefix + "selected"); this.elm.element.removeClass(prefix + "selected");
}, },
@ -11545,13 +11543,11 @@ BI.RichEditor = BI.inherit(BI.Widget, {
listeners: [{ listeners: [{
eventName: BI.NicEditor.EVENT_BLUR, eventName: BI.NicEditor.EVENT_BLUR,
action: function () { action: function () {
self.element.removeClass("bi-rich-editor-focus");
self.fireEvent(BI.RichEditor.EVENT_CONFIRM); self.fireEvent(BI.RichEditor.EVENT_CONFIRM);
} }
}, { }, {
eventName: BI.NicEditor.EVENT_FOCUS, eventName: BI.NicEditor.EVENT_FOCUS,
action: function () { action: function () {
self.element.addClass("bi-rich-editor-focus");
if (!o.readOnly && !self.combo.isViewVisible()) { if (!o.readOnly && !self.combo.isViewVisible()) {
self.combo.showView(); self.combo.showView();
} }

13
dist/core.css vendored

@ -394,19 +394,6 @@ textarea {
.bi-border { .bi-border {
border: 1px solid #d4dadd; border: 1px solid #d4dadd;
} }
.bi-border.bi-nic-editor:hover,
.bi-border.bi-rich-editor:hover,
.bi-border.bi-nic-editor.hover,
.bi-border.bi-rich-editor.hover {
border: 1px solid #3685f2;
}
.bi-border.bi-rich-editor-focus,
.bi-border.bi-nic-editor-focus {
border: 1px solid #3685f2;
-webkit-box-shadow: 0 0 0 2px #3685f2;
-moz-box-shadow: 0 0 0 2px #3685f2;
box-shadow: 0 0 0 2px #3685f2;
}
.bi-theme-dark .bi-border { .bi-theme-dark .bi-border {
border: 1px solid #525466; border: 1px solid #525466;
} }

13
dist/core_without_normalize.css vendored

@ -116,19 +116,6 @@ textarea {
.bi-border { .bi-border {
border: 1px solid #d4dadd; border: 1px solid #d4dadd;
} }
.bi-border.bi-nic-editor:hover,
.bi-border.bi-rich-editor:hover,
.bi-border.bi-nic-editor.hover,
.bi-border.bi-rich-editor.hover {
border: 1px solid #3685f2;
}
.bi-border.bi-rich-editor-focus,
.bi-border.bi-nic-editor-focus {
border: 1px solid #3685f2;
-webkit-box-shadow: 0 0 0 2px #3685f2;
-moz-box-shadow: 0 0 0 2px #3685f2;
box-shadow: 0 0 0 2px #3685f2;
}
.bi-theme-dark .bi-border { .bi-theme-dark .bi-border {
border: 1px solid #525466; border: 1px solid #525466;
} }

13
dist/fineui.css vendored

@ -394,19 +394,6 @@ textarea {
.bi-border { .bi-border {
border: 1px solid #d4dadd; border: 1px solid #d4dadd;
} }
.bi-border.bi-nic-editor:hover,
.bi-border.bi-rich-editor:hover,
.bi-border.bi-nic-editor.hover,
.bi-border.bi-rich-editor.hover {
border: 1px solid #3685f2;
}
.bi-border.bi-rich-editor-focus,
.bi-border.bi-nic-editor-focus {
border: 1px solid #3685f2;
-webkit-box-shadow: 0 0 0 2px #3685f2;
-moz-box-shadow: 0 0 0 2px #3685f2;
box-shadow: 0 0 0 2px #3685f2;
}
.bi-theme-dark .bi-border { .bi-theme-dark .bi-border {
border: 1px solid #525466; border: 1px solid #525466;
} }

4
dist/fineui.js vendored

@ -83561,7 +83561,6 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
} }
this.ne.fireEvent("selected", e); this.ne.fireEvent("selected", e);
this.isFocused = true; this.isFocused = true;
this.ne.element.removeClass("bi-nic-editor-focus").addClass("bi-nic-editor-focus");
this.elm.element.addClass(prefix + "selected"); this.elm.element.addClass(prefix + "selected");
} }
// return false; // return false;
@ -83573,7 +83572,6 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
blur: function () { blur: function () {
this.isFocused = false; this.isFocused = false;
this.ne.element.removeClass("bi-nic-editor-focus");
this.elm.element.removeClass(prefix + "selected"); this.elm.element.removeClass(prefix + "selected");
}, },
@ -84244,13 +84242,11 @@ BI.RichEditor = BI.inherit(BI.Widget, {
listeners: [{ listeners: [{
eventName: BI.NicEditor.EVENT_BLUR, eventName: BI.NicEditor.EVENT_BLUR,
action: function () { action: function () {
self.element.removeClass("bi-rich-editor-focus");
self.fireEvent(BI.RichEditor.EVENT_CONFIRM); self.fireEvent(BI.RichEditor.EVENT_CONFIRM);
} }
}, { }, {
eventName: BI.NicEditor.EVENT_FOCUS, eventName: BI.NicEditor.EVENT_FOCUS,
action: function () { action: function () {
self.element.addClass("bi-rich-editor-focus");
if (!o.readOnly && !self.combo.isViewVisible()) { if (!o.readOnly && !self.combo.isViewVisible()) {
self.combo.showView(); self.combo.showView();
} }

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

34
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
src/case/richeditor/niceditor/niceditor.js

@ -247,7 +247,6 @@
} }
this.ne.fireEvent("selected", e); this.ne.fireEvent("selected", e);
this.isFocused = true; this.isFocused = true;
this.ne.element.removeClass("bi-nic-editor-focus").addClass("bi-nic-editor-focus");
this.elm.element.addClass(prefix + "selected"); this.elm.element.addClass(prefix + "selected");
} }
// return false; // return false;
@ -259,7 +258,6 @@
blur: function () { blur: function () {
this.isFocused = false; this.isFocused = false;
this.ne.element.removeClass("bi-nic-editor-focus");
this.elm.element.removeClass(prefix + "selected"); this.elm.element.removeClass(prefix + "selected");
}, },

2
src/case/richeditor/richeditor.js

@ -26,13 +26,11 @@ BI.RichEditor = BI.inherit(BI.Widget, {
listeners: [{ listeners: [{
eventName: BI.NicEditor.EVENT_BLUR, eventName: BI.NicEditor.EVENT_BLUR,
action: function () { action: function () {
self.element.removeClass("bi-rich-editor-focus");
self.fireEvent(BI.RichEditor.EVENT_CONFIRM); self.fireEvent(BI.RichEditor.EVENT_CONFIRM);
} }
}, { }, {
eventName: BI.NicEditor.EVENT_FOCUS, eventName: BI.NicEditor.EVENT_FOCUS,
action: function () { action: function () {
self.element.addClass("bi-rich-editor-focus");
if (!o.readOnly && !self.combo.isViewVisible()) { if (!o.readOnly && !self.combo.isViewVisible()) {
self.combo.showView(); self.combo.showView();
} }

13
src/css/core/utils/common.css

@ -116,19 +116,6 @@ textarea {
.bi-border { .bi-border {
border: 1px solid #d4dadd; border: 1px solid #d4dadd;
} }
.bi-border.bi-nic-editor:hover,
.bi-border.bi-rich-editor:hover,
.bi-border.bi-nic-editor.hover,
.bi-border.bi-rich-editor.hover {
border: 1px solid #3685f2;
}
.bi-border.bi-rich-editor-focus,
.bi-border.bi-nic-editor-focus {
border: 1px solid #3685f2;
-webkit-box-shadow: 0 0 0 2px #3685f2;
-moz-box-shadow: 0 0 0 2px #3685f2;
box-shadow: 0 0 0 2px #3685f2;
}
.bi-theme-dark .bi-border { .bi-theme-dark .bi-border {
border: 1px solid #525466; border: 1px solid #525466;
} }

9
src/less/core/utils/common.less

@ -135,15 +135,6 @@ textarea {
//边框 //边框
.bi-border { .bi-border {
border: 1px solid @color-bi-border-line; border: 1px solid @color-bi-border-line;
&.bi-nic-editor, &.bi-rich-editor {
&:hover, &.hover{
border: 1px solid @color-bi-border-highlight;
}
}
&.bi-rich-editor-focus, &.bi-nic-editor-focus {
border: 1px solid @color-bi-border-highlight;
.box-shadow(0 0 0 2px, @color-bi-border-highlight);
}
} }
.bi-theme-dark { .bi-theme-dark {

Loading…
Cancel
Save