summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/assets
diff options
context:
space:
mode:
authortof <>2007-09-04 08:56:24 +0000
committertof <>2007-09-04 08:56:24 +0000
commit918ed9fd995cc3e958bb0d48c8d234717facf181 (patch)
tree7638b6194cb5af299b6c619463e7497456affed4 /framework/Web/UI/WebControls/assets
parent7d27d36860395c140557f415bcde52679fab9e2a (diff)
Merge TSlider component from 3.2-dev branch.
Diffstat (limited to 'framework/Web/UI/WebControls/assets')
-rwxr-xr-xframework/Web/UI/WebControls/assets/TSlider.css55
-rw-r--r--framework/Web/UI/WebControls/assets/TSliderHandle.pngbin0 -> 717 bytes
2 files changed, 55 insertions, 0 deletions
diff --git a/framework/Web/UI/WebControls/assets/TSlider.css b/framework/Web/UI/WebControls/assets/TSlider.css
new file mode 100755
index 00000000..3b068c2f
--- /dev/null
+++ b/framework/Web/UI/WebControls/assets/TSlider.css
@@ -0,0 +1,55 @@
+/* Css class for an Horizontal Slider */
+.hslider
+{
+ background-color: rgb(170,170,170);
+ width: 200px;
+ height: 5px;
+}
+
+/* Css class for a Vertical Slider */
+.vslider
+{
+ background-color: rgb(170,170,170);
+ width: 5px;
+ height: 200px;
+}
+
+/* Css class for a block cursor as handle */
+.handle
+{
+ background-color: red;
+ cursor: move;
+}
+
+/* Dimensions of cursor depend on Direction */
+.hslider .handle
+{
+ width: 5px;
+ height: 10px;
+}
+
+.vslider .handle
+{
+ width: 10px;
+ height: 5px;
+}
+
+/* Css class for an image as handle */
+.handle-image
+{
+ width: 14px;
+ height: 15px;
+ cursor: move;
+ background: url("TSliderHandle.png") no-repeat;
+}
+
+/* Center the image on the track */
+.hslider .handle-image
+{
+ top: -5px;
+}
+
+.vslider .handle-image
+{
+ left: -5px;
+} \ No newline at end of file
diff --git a/framework/Web/UI/WebControls/assets/TSliderHandle.png b/framework/Web/UI/WebControls/assets/TSliderHandle.png
new file mode 100644
index 00000000..47d02e88
--- /dev/null
+++ b/framework/Web/UI/WebControls/assets/TSliderHandle.png
Binary files differ