Skip to content

Instantly share code, notes, and snippets.

@gonzalad
Created February 21, 2012 17:14
Show Gist options
  • Save gonzalad/1877484 to your computer and use it in GitHub Desktop.
Save gonzalad/1877484 to your computer and use it in GitHub Desktop.
<u:selector name=".actionButtons, .modalButtons, .tableButtons">
<u:style name="margin" skin="actionButtonsMargin" default="0"/><!-- (1) -->
<f:if when="#{richSkin.blocButtonInversionOrdre eq 'true'}"><!-- (2) -->
<u:style name="overflow" value="hidden"/><!-- (3) -->
<u:style name="zoom" value="1"/><!-- (4) -->
</f:if>
</u:selector>
@bleathem
Copy link

.actionButtons, .modalButtons, .tableButtons {
    margin : #{actionButtonsMargin};
            overflow : #{richSkin.blocButtonInversionOrdre eq 'true' ? 'hidden' : '';
            zoom : #{richSkin.blocButtonInversionOrdre eq 'true' ? '' : '1';
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment