imp 7 years ago
parent
commit
49819fa9dc
  1. 2
      bi/slider.js
  2. 3
      bi/widget.css
  3. 3
      dist/bundle.css
  4. 2
      dist/bundle.min.css
  5. 2
      dist/slider.js
  6. 3
      dist/widget.css
  7. 2
      src/addons/slider/singleslider/button/iconbutton.slider.js
  8. 3
      src/css/widget/singleslider/slider/widget.slider.css
  9. 5
      src/less/resource/cursor.less
  10. 3
      src/less/widget/singleslider/slider/widget.slider.less

2
bi/slider.js

@ -11,7 +11,7 @@ BI.SliderIconButton = BI.inherit(BI.Widget, {
BI.extend(BI.SliderIconButton.superclass._init.apply(this, arguments)); BI.extend(BI.SliderIconButton.superclass._init.apply(this, arguments));
this.slider = BI.createWidget({ this.slider = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "widget-slider-icon slider-button", cls: "widget-slider-icon slider-button cursor-drag",
iconWidth: 14, iconWidth: 14,
iconHeight: 14, iconHeight: 14,
height: 14, height: 14,

3
bi/widget.css

@ -432,8 +432,7 @@
/****添加计算宽度的--运算符直接需要space****/ /****添加计算宽度的--运算符直接需要space****/
/****** common color(常用颜色,可用于普遍场景) *****/ /****** common color(常用颜色,可用于普遍场景) *****/
/**** custom color(自定义颜色,用于特定场景) ****/ /**** custom color(自定义颜色,用于特定场景) ****/
.bi-single-slider-slider .slider-button { .bi-single-slider-button .slider-button {
cursor: url('images/1x/cursor/cursor_drag_slider.cur'), auto;
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);

3
dist/bundle.css vendored

@ -3209,8 +3209,7 @@ li.CodeMirror-hint-active {
/****添加计算宽度的--运算符直接需要space****/ /****添加计算宽度的--运算符直接需要space****/
/****** common color(常用颜色,可用于普遍场景) *****/ /****** common color(常用颜色,可用于普遍场景) *****/
/**** custom color(自定义颜色,用于特定场景) ****/ /**** custom color(自定义颜色,用于特定场景) ****/
.bi-single-slider-slider .slider-button { .bi-single-slider-button .slider-button {
cursor: url('images/1x/cursor/cursor_drag_slider.cur'), auto;
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/slider.js vendored

@ -11,7 +11,7 @@ BI.SliderIconButton = BI.inherit(BI.Widget, {
BI.extend(BI.SliderIconButton.superclass._init.apply(this, arguments)); BI.extend(BI.SliderIconButton.superclass._init.apply(this, arguments));
this.slider = BI.createWidget({ this.slider = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "widget-slider-icon slider-button", cls: "widget-slider-icon slider-button cursor-drag",
iconWidth: 14, iconWidth: 14,
iconHeight: 14, iconHeight: 14,
height: 14, height: 14,

3
dist/widget.css vendored

@ -432,8 +432,7 @@
/****添加计算宽度的--运算符直接需要space****/ /****添加计算宽度的--运算符直接需要space****/
/****** common color(常用颜色,可用于普遍场景) *****/ /****** common color(常用颜色,可用于普遍场景) *****/
/**** custom color(自定义颜色,用于特定场景) ****/ /**** custom color(自定义颜色,用于特定场景) ****/
.bi-single-slider-slider .slider-button { .bi-single-slider-button .slider-button {
cursor: url('images/1x/cursor/cursor_drag_slider.cur'), auto;
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);

2
src/addons/slider/singleslider/button/iconbutton.slider.js

@ -11,7 +11,7 @@ BI.SliderIconButton = BI.inherit(BI.Widget, {
BI.extend(BI.SliderIconButton.superclass._init.apply(this, arguments)); BI.extend(BI.SliderIconButton.superclass._init.apply(this, arguments));
this.slider = BI.createWidget({ this.slider = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "widget-slider-icon slider-button", cls: "widget-slider-icon slider-button cursor-drag",
iconWidth: 14, iconWidth: 14,
iconHeight: 14, iconHeight: 14,
height: 14, height: 14,

3
src/css/widget/singleslider/slider/widget.slider.css

@ -1,5 +1,4 @@
.bi-single-slider-slider .slider-button { .bi-single-slider-button .slider-button {
cursor: url('images/1x/cursor/cursor_drag_slider.cur'), auto;
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);

5
src/less/resource/cursor.less

@ -0,0 +1,5 @@
@import "../var";
.cursor-drag {
cursor: url(@sliderDragCursor), auto;
}

3
src/less/widget/singleslider/slider/widget.slider.less

@ -1,7 +1,6 @@
@import "../../../bibase"; @import "../../../bibase";
.bi-single-slider-slider{ .bi-single-slider-button{
& .slider-button{ & .slider-button{
cursor: url(@sliderDragCursor), auto;
.box-shadow(0 0 10px, rgba(0, 0, 0, 0.2)); .box-shadow(0 0 10px, rgba(0, 0, 0, 0.2));
.border-radius(7px); .border-radius(7px);
} }

Loading…
Cancel
Save