/* ** Plone style sheet - Portlets ** ** Style sheet documentation can be found at http://plone.org/documentation ** ** You should preferrably use ploneCustom.css to add your own CSS classes and to ** customize your portal, as these are the base fundaments of Plone, and will ** change and be refined in newer versions. Keeping your changes in ** ploneCustom.css will make it easier to upgrade. ** ** Feel free to use whole or parts of this for your own designs, but give credit ** where credit is due. ** */ /* (do not remove this :) */ /* (not this either :) */ /* The new portlet CSS - these will be switched to non-qualified classes (ie. .portlet, not dl.portlet) once the old portlet layout is removed in Plone 2.5. ~limi */ /* Main portlet elements */ dl.portlet { margin: 1px 0 1px 0; border-bottom: &dtml-borderWidth; &dtml-borderStyle; &dtml-globalBorderColor;; background-color: &dtml-backgroundColor;; } dl.portlet a { text-decoration: none; } .portlet a.tile { display: block; } /* XXX: The two below rules should really be in the rule above, but that makes the items grow/shrink on :hover (navtree) - need to investigate how to make it not do that. ~limi, Dec 2005 */ dd.portletItem a, dd.portletFooter a { border-bottom: none; } dd.portletItem a:visited, dd.portletFooter a:visited { color: &dtml-linkColor;; } .portletHeader { background-color: #7e90a9; border: &dtml-borderWidth; &dtml-borderStyle; &dtml-globalBorderColor;; padding: 2px; text-transform: &dtml-textTransform;; font-weight: normal; line-height: 1.6em; } .portletHeader a { color: #fff !important; text-transform:capitalize; } .portletItem { margin: 0; padding: 1em; border-left: &dtml-borderWidth; &dtml-borderStyle; &dtml-globalBorderColor;; border-right: &dtml-borderWidth; &dtml-borderStyle; &dtml-globalBorderColor;; } .portletItemDetails { text-align: right; display: block; color: &dtml-fontColor;; } dd.portletFooter { background-color: &dtml-evenRowBackgroundColor;; margin: 0; padding: 0.25em 1em; border: &dtml-borderWidth; &dtml-borderStyle; &dtml-globalBorderColor;; border-style: dotted &dtml-borderStyle; none &dtml-borderStyle;; text-align: right; } /* Elements that enable layout with rounded corners */ .portletTopLeft {} .portletTopRight {} .portletBottomLeft {} .portletBottomRight {} /* New navtree styles */ .portletNavigationTree { margin: 0 0 0 0.75em; padding: 0; list-style: none; list-style-image: none; line-height: 1em; } .navTree { list-style: none; list-style-image: none; margin-top: 1px; } .navTreeLocal { margin: 0 0 0 0.75em; } .navTree li { margin-bottom: 1px; } .navTreeItem { display: block; padding: 0; margin: 0; } .navTreeItem a, dd.portletItem .navTreeItem a { border: &dtml-borderWidth; &dtml-borderStyle; &dtml-backgroundColor;; display: block; text-decoration: none; padding-top: 0.2em; padding-bottom: 0.25em; } .navTreeItem a:hover, dd.portletItem .navTreeItem a:hover { background-color: &dtml-globalBackgroundColor;; color: &dtml-globalFontColor;; border: &dtml-borderWidth; &dtml-borderStyle; &dtml-globalBorderColor;; } .navTreeCurrentItem { background-color: &dtml-globalBackgroundColor;; color: &dtml-globalFontColor;; border: &dtml-borderWidth; &dtml-borderStyle; &dtml-globalBorderColor; !important; } li.navTreeCurrentItem { display: block; padding: 0 0 0 1px; margin: 0 0 2px -1px; } li.navTreeCurrentItem a, li.navTreeCurrentItem a:hover { display: block; border: &dtml-borderWidth; &dtml-borderStyle; &dtml-globalBackgroundColor;; min-height: 1.6em; line-height: 1.6em; height: auto; } .visualIconPadding, .actionMenu .actionMenuContent .visualIconPadding { padding-left: 0.5em; margin-bottom: 1px; min-height: 1.6em; height: auto; line-height: 1.6em; } /* Another workaround for broken Internet Explorer */ * html li.navTreeCurrentItem a, * html li.navTreeCurrentItem a:hover { height: 1.6em; } /* IE workaround to make sure the element is selectable in its full width */ * html .visualIconPadding { height: 1.6em; } .navTreeLevel0 { margin: 0; } .navTreeLevel1 { margin-left: 0.75em;} .navTreeLevel2 { margin-left: 0.75em; } .navTreeLevel3 { margin-left: 0.75em; } .navTreeLevel4 { margin-left: 0.75em; } .navTreeLevel5 { margin-left: 0.75em; } /* */