[richfaces-svn-commits] JBoss Rich Faces SVN: r5228 - trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed Jan 9 10:55:09 EST 2008


Author: abelevich
Date: 2008-01-09 10:55:09 -0500 (Wed, 09 Jan 2008)
New Revision: 5228

Modified:
   trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss
Log:
add new styles

Modified: trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss
===================================================================
--- trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss	2008-01-09 15:53:19 UTC (rev 5227)
+++ trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss	2008-01-09 15:55:09 UTC (rev 5228)
@@ -14,13 +14,16 @@
 .rich-cb-font { 
 } 
 
+.rich-cb-font-disabled { 
+} 
+
 .rich-cb-field-disabled {
 	position : absolute; 
 	top : 0px; left : 0; 
 	padding-right :20px; 
 	padding-left :3px; 
 	margin : 0px; 
-	border : 1px solid #eeeeee; 
+	border : 1px solid; 
 	background-position:left top;
 	background-repeat:repeat-x; 
 }
@@ -60,6 +63,10 @@
 	
 }
 
+.rich-cb-width {
+	 width : 150px;
+}
+
 .rich-cb-strut { 
 	position : relative; 
 	visibility : hidden;  
@@ -90,22 +97,25 @@
 	border : 1px solid #C0C0C0; 
 }
 
-.rich-cb-button-bg-disabled {
-	background : top  repeat-x;
-} 
-
 .rich-cb-button-bg { 
 	background : top  repeat-x;
+	cursor : pointer;
 } 
 
 .rich-cb-button-bg-press { 
 	background : top  repeat-x;
+	cursor : pointer;
 } 
 
 .rich-cb-button-arrow { 
 	background : center  no-repeat; cursor : pointer;
 }
 
+.rich-cb-button-arrow-disabled { 
+	background : center  no-repeat; cursor : pointer;
+}
+
+
 ]]>
 
 </f:verbatim>
@@ -117,13 +127,6 @@
 		<u:style name="background-color" skin="tabBackgroundColor"/>
 	</u:selector>
 	
-	<u:selector name=".rich-cb-button-bg-disabled">
-		<u:style name="background-image">
-			<f:resource f:key="org.richfaces.renderkit.images.ComboBoxDisableButtonGradient" />
-		</u:style>
-		<u:style name="background-color" skin="tabBackgroundColor"/>
-	</u:selector>
-	
 	<u:selector name=".rich-cb-button-bg-press">
 		<u:style name="background-image">
 			<f:resource f:key="org.richfaces.renderkit.images.ComboBoxButtonPressGradient" />
@@ -137,6 +140,12 @@
 		</u:style>
 	</u:selector>
 	
+	<u:selector name=".rich-cb-button-arrow-disabled">
+		<u:style name="background-image">
+			<f:resource f:key="org.richfaces.renderkit.images.ComboBoxArrowImageDisable" />
+		</u:style>
+	</u:selector>
+	
 	<u:selector name=".rich-cb-button">
 		<u:style name="border-color" skin="panelBorderColor"/>
 	</u:selector>
@@ -147,6 +156,12 @@
 		<u:style name="color" skin="generalTextColor"/>
 	</u:selector>
 	
+	<u:selector name=".rich-cb-font-disabled">
+		<u:style name="color" skin="tabDisabledTextColor"/>
+		<u:style name="font-family" skin="headerFamilyFont"/>
+		<u:style name="font-size" skin="headerSizeFont"/>
+	</u:selector>
+	
 	<u:selector name=".rich-cb-field">
 		<u:style name="background-image">
 			<f:resource f:key="org.richfaces.renderkit.images.ComboBoxInputGradient" />
@@ -173,6 +188,8 @@
 		<u:style name="border-color" skin="generalTextColor"/>
 	</u:selector>
 	
+	<u:selector name=".rich-cb-field-disabled">
+		<u:style name="border-color" skin="tabBackgroundColor"/>
+	</u:selector>
 	
-	
 </f:template>




More information about the richfaces-svn-commits mailing list