summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/slider/slider.css
diff options
context:
space:
mode:
Diffstat (limited to 'WebContent/VAADIN/themes/base/slider/slider.css')
-rw-r--r--WebContent/VAADIN/themes/base/slider/slider.css64
1 files changed, 64 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/slider/slider.css b/WebContent/VAADIN/themes/base/slider/slider.css
new file mode 100644
index 0000000000..2288cfc47a
--- /dev/null
+++ b/WebContent/VAADIN/themes/base/slider/slider.css
@@ -0,0 +1,64 @@
+.v-slider {
+ margin: 5px 0;
+}
+.v-slider-base {
+ /* changing the borders will require adjustments to ISlider.java */
+ height: 2px;
+ border-top: 1px solid #ddd;
+ background: #eee;
+ border-left: 1px solid #ddd;
+ border-right: 1px solid #eee;
+
+}
+.v-slider-handle {
+ background: #aaa;
+ width: 12px;
+ height: 12px;
+ margin-top: -5px;
+ font-size: 0;
+ cursor: pointer;
+}
+
+.v-slider-vertical {
+ width: 2px;
+ height: auto;
+ margin: 0 5px;
+ border: none;
+ border-left: 1px solid #cccfd0;
+ border-right: 1px solid #cccfd0;
+}
+.v-slider-vertical .v-slider-base {
+ width: 2px;
+ border-bottom: 1px solid #eee;
+ border-right: none;
+}
+.v-slider-vertical .v-slider-handle {
+ width: 12px;
+ height: 12px;
+ font-size: 0;
+ cursor: pointer;
+ margin-left: -5px;
+}
+
+/* Disabled by default
+.v-slider-error .v-slider-base {
+ background: #FFE0E0;
+}
+*/
+/* Disabled by default
+.v-slider-required .v-slider-base {
+ background: #FFE0E0;
+}
+*/
+
+/* IE specific styles */
+.v-ie6 .v-slider,
+.v-ie6 .v-slider-vertical {
+ margin: 0;
+}
+.v-ie6 .v-slider .v-slider-handle {
+ margin: -1px 0;
+}
+.v-ie6 .v-slider-vertical .v-slider-handle {
+ margin: 0 -1px;
+} \ No newline at end of file