Author: abelevich
Date: 2008-09-26 11:05:19 -0400 (Fri, 26 Sep 2008)
New Revision: 10585
Added:
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/comboboxstyles.js
Log:
https://jira.jboss.org/jira/browse/RF-4280
Added:
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/comboboxstyles.js
===================================================================
---
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/comboboxstyles.js
(rev 0)
+++
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/comboboxstyles.js 2008-09-26
15:05:19 UTC (rev 10585)
@@ -0,0 +1,55 @@
+if (!window.Richfaces) window.Richfaces = {};
+if (!Richfaces.ComboBox) Richfaces.ComboBox = {};
+
+Richfaces.ComboBox.classes = {
+ button : { classes : {
+ normal : "rich-combobox-font-inactive rich-combobox-button-icon-inactive
rich-combobox-button-inactive #{buttonInactiveClass}",
+ active : "rich-combobox-font rich-combobox-button-icon rich-combobox-button
#{buttonClass}",
+ disabled : "rich-combobox-font-disabled rich-combobox-button-icon-disabled
rich-combobox-button-disabled #{buttonDisabledClass}",
+ hovered : "rich-combobox-button-hovered"},
+
+ style : {
+ normal: "#{buttonInactiveStyle}",
+ active: "#{buttonStyle}",
+ disabled: "#{buttonDisabledStyle}"}
+ },
+
+ buttonbg : {
+ classes : {
+ normal:"rich-combobox-font-inactive rich-combobox-button-background-inactive
rich-combobox-button-inactive",
+ active: "rich-combobox-font rich-combobox-button-background
rich-combobox-button",
+ disabled : "rich-combobox-font-disabled rich-combobox-button-background-disabled
rich-combobox-button-disabled"}
+ },
+
+ buttonicon : {style : {
+ normal: "#{buttonIconInactive}",
+ active: "#{buttonIcon}",
+ disabled: "#{buttonIconDisabled}"}
+ },
+
+ field : {classes: {
+ normal : "rich-combobox-font-inactive rich-combobox-input-inactive
#{inputInactiveClass}",
+ active : "rich-combobox-font rich-combobox-input #{inputClass}",
+ disabled : "rich-combobox-font-disabled rich-combobox-input-disabled
#{inputDisabledClass}"
+ },
+
+ style : {
+ normal : "#{inputInactiveStyle}",
+ active : "#{inputStyle}",
+ disabled : "#{inputDisabledStyle}"
+ }
+ },
+
+ combolist : {
+ list : {
+ classes :{
+ active : "rich-combobox-list-cord rich-combobox-list-scroll
rich-combobox-list-decoration rich-combobox-list-position #{listClass}"},
+ style : {active: "#{listStyle}"
+ }
+ },
+
+ item : {normal : "rich-combobox-item #{itemClass}",
+ selected : "rich-combobox-item rich-combobox-item-selected
#{itemSelectedClass}"
+ }
+ }
+}
\ No newline at end of file