Some CSS fixes to avoid overriding where it shouldn't be
authorTrevor Parscal <tparscal@users.mediawiki.org>
Wed, 17 Jun 2009 19:00:45 +0000 (19:00 +0000)
committerTrevor Parscal <tparscal@users.mediawiki.org>
Wed, 17 Jun 2009 19:00:45 +0000 (19:00 +0000)
skins/Vector.php
skins/common/shared.css

index 9338fd6..ac39a58 100644 (file)
@@ -35,10 +35,10 @@ class SkinVector extends SkinTemplate {
         * @param object $out Output page to add styles to
         */
        public function setupSkinUserCss( OutputPage $out ) {
-               parent::setupSkinUserCss( $out );
-
                // Append to the default screen common & print styles...
                $out->addStyle( 'vector/main.css', 'screen' );
+               // Add common styles
+               parent::setupSkinUserCss( $out );
        }
 
        /**
index dae65ee..0566649 100644 (file)
@@ -137,9 +137,9 @@ div.searchresult {
        padding-left: 0.25em;
 }
 .mw-search-formheader div.search-types > ul {
-       margin: 0;
-       padding: 0;
-       list-style: none;
+       margin: 0 !important;
+       padding: 0 !important;
+       list-style: none !important;
 }
 .mw-search-formheader div.search-types > ul > li {
        float: left;
@@ -174,15 +174,14 @@ div.searchresult {
 }
 fieldset#mw-searchoptions {
        margin: 0;
-       padding: 0;
-       padding-left: 1em;
-       padding-right: 1em;
-       padding-bottom: 0.5em;
-       padding-top: 0.5em;
+       padding-left: 0.75em !important;
+       padding-right: 0.75em !important;
+       padding-bottom: 0.5em !important;
+       padding-top: 0.5em !important;
        border: none;
        background-color: #f9f9f9;
-       border: 1px solid silver;
-       border-top: none;
+       border: 1px solid silver !important;
+       border-top: none !important;
 }
 fieldset#mw-searchoptions > legend {
        display: none;