Index: trunk/extensions/SocialProfile/UserProfile/UserProfile.css |
— | — | @@ -567,6 +567,14 @@ |
568 | 568 | color:#466C2C; |
569 | 569 | } |
570 | 570 | |
| 571 | +.profile-tab a:visited { |
| 572 | + color: #FFFFFF !important; |
| 573 | +} |
| 574 | + |
| 575 | +.profile-tab-on a:visited { |
| 576 | + color: #FFFFFF !important; |
| 577 | +} |
| 578 | + |
571 | 579 | .profile-update-button { |
572 | 580 | background-color:#78BA5D; |
573 | 581 | border:1px solid #6B6B6B; |
Index: trunk/extensions/SocialProfile/UserProfile/SpecialUpdateProfile.php |
— | — | @@ -66,8 +66,6 @@ |
67 | 67 | // Add CSS & JS |
68 | 68 | $wgOut->addStyle( '../..' . $wgUserProfileScripts . '/UserProfile.css' ); |
69 | 69 | $wgOut->addScriptFile( $wgUserProfileScripts.'/UpdateProfile.js' ); |
70 | | - // Nasty hack since UserProfile.css is loaded before skin's main.css |
71 | | - $wgOut->addHTML( '<style>.profile-tab a:visited { color: #FFFFFF; } .profile-tab-on a:visited { color: #FFFFFF; }</style>' ); |
72 | 70 | |
73 | 71 | if( $wgRequest->wasPosted() ){ |
74 | 72 | //$section = $wgRequest->getVal('section'); |
Index: trunk/extensions/SocialProfile/UserProfile/SpecialUploadAvatar.php |
— | — | @@ -49,8 +49,6 @@ |
50 | 50 | $wgOut->setHTMLTitle( wfMsg( 'pagetitle', wfMsg('user-profile-picture-title') ) ); |
51 | 51 | |
52 | 52 | $wgOut->addStyle( '../..' . $wgUserProfileScripts . '/UserProfile.css' ); |
53 | | - // Nasty hack since UserProfile.css is loaded before skin's main.css |
54 | | - $wgOut->addHTML( '<style>.profile-tab a:visited { color: #FFFFFF; } .profile-tab-on a:visited { color: #FFFFFF; }</style>' ); |
55 | 53 | $this->initAvatar($wgRequest); |
56 | 54 | $this->executeAvatar(); |
57 | 55 | } |