Remove styles for .os-suggest and related classes
authorBartosz Dziewoński <matma.rex@gmail.com>
Tue, 22 Jul 2014 00:45:21 +0000 (02:45 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Tue, 22 Jul 2014 00:56:37 +0000 (02:56 +0200)
These styled the old OpenSearch AJAX suggestions module, which was
removed and replaced by mediawiki.searchSuggest (which uses completely
different classes) several versions ago.

Change-Id: I24a4bf879c3402bca789391189bfab0871b7e9fa

skins/MonoBook/main.css
skins/common/shared.css

index cb76ae3..1fb9ad4 100644 (file)
@@ -892,11 +892,6 @@ div.mw-lag-warn-high {
        font-size: 90%;
 }
 
        font-size: 90%;
 }
 
-/* God-damned hack for the crappy layout */
-.os-suggest {
-       font-size: 127%;
-}
-
 /* Sometimes people don't want personal tools to be lowercase! */
 .no-text-transform {
        text-transform: none;
 /* Sometimes people don't want personal tools to be lowercase! */
 .no-text-transform {
        text-transform: none;
index 5a8335d..17ec8c6 100644 (file)
@@ -386,60 +386,6 @@ p.mw-upload-editlicenses {
        text-align: right;
 }
 
        text-align: right;
 }
 
-/**
- * OpenSearch ajax suggestions
- */
-.os-suggest {
-       overflow: auto;
-       overflow-x: hidden;
-       position: absolute;
-       top: 0;
-       left: 0;
-       width: 0;
-       background-color: white;
-       border-style: solid;
-       border-color: #AAAAAA;
-       border-width: 1px;
-       z-index: 99;
-       font-size: 95%;
-}
-
-table.os-suggest-results {
-       font-size: 95%;
-       cursor: pointer;
-       border: 0;
-       border-collapse: collapse;
-       width: 100%;
-}
-
-.os-suggest-result,
-.os-suggest-result-hl {
-       white-space: nowrap;
-       background-color: white;
-       color: black;
-       padding: 2px;
-}
-
-.os-suggest-result-hl,
-.os-suggest-result-hl-webkit {
-       background-color: #4C59A6;
-       color: white;
-}
-
-.os-suggest-toggle {
-       position: relative;
-       left: 1ex;
-       font-size: 65%;
-}
-
-.os-suggest-toggle-def {
-       position: absolute;
-       top: 0;
-       left: 0;
-       font-size: 65%;
-       visibility: hidden;
-}
-
 /* Page history styling */
 
 /* The auto-generated edit comments */
 /* Page history styling */
 
 /* The auto-generated edit comments */