Commit Graph

73 Commits

Author SHA1 Message Date
Niklas Laxström
cc20522541 Remove explicit width statements from ULS menu widths
These seem to be more harmful than useful. On small screen the menu width gets too narrow, and on large screens the menu width gets too wide. The min-widths are sufficient.

Related to https://phabricator.wikimedia.org/T276255
2021-03-16 18:00:33 +02:00
Santhosh Thottingal
f8ed687422 Remove png icons and use svg icons
Since svg support was poor, we had used a fallback approach.
But browsers support svg these days.
2020-09-29 17:31:18 +03:00
Ed S
4638e843a3 Update OOUI icons (#336)
Fixes #335
2019-05-03 12:25:06 +05:30
Pl217
4545872983 Use unidirection language icon
* Use single language icon for both LTR and RTL.
* Reduce padding between icon and autonym language name.
2018-01-16 17:39:32 +05:30
Pl217
fd41bbe5e1 - Replace ULS trigger icon with monochromatic one.
- Reduce left padding between icon and language autonym name.

Phab ID: T175769
2018-01-12 19:20:11 +01:00
Santhosh Thottingal
2a77df6c41 Use eslint and stylelint, fix all errors (#282)
* Use eslint and stylelint, fix all errors

* Remove jshint, jsbeautify
* Use Object.keys directly since that is available in all major browsers
* Fixes for eslint, stylelint errors
* stylelint is not included in grunt test yet because jquery.uls.mobile.css
  has so many !important and need to figure out whether they are really needed
2018-01-04 15:58:35 +02:00
James D. Forrester
f47692a390 Drop -webkit-linear-gradient image CSS fallback
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
2017-11-29 15:56:04 +05:30
Volker E
6c84980453 Remove redundancy, increase contrast
Removing redundancy by stripping out default values or using shorthands where applicable.
Also increasing color contrast to conform to WCAG level AA.
2017-09-07 19:01:12 -07:00
Niklas Laxström
8a8f502de7 Style changes to lcd
This change is larger than it should because I came across lots of
unused CSS which I removed or simplified.

https://phabricator.wikimedia.org/T138235
2016-08-17 16:29:08 +02:00
Niklas Laxström
eaf350a20c Some styling tweaks to search bar
From https://gerrit.wikimedia.org/r/#/c/285593/6/resources/css/ext.uls.css
2016-05-23 18:10:30 +03:00
Santhosh Thottingal
d61eb1ffd4 Merge pull request #216 from wikimedia/drop-compact
Remove compact mode
2016-04-22 11:12:07 +05:30
Niklas Laxström
c103030cc3 Replace search icon with a new one
Also removed the smallening of the search icon narrow mode.
2016-04-21 15:50:50 +05:30
Niklas Laxström
2a538b78e1 Remove compact mode
Make the regular mode look like compact mode
2016-04-21 15:27:49 +05:30
Niklas Laxström
20d5e431a3 Some cleanup to the language filter
No longer using grid to position the icon, but nested divs instead.

Tweaked some padding etc. related cleanup.
2016-04-06 17:26:44 +03:00
Santhosh Thottingal
499c30d0ea Merge branch 'uls-remove-map' of https://github.com/santhoshtr/jquery.uls into santhoshtr-uls-remove-map
Change-Id: Ie59e2a59225873b5cf432df526cbfc135e539d32
2014-12-22 14:51:46 +05:30
Amir E. Aharoni
f44302106b For narrow ULS show one column without separators 2014-12-22 11:09:48 +05:30
Amir E. Aharoni
dd59d4d0c8 CSS tweaks for narrow ULS 2014-12-04 00:39:57 +02:00
Amir E. Aharoni
b55bc61dc7 Grid-compatible adjustable columns 2014-12-02 22:16:09 +02:00
Amir E. Aharoni
752a295ee2 Allow sending the number of lcd columns as a parameter
This is needed for https://phabricator.wikimedia.org/T76196
and may also nbe useful for many other features.
2014-12-02 13:23:22 +02:00
Santhosh Thottingal
c2b68e8cbc Remove the region selector feature
* 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
2014-07-27 20:29:01 +05:30
Santhosh Thottingal
fef552d97b Merge branch 'master' of https://github.com/nemobis/jquery.uls into nemobis-master
Change-Id: I27589e099cf9841194c92228b8d91cee33937390
2014-06-02 10:03:31 +05:30
Nemo bis
4237fbc82a Remove the world map from language selector: unused
Nobody objected in months, see issue 128 and bug 62637.
2014-05-11 18:53:16 +02:00
Ed Sanders
3c924396fe Rename languagefilter to uls-languagefilter 2014-05-02 14:45:20 +01:00
Ed Sanders
6e8a736863 Rename languagefilter-clear to uls-languagefilter-clear 2014-05-02 14:42:29 +01:00
Ed Sanders
e4ac600fc5 Rename filtersuggestion to uls-filtersuggestion 2014-05-02 14:41:17 +01:00
Ed Sanders
90dae4cfcd Rename filterinput to uls-filterinput 2014-05-02 14:39:16 +01:00
Ed Sanders
b31254396e Rename search-input-block to uls-search-input-block 2014-05-02 14:37:22 +01:00
Ed Sanders
b4913cd717 Rename search to uls-search 2014-05-02 14:36:53 +01:00
Ed Sanders
9a4be3023b Rename search-label to uls-search-label 2014-05-02 14:36:46 +01:00
Ed Sanders
20d80a1294 Rename icon-close to uls-icon-close 2014-05-02 14:36:39 +01:00
Ed Sanders
4c8ecb2ebd Rename map-block to uls-map-block 2014-05-02 14:36:31 +01:00
Niklas Laxström
42733b5856 Remove prefixed border-radius rules 2014-03-22 18:03:01 +00:00
Niklas Laxström
d4ea222750 Drop -moz-linear-gradient for images
The costs are bigger than benefits now
2014-01-23 23:47:13 +00:00
Ori Livneh
02ebadf008 Apply /* @embed */ pragma to every image, not just the topmost in each block
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.
2014-01-20 01:52:05 -08:00
Santhosh Thottingal
22475812b1 Move the autonym font to example instead of making part of jquery.uls
Change-Id: I1fa119ef3a89f34e1fde18712d4e267d174869c8
2013-11-01 14:55:44 +05:30
Siebrand Mazeland
ac8aa2723c Remove non-existing "-ms-linear-gradient"
Per https://bugzilla.wikimedia.org/56138
2013-10-29 17:26:07 +01:00
Kartik Mistry
6107318712 Merge pull request #113 from wikimedia/autonymfont
Autonym font
2013-10-17 21:42:48 -07:00
Santhosh Thottingal
e83494cab1 Formatting fixes
Change-Id: I75173f09527f84419d1b807e9e33ff673e0f5d1c
2013-10-17 14:50:09 +05:30
Siebrand Mazeland
658914a984 Update code formatting 2013-10-08 23:59:40 +02:00
Santhosh Thottingal
e54d85a124 Use Autonym font for autonyms
Change-Id: I5224cd020a6c6ba4f52f2be3a318216111b39394
2013-09-15 14:48:36 -07:00
Niklas Laxström
5d6c83d945 Add spaces 2013-03-15 10:21:59 +00:00
Pau Giner
50c42c6cdc CSS fixes to avoid rules to be overriden
Small CSS fixes to avoid MediaWiki CSS to override some of the
styles defined for the selector.
2013-02-09 21:59:17 +01:00
Amir E. Aharoni
4d313a2d5f Whitespace 2013-02-08 10:23:02 +05:30
Pau Giner
34a6c98327 Adding SVG version of icons and map for ULS
SVG versions of the icons used in the ULs has been added and
the CSS has been modified so that the png fallback is supported by old browsers.
2013-02-06 11:56:04 +01:00
Amir E. Aharoni
d4ef33d4f8 Merge pull request #58 from amire80/whitespace
Whitespace
2013-01-02 23:09:40 -08:00
Amir E. Aharoni
49436026d8 Whitespace 2013-01-02 18:48:02 +02:00
Amir E. Aharoni
e78a2507d7 Whitespace 2012-12-30 20:34:32 +02:00
Santhosh Thottingal
b34cbbe9d2 Limit the grid to 'grid' class
Change-Id: I60dd826ddee0861c05bc6b0cadc8bdc1eb3a6488
2012-11-28 14:59:56 +05:30
pginer
245ced8c7c Adjusting CSS precedence of rules
Some selectors have been adjusted to be made more specifics
when the modified Grid rules took unintended preference due to last modifications.
2012-11-26 13:58:15 +01:00
Santhosh Thottingal
9938c9685e minor whitespace fix 2012-11-21 17:17:16 +05:30