Author: nbelaevski
Date: 2010-08-18 15:54:07 -0400 (Wed, 18 Aug 2010)
New Revision: 18777
Added:
trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/html/images/SliderTrackGradient.java
Removed:
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/bg.gif
Modified:
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputNumberSlider.ecss
Log:
https://jira.jboss.org/browse/RF-9063
Added:
trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/html/images/SliderTrackGradient.java
===================================================================
---
trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/html/images/SliderTrackGradient.java
(rev 0)
+++
trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/html/images/SliderTrackGradient.java 2010-08-18
19:54:07 UTC (rev 18777)
@@ -0,0 +1,33 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+
+package org.richfaces.renderkit.html.images;
+
+import org.richfaces.renderkit.html.BaseGradient;
+import org.richfaces.skin.Skin;
+
+public class SliderTrackGradient extends BaseGradient {
+ public SliderTrackGradient() {
+ super(7, 10, 7, "tabBackgroundColor", Skin.CONTROL_BACKGROUND_COLOR);
+ }
+
+}
\ No newline at end of file
Deleted: trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/bg.gif
===================================================================
(Binary files differ)
Modified:
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputNumberSlider.ecss
===================================================================
---
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputNumberSlider.ecss 2010-08-18
19:41:15 UTC (rev 18776)
+++
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputNumberSlider.ecss 2010-08-18
19:54:07 UTC (rev 18777)
@@ -77,7 +77,7 @@
}
.rf-ins-t {
- background: url("#{resource['org.richfaces:bg.gif']}") 1px 1px
repeat-x #FFFFFF;
+ background:
url("#{resource['org.richfaces.renderkit.html.images.SliderTrackGradient']}")
1px 1px repeat-x #FFFFFF;
border: 1px solid #C0C0C0;
display: block;
height: 6px;