From bc6ef3e6ca73db5ded9100b0eba5de0ad88bd141 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Tue, 22 Jul 2014 02:45:21 +0200 Subject: [PATCH] Remove styles for .os-suggest and related classes 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 | 5 ---- skins/common/shared.css | 54 ----------------------------------------- 2 files changed, 59 deletions(-) diff --git a/skins/MonoBook/main.css b/skins/MonoBook/main.css index cb76ae3e2a..1fb9ad4f64 100644 --- a/skins/MonoBook/main.css +++ b/skins/MonoBook/main.css @@ -892,11 +892,6 @@ div.mw-lag-warn-high { 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; diff --git a/skins/common/shared.css b/skins/common/shared.css index 5a8335d71c..17ec8c669c 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -386,60 +386,6 @@ p.mw-upload-editlicenses { 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 */ -- 2.20.1