Index: trunk/extensions/CentralNotice/SpecialNoticeText.php |
— | — | @@ -97,15 +97,16 @@ |
98 | 98 | function getToggleScripts() { |
99 | 99 | $showStyle = <<<END |
100 | 100 | <style type="text/css"> |
101 | | -#centralNotice .siteNoticeSmall{display:none;} |
102 | | -#centralNotice .siteNoticeSmallAnon{display:none;} |
103 | | -#centralNotice .siteNoticeSmallUser{display:none;} |
104 | | -#centralNotice.collapsed .siteNoticeBig{display:none;} |
105 | | -#centralNotice.collapsed .siteNoticeSmall{display:block;} |
106 | | -#centralNotice.collapsed .siteNoticeSmallUser{display:block;} |
107 | | -#centralNotice.collapsed .siteNoticeSmallAnon{display:block;} |
108 | | -#centralNotice.anonnotice .siteNoticeSmallUser{display:none !important;} |
109 | | -#centralNotice.usernotice .siteNoticeSmallAnon{display:none !important;} |
| 101 | +#centralNotice {margin-bottom: 1em;} |
| 102 | +#centralNotice .siteNoticeSmall {display:none;} |
| 103 | +#centralNotice .siteNoticeSmallAnon {display:none;} |
| 104 | +#centralNotice .siteNoticeSmallUser {display:none;} |
| 105 | +#centralNotice.collapsed .siteNoticeBig {display:none;} |
| 106 | +#centralNotice.collapsed .siteNoticeSmall {display:block;} |
| 107 | +#centralNotice.collapsed .siteNoticeSmallUser {display:block;} |
| 108 | +#centralNotice.collapsed .siteNoticeSmallAnon {display:block;} |
| 109 | +#centralNotice.anonnotice .siteNoticeSmallUser {display:none !important;} |
| 110 | +#centralNotice.usernotice .siteNoticeSmallAnon {display:none !important;} |
110 | 111 | </style> |
111 | 112 | END; |
112 | 113 | $encShowStyle = Xml::encodeJsVar( $showStyle ); |