Browse Source

Merge remote-tracking branch 'origin/master'

master
guy 7 years ago
parent
commit
4615f1363b
  1. 9
      bi/base.css
  2. 9
      bi/sliders.js
  3. 9
      dist/base.css
  4. 9
      dist/bundle.css
  5. 2
      dist/bundle.min.css
  6. 9
      dist/sliders.js
  7. 7
      src/addons/sliders/js/intervalslider/intervalslider.js
  8. 2
      src/addons/sliders/js/singleslider/singleslider.js
  9. 9
      src/css/base/single/input/input.css
  10. 2
      src/less/base/single/input/input.less

9
bi/base.css

@ -884,7 +884,8 @@ li.CodeMirror-hint-active {
filter: alpha(opacity=0); filter: alpha(opacity=0);
z-index: 2; z-index: 2;
} }
.bi-input { .bi-input,
.bi-textarea {
border: none; border: none;
outline: none; outline: none;
background-color: transparent; background-color: transparent;
@ -893,10 +894,12 @@ li.CodeMirror-hint-active {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.bi-input.bi-input-focus { .bi-input.bi-input-focus,
.bi-textarea.bi-input-focus {
border: none; border: none;
} }
.bi-input.bi-input-error { .bi-input.bi-input-error,
.bi-textarea.bi-input-error {
border: none; border: none;
color: #e85050 !important; color: #e85050 !important;
} }

9
bi/sliders.js

@ -6,7 +6,6 @@ BI.IntervalSlider = BI.inherit(BI.Widget, {
EDITOR_WIDTH: 58, EDITOR_WIDTH: 58,
EDITOR_R_GAP: 60, EDITOR_R_GAP: 60,
EDITOR_HEIGHT: 30, EDITOR_HEIGHT: 30,
HEIGHT: 28,
SLIDER_WIDTH_HALF: 15, SLIDER_WIDTH_HALF: 15,
SLIDER_WIDTH: 30, SLIDER_WIDTH: 30,
SLIDER_HEIGHT: 30, SLIDER_HEIGHT: 30,
@ -51,7 +50,6 @@ BI.IntervalSlider = BI.inherit(BI.Widget, {
cls: "slider-editor-button", cls: "slider-editor-button",
errorText: "", errorText: "",
allowBlank: false, allowBlank: false,
height: c.HEIGHT,
width: c.EDITOR_WIDTH, width: c.EDITOR_WIDTH,
validationChecker: function (v) { validationChecker: function (v) {
return self._checkValidation(v); return self._checkValidation(v);
@ -78,7 +76,6 @@ BI.IntervalSlider = BI.inherit(BI.Widget, {
cls: "slider-editor-button", cls: "slider-editor-button",
errorText: "", errorText: "",
allowBlank: false, allowBlank: false,
height: c.HEIGHT,
width: c.EDITOR_WIDTH, width: c.EDITOR_WIDTH,
validationChecker: function (v) { validationChecker: function (v) {
return self._checkValidation(v); return self._checkValidation(v);
@ -122,6 +119,10 @@ BI.IntervalSlider = BI.inherit(BI.Widget, {
var significantPercent = BI.parseFloat(percent.toFixed(1)); var significantPercent = BI.parseFloat(percent.toFixed(1));
self._setSliderOnePosition(significantPercent); self._setSliderOnePosition(significantPercent);
self.fireEvent(BI.IntervalSlider.EVENT_CHANGE); self.fireEvent(BI.IntervalSlider.EVENT_CHANGE);
ui.helper.removeClass("dragging");
},
start: function (e, ui) {
ui.helper.removeClass("dragging").addClass("dragging");
} }
}); });
@ -1183,7 +1184,6 @@ BI.SingleSlider = BI.inherit(BI.Widget, {
_constant: { _constant: {
EDITOR_WIDTH: 90, EDITOR_WIDTH: 90,
EDITOR_HEIGHT: 30, EDITOR_HEIGHT: 30,
HEIGHT: 28,
SLIDER_WIDTH_HALF: 15, SLIDER_WIDTH_HALF: 15,
SLIDER_WIDTH: 30, SLIDER_WIDTH: 30,
SLIDER_HEIGHT: 30, SLIDER_HEIGHT: 30,
@ -1276,7 +1276,6 @@ BI.SingleSlider = BI.inherit(BI.Widget, {
type: "bi.sign_editor", type: "bi.sign_editor",
cls: "slider-editor-button", cls: "slider-editor-button",
errorText: "", errorText: "",
height: c.HEIGHT,
width: c.EDITOR_WIDTH - 2, width: c.EDITOR_WIDTH - 2,
allowBlank: false, allowBlank: false,
validationChecker: function (v) { validationChecker: function (v) {

9
dist/base.css vendored

@ -884,7 +884,8 @@ li.CodeMirror-hint-active {
filter: alpha(opacity=0); filter: alpha(opacity=0);
z-index: 2; z-index: 2;
} }
.bi-input { .bi-input,
.bi-textarea {
border: none; border: none;
outline: none; outline: none;
background-color: transparent; background-color: transparent;
@ -893,10 +894,12 @@ li.CodeMirror-hint-active {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.bi-input.bi-input-focus { .bi-input.bi-input-focus,
.bi-textarea.bi-input-focus {
border: none; border: none;
} }
.bi-input.bi-input-error { .bi-input.bi-input-error,
.bi-textarea.bi-input-error {
border: none; border: none;
color: #e85050 !important; color: #e85050 !important;
} }

9
dist/bundle.css vendored

@ -2463,7 +2463,8 @@ li.CodeMirror-hint-active {
filter: alpha(opacity=0); filter: alpha(opacity=0);
z-index: 2; z-index: 2;
} }
.bi-input { .bi-input,
.bi-textarea {
border: none; border: none;
outline: none; outline: none;
background-color: transparent; background-color: transparent;
@ -2472,10 +2473,12 @@ li.CodeMirror-hint-active {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.bi-input.bi-input-focus { .bi-input.bi-input-focus,
.bi-textarea.bi-input-focus {
border: none; border: none;
} }
.bi-input.bi-input-error { .bi-input.bi-input-error,
.bi-textarea.bi-input-error {
border: none; border: none;
color: #e85050 !important; color: #e85050 !important;
} }

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

9
dist/sliders.js vendored

@ -6,7 +6,6 @@ BI.IntervalSlider = BI.inherit(BI.Widget, {
EDITOR_WIDTH: 58, EDITOR_WIDTH: 58,
EDITOR_R_GAP: 60, EDITOR_R_GAP: 60,
EDITOR_HEIGHT: 30, EDITOR_HEIGHT: 30,
HEIGHT: 28,
SLIDER_WIDTH_HALF: 15, SLIDER_WIDTH_HALF: 15,
SLIDER_WIDTH: 30, SLIDER_WIDTH: 30,
SLIDER_HEIGHT: 30, SLIDER_HEIGHT: 30,
@ -51,7 +50,6 @@ BI.IntervalSlider = BI.inherit(BI.Widget, {
cls: "slider-editor-button", cls: "slider-editor-button",
errorText: "", errorText: "",
allowBlank: false, allowBlank: false,
height: c.HEIGHT,
width: c.EDITOR_WIDTH, width: c.EDITOR_WIDTH,
validationChecker: function (v) { validationChecker: function (v) {
return self._checkValidation(v); return self._checkValidation(v);
@ -78,7 +76,6 @@ BI.IntervalSlider = BI.inherit(BI.Widget, {
cls: "slider-editor-button", cls: "slider-editor-button",
errorText: "", errorText: "",
allowBlank: false, allowBlank: false,
height: c.HEIGHT,
width: c.EDITOR_WIDTH, width: c.EDITOR_WIDTH,
validationChecker: function (v) { validationChecker: function (v) {
return self._checkValidation(v); return self._checkValidation(v);
@ -122,6 +119,10 @@ BI.IntervalSlider = BI.inherit(BI.Widget, {
var significantPercent = BI.parseFloat(percent.toFixed(1)); var significantPercent = BI.parseFloat(percent.toFixed(1));
self._setSliderOnePosition(significantPercent); self._setSliderOnePosition(significantPercent);
self.fireEvent(BI.IntervalSlider.EVENT_CHANGE); self.fireEvent(BI.IntervalSlider.EVENT_CHANGE);
ui.helper.removeClass("dragging");
},
start: function (e, ui) {
ui.helper.removeClass("dragging").addClass("dragging");
} }
}); });
@ -1183,7 +1184,6 @@ BI.SingleSlider = BI.inherit(BI.Widget, {
_constant: { _constant: {
EDITOR_WIDTH: 90, EDITOR_WIDTH: 90,
EDITOR_HEIGHT: 30, EDITOR_HEIGHT: 30,
HEIGHT: 28,
SLIDER_WIDTH_HALF: 15, SLIDER_WIDTH_HALF: 15,
SLIDER_WIDTH: 30, SLIDER_WIDTH: 30,
SLIDER_HEIGHT: 30, SLIDER_HEIGHT: 30,
@ -1276,7 +1276,6 @@ BI.SingleSlider = BI.inherit(BI.Widget, {
type: "bi.sign_editor", type: "bi.sign_editor",
cls: "slider-editor-button", cls: "slider-editor-button",
errorText: "", errorText: "",
height: c.HEIGHT,
width: c.EDITOR_WIDTH - 2, width: c.EDITOR_WIDTH - 2,
allowBlank: false, allowBlank: false,
validationChecker: function (v) { validationChecker: function (v) {

7
src/addons/sliders/js/intervalslider/intervalslider.js

@ -6,7 +6,6 @@ BI.IntervalSlider = BI.inherit(BI.Widget, {
EDITOR_WIDTH: 58, EDITOR_WIDTH: 58,
EDITOR_R_GAP: 60, EDITOR_R_GAP: 60,
EDITOR_HEIGHT: 30, EDITOR_HEIGHT: 30,
HEIGHT: 28,
SLIDER_WIDTH_HALF: 15, SLIDER_WIDTH_HALF: 15,
SLIDER_WIDTH: 30, SLIDER_WIDTH: 30,
SLIDER_HEIGHT: 30, SLIDER_HEIGHT: 30,
@ -51,7 +50,6 @@ BI.IntervalSlider = BI.inherit(BI.Widget, {
cls: "slider-editor-button", cls: "slider-editor-button",
errorText: "", errorText: "",
allowBlank: false, allowBlank: false,
height: c.HEIGHT,
width: c.EDITOR_WIDTH, width: c.EDITOR_WIDTH,
validationChecker: function (v) { validationChecker: function (v) {
return self._checkValidation(v); return self._checkValidation(v);
@ -78,7 +76,6 @@ BI.IntervalSlider = BI.inherit(BI.Widget, {
cls: "slider-editor-button", cls: "slider-editor-button",
errorText: "", errorText: "",
allowBlank: false, allowBlank: false,
height: c.HEIGHT,
width: c.EDITOR_WIDTH, width: c.EDITOR_WIDTH,
validationChecker: function (v) { validationChecker: function (v) {
return self._checkValidation(v); return self._checkValidation(v);
@ -122,6 +119,10 @@ BI.IntervalSlider = BI.inherit(BI.Widget, {
var significantPercent = BI.parseFloat(percent.toFixed(1)); var significantPercent = BI.parseFloat(percent.toFixed(1));
self._setSliderOnePosition(significantPercent); self._setSliderOnePosition(significantPercent);
self.fireEvent(BI.IntervalSlider.EVENT_CHANGE); self.fireEvent(BI.IntervalSlider.EVENT_CHANGE);
ui.helper.removeClass("dragging");
},
start: function (e, ui) {
ui.helper.removeClass("dragging").addClass("dragging");
} }
}); });

2
src/addons/sliders/js/singleslider/singleslider.js

@ -5,7 +5,6 @@ BI.SingleSlider = BI.inherit(BI.Widget, {
_constant: { _constant: {
EDITOR_WIDTH: 90, EDITOR_WIDTH: 90,
EDITOR_HEIGHT: 30, EDITOR_HEIGHT: 30,
HEIGHT: 28,
SLIDER_WIDTH_HALF: 15, SLIDER_WIDTH_HALF: 15,
SLIDER_WIDTH: 30, SLIDER_WIDTH: 30,
SLIDER_HEIGHT: 30, SLIDER_HEIGHT: 30,
@ -98,7 +97,6 @@ BI.SingleSlider = BI.inherit(BI.Widget, {
type: "bi.sign_editor", type: "bi.sign_editor",
cls: "slider-editor-button", cls: "slider-editor-button",
errorText: "", errorText: "",
height: c.HEIGHT,
width: c.EDITOR_WIDTH - 2, width: c.EDITOR_WIDTH - 2,
allowBlank: false, allowBlank: false,
validationChecker: function (v) { validationChecker: function (v) {

9
src/css/base/single/input/input.css

@ -1,4 +1,5 @@
.bi-input { .bi-input,
.bi-textarea {
border: none; border: none;
outline: none; outline: none;
background-color: transparent; background-color: transparent;
@ -7,10 +8,12 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.bi-input.bi-input-focus { .bi-input.bi-input-focus,
.bi-textarea.bi-input-focus {
border: none; border: none;
} }
.bi-input.bi-input-error { .bi-input.bi-input-error,
.bi-textarea.bi-input-error {
border: none; border: none;
color: #e85050 !important; color: #e85050 !important;
} }

2
src/less/base/single/input/input.less

@ -1,6 +1,6 @@
@import "../../../bibase"; @import "../../../bibase";
.bi-input{ .bi-input, .bi-textarea{
border: none; border: none;
outline: none; outline: none;
background-color: transparent; background-color: transparent;

Loading…
Cancel
Save