Browse Source

Merge pull request #164 in ~GUY/fineui from ~IMP/fineui_guy:master to master

* commit 'f6dcbad62998152dc81c21d33fb4ddf9d4ff3494':
  update
  update
es6
imp 7 years ago
parent
commit
df39f18524
  1. 2
      bi/slider.js
  2. 1
      dist/index.html
  3. 2
      dist/resource.css
  4. 2
      dist/slider.js
  5. 2
      src/addons/slider/less/singleslider/slider/widget.slider.less
  6. 2
      src/addons/slider/singleslider/button/iconbutton.slider.js
  7. 2
      src/css/resource/cursor.css
  8. 2
      src/less/var.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 cursor-drag", cls: "cursor-drag widget-slider-icon slider-button",
iconWidth: 14, iconWidth: 14,
iconHeight: 14, iconHeight: 14,
height: 14, height: 14,

1
dist/index.html vendored

@ -9,6 +9,7 @@
<link rel="stylesheet" type="text/css" href="widget.css" /> <link rel="stylesheet" type="text/css" href="widget.css" />
<link rel="stylesheet" type="text/css" href="resource.css" /> <link rel="stylesheet" type="text/css" href="resource.css" />
<link rel="stylesheet" type="text/css" href="demo.css" /> <link rel="stylesheet" type="text/css" href="demo.css" />
<link rel="stylesheet" type="text/css" href="slider.css" />
<script src="config.js"></script> <script src="config.js"></script>
<script src="polyfill.js"></script> <script src="polyfill.js"></script>

2
dist/resource.css vendored

@ -133,7 +133,7 @@ textarea::-webkit-scrollbar-thumb:hover {
_background: none; _background: none;
} }
.cursor-drag { .cursor-drag {
cursor: url('images/1x/cursor/cursor_drag_slider.cur'), auto; cursor: url('cursor/cursor_drag_hand.cur'), auto;
} }
@font-face { @font-face {
font-family: 'bi'; font-family: 'bi';

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 cursor-drag", cls: "cursor-drag widget-slider-icon slider-button",
iconWidth: 14, iconWidth: 14,
iconHeight: 14, iconHeight: 14,
height: 14, height: 14,

2
src/addons/slider/less/singleslider/slider/widget.slider.less

@ -1,4 +1,4 @@
@import "../../../bibase"; @import "../../../../../less/bibase";
.bi-single-slider-button{ .bi-single-slider-button{
& .slider-button{ & .slider-button{
.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 cursor-drag", cls: "cursor-drag widget-slider-icon slider-button",
iconWidth: 14, iconWidth: 14,
iconHeight: 14, iconHeight: 14,
height: 14, height: 14,

2
src/css/resource/cursor.css

@ -1,3 +1,3 @@
.cursor-drag { .cursor-drag {
cursor: url('images/1x/cursor/cursor_drag_slider.cur'), auto; cursor: url('cursor/cursor_drag_hand.cur'), auto;
} }

2
src/less/var.less

@ -5,7 +5,7 @@
@cursor: '@{webUrl}images/cursor/cursor_hand.cur'; @cursor: '@{webUrl}images/cursor/cursor_hand.cur';
@dragCursor: '@{webUrl}images/cursor/cursor_drag_hand.cur'; @dragCursor: '@{webUrl}images/cursor/cursor_drag_hand.cur';
@leftRightCursor: '@{webUrl}images/cursor/cursor_left_right.cur'; @leftRightCursor: '@{webUrl}images/cursor/cursor_left_right.cur';
@sliderDragCursor: '@{imageUrl}cursor/cursor_drag_slider.cur'; @sliderDragCursor: '@{webUrl}cursor/cursor_drag_hand.cur';
@zIndex-layer: 100000; @zIndex-layer: 100000;
@zIndex-floatbox: 1000000; @zIndex-floatbox: 1000000;

Loading…
Cancel
Save