This reduces the payload of CSS slightly (and in the few cases where these
were not just present but @embed'ed, significantly), at a cost of giving
those user agents which don't support the un-prefixed rule the icons as
PNGs rather than SVGs (i.e. Chrome < 25, Safari < 6.1, Android < 4.4).
We made this change for MediaWiki back in November 2015 in T118815. This
repo is not alone in not having noticed. :-)
Change-Id: I1469bce3dd6c6eed0d291a0cb8a19eceeaff4c10
Updating `.uls-lcd-region-title` to be on the safe side with color contrast,
conforming to WCAG level AA no matter what `background-color` grey or `font-size`.
* Drop the ugly height: 100% hack and do it properly and remove TODO
* after( $suggestions.show() ) seems to not work as expected in recent
jQuery versions. Changed it to manipulate the presence of 'hide'
class properly.
* Consistency fix in a comment
* Fixed a bug where creating multiple ULS instances would break the
"no search results" functionality. This is because we were appending
a jQuery element wrapped in a $(). This is obviously a no-op and a
regression when the template actually was a string and not jQuery.
Fixed by using clone() on it.
https://phabricator.wikimedia.org/T175233
Tweak specificty of the rule that hides bullets so that it is easy
to override.
Move dir and lang attributes from <li> to <a> so that the bullets
appear on the correct side for reverse directionality scripts.
Change-Id: Ic0d0c5220b0b374c2a3a19023c40d81f3e20007c
* Maps removed from UI
* From no-results UI, removed the links to navigate by clicking region names
* Removed the $.fn.regionSelctor plugin, Retained the RegionSelector class
* Removed all related css for the removed UI parts
* Reduced the padding for main ULS title so that the top header takes less height
* And a dozen of related changes
Change-Id: I8ac89ebe380047ca267e5c7720c2eaa3da080e9d
The border on top is white and therefore not visible. It's simply the wrong element hidden.
The border at the bottom was gray and visible. It looked like a misplaced 2px border.
ResourceLoader's CSSMin scopes each /* @embed */ to the rule immediately below
it, not the entire block. This patch adds the pragma for the image assets
which were omitted.