Permalink
Browse files

Include custom workflow state styles based on badges

  • Loading branch information...
potzenheimer committed Aug 28, 2012
1 parent d533f5a commit b743f8a51ef085e1e90726245da692489f72423f
Showing with 29 additions and 0 deletions.
  1. +29 −0 src/example.sitetheme/example/sitetheme/resources/less/cmsui.less
@@ -200,6 +200,35 @@ dl.portalMessage {
}
}
+/* Pulldown menu state indicators */
+
+#plone-contentmenu-workflow {
+ .state-private,
+ .state-visible,
+ .state-published,
+ .state-pending,
+ .state-expired {
+ text-shadow: none;
+ border: none;
+ .badge();
+ }
+ .state-private {
+ background-color: @errorText;
+ }
+ .state-published {
+ background-color: @successText;
+ }
+ .state-pending {
+ background-color: @infoText;
+ }
+ .state-expired {
+ background-color: @orange;
+ }
+ .state-visible {
+ background-color: @grayDark;
+ }
+}
+
/* styling for overlays (popups) */
div.overlay {

0 comments on commit b743f8a

Please sign in to comment.