Index: trunk/extensions/WebFonts/resources/ext.webfonts.modern.css |
— | — | @@ -0,0 +1,29 @@ |
| 2 | +#p-personal { |
| 3 | + /* #p-personal has overflow:hidden. That makes a dropdown menu appearing hidden. |
| 4 | + * overriding it this way may not be the best way. |
| 5 | + */ |
| 6 | + overflow: visible!important; |
| 7 | +} |
| 8 | + |
| 9 | +div#webfonts-menu li { |
| 10 | + background-color: #FFFFFF; |
| 11 | + font-weight: normal; |
| 12 | + white-space: nowrap; |
| 13 | + text-transform: none; |
| 14 | + font-variant: normal; |
| 15 | +} |
| 16 | + |
| 17 | +div#webfonts-menu ul { |
| 18 | + border: solid 1px silver; |
| 19 | + background-color: #FFFFFF; |
| 20 | + height: auto; |
| 21 | +} |
| 22 | + |
| 23 | +div#webfonts-menu li a:hover{ |
| 24 | + color: #0645AD; |
| 25 | +} |
| 26 | + |
| 27 | +div#webfonts-menu li:hover { |
| 28 | + background-color: #FFFFFF; |
| 29 | +} |
| 30 | + |
Property changes on: trunk/extensions/WebFonts/resources/ext.webfonts.modern.css |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 31 | + native |
Index: trunk/extensions/WebFonts/WebFonts.php |
— | — | @@ -51,6 +51,9 @@ |
52 | 52 | $wgResourceModules['ext.webfonts.core'] = array( |
53 | 53 | 'scripts' => array( 'resources/ext.webfonts.js', 'resources/ext.webfonts.fontlist.js' ), |
54 | 54 | 'styles' => 'resources/ext.webfonts.css', |
| 55 | + 'skinStyles' => array( |
| 56 | + 'modern' => 'resources/ext.webfonts.modern.css', |
| 57 | + ), |
55 | 58 | 'localBasePath' => $dir, |
56 | 59 | 'remoteExtPath' => 'WebFonts', |
57 | 60 | 'messages' => array( 'webfonts-load', 'webfonts-reset' ), |