Author: abelevich
Date: 2011-01-31 09:45:02 -0500 (Mon, 31 Jan 2011)
New Revision: 21325
Modified:
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/panelMenu.ecss
trunk/ui/output/ui/src/main/resources/META-INF/richfaces/resource-mappings.properties
Log:
RF-10353 Panels: update disabled items styling
Modified:
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/panelMenu.ecss
===================================================================
---
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/panelMenu.ecss 2011-01-31
14:40:12 UTC (rev 21324)
+++
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/panelMenu.ecss 2011-01-31
14:45:02 UTC (rev 21325)
@@ -180,6 +180,8 @@
border-width: 1px;
border-style: solid;
border-color: '#{richSkin.panelBorderColor}';
+ margin-bottom: 3px;
+ padding: 1px;
}
.rf-pm-top-gr-hov {
@@ -209,7 +211,22 @@
font-weight: bold;
}
-.rf-pm-top-gr-hdr-dis, .rf-pm-gr-hdr-dis, .rf-pm-itm-dis, .rf-pm-top-itm-dis {
+.rf-pm-top-gr-hdr-dis {
+ color: '#{richSkin.tabDisabledTextColor}';
+ padding: 2px 1px 2px 2px;
+ cursor: default;
+ padding-top: 2px;
+ cursor: pointer;
+ white-space: nowrap;
+
+ background-image:
"url(#{resource['org.richfaces.images:pmenu_bg_dis.png']})";
+ background-position: top left;
+ background-repeat: repeat-x;
+ background-color: '#{richSkin.additionalBackgroundColor}';
+ font-weight: bold;
+}
+
+.rf-pm-gr-hdr-dis, .rf-pm-itm-dis, .rf-pm-top-itm-dis {
color: '#{richSkin.tabDisabledTextColor}';
cursor: default;
}
Modified:
trunk/ui/output/ui/src/main/resources/META-INF/richfaces/resource-mappings.properties
===================================================================
---
trunk/ui/output/ui/src/main/resources/META-INF/richfaces/resource-mappings.properties 2011-01-31
14:40:12 UTC (rev 21324)
+++
trunk/ui/output/ui/src/main/resources/META-INF/richfaces/resource-mappings.properties 2011-01-31
14:45:02 UTC (rev 21325)
@@ -9,6 +9,9 @@
org.richfaces.images\:pmenu_bg.png=org.richfaces.renderkit.html.BaseGradient\
{width=5, height=26, baseColorParam=headerGradientColor,
gradientColorParam=headerBackgroundColor}
+
+org.richfaces.images\:pmenu_bg_dis.png=org.richfaces.renderkit.html.BaseGradient\
+ {width=2, height=27, baseColorParam=additionalBackgroundColor,
gradientColorParam=headerGradientColor}
org.richfaces.images\:actLeftTabBg.png=org.richfaces.renderkit.html.BaseGradient\
{width=26, height=5, baseColorParam=tabBackgroundColor,
gradientColorParam=generalBackgroundColor, horizontal=true}
Show replies by date