diff options
Diffstat (limited to 'WebContent/VAADIN/themes/runo/slider/slider.scss')
-rw-r--r-- | WebContent/VAADIN/themes/runo/slider/slider.scss | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/runo/slider/slider.scss b/WebContent/VAADIN/themes/runo/slider/slider.scss new file mode 100644 index 0000000000..3bc9e28702 --- /dev/null +++ b/WebContent/VAADIN/themes/runo/slider/slider.scss @@ -0,0 +1,73 @@ +@mixin runo-slider { + +.v-slider { + border-top: 1px solid #cccfd0; + border-bottom: 1px solid #cccfd0; + margin: 5px 0; +} +.v-slider-base { + /* changing the borders will require adjustments to ISlider.java */ + height: 2px; + background: #f3f3f4; + border-top: 1px solid #cbcdce; + border-left: 1px solid #cccfd0; + border-right: 1px solid #cccfd0; +} +.v-slider-handle { + background: transparent url(img/handle-horizontal.png); + width: 12px; + height: 12px; + margin-top: -5px; + cursor: pointer; +} +.v-slider-handle:hover { + background-position: left bottom; +} +.v-slider-scrollbar .v-slider-handle, +.v-slider-scrollbar.v-slider-vertical .v-slider-handle { + background: #ffffff; + border: 1px solid #cccfd0; + border-radius: 6px; + -moz-border-radius: 6px; + -webkit-border-radius: 6px; +} + +.v-slider-vertical { + width: 3px; + margin: 0 5px; + border: none; + border-left: 1px solid #cccfd0; + border-right: 1px solid #cccfd0; +} +.v-slider-vertical .v-slider-base { + width: 2px; + border-left: 1px solid #cbcdce; + border-right: none; + background: #f3f3f4; + border-top: 1px solid #cccfd0; + border-bottom: 1px solid #cccfd0; +} +.v-slider-vertical .v-slider-handle { + background: transparent url(img/handle-vertical.png); + width: 12px; + height: 12px; + margin-left: -5px; +} +.v-slider-vertical .v-slider-handle-active { + background-position: left bottom; +} + +/* Disabled by default +.v-slider-error .v-slider-base { + background:transparent; + background-color: #FFE0E0; +} +*/ + +/* Disabled by default +.v-slider-required .v-slider-base { + background:transparent; + background-color: #FFE0E0; +} +*/ +}
\ No newline at end of file |