26 Commits (783037d0e74377a5eb341a9ede52faf4d48655ed)

Author SHA1 Message Date
Perry Fraser 5d32ec3e89 Add style exception for OOUI buttons' margin
On OOUI forms the text for the checkboxes tended to be rather
misaligned, with the text usually ending up getting shunted off to the
bottom-right corner. It seems the margin being added by the special-case
in this rule was responsible, so I added an exception to it. In testing
things seem to look okay.

Change-Id: Id3ca935e5c83d7c96edcb02d1c6fd72af8e81e58
3 years ago
Func cbc7500b77 Improve the appearance on the history page
Make the revision-compare button level with buttons on the right side;
Improve the specificity of rules, make hovered styles of buttons on the history page consistent.

Change-Id: I0832da75a3d2624793692fd495ab6e723a079309
3 years ago
AntiCompositeNumber 078fc93ce1 resources: increase specificity of mw-editfont font-family in forms.less
In certain conditions, notably when using ?action=edit&section=new with
CodeMirror in the 2017 Wikitext Editor, the .mw-editfont font-family
rules were not being applied as intended. This caused some minor visual
inconsistencies. Instead, the rules from core were applied because they
were loaded later. This patch increases the specificity of the selectors
in forms.less so they are applied instead.

Bug: T271177
Change-Id: I9d1b62baa934f738d1c52972cfaf3339c2d1edce
3 years ago
Isarra 05160692e7 Clean up forms some more
* Add special case for multiselects for input padding
* More consistent styles for default forms

Bug: T259136
Change-Id: I1bea915a2887fdaf7e0bb3cc2ad17c26762688cf
4 years ago
Isarra 09b556ba2d Form wrangling. As usual, not wise, but I'm DOING IT ANYWAY.
* Make non-OOUI forms less fugly, and slightly more consistent,
  without really bothering to actually do much of anything
* Make OOUI things line up a bit better
* Don't apply margin/padding to datetime widget (duh)

Change-Id: Iee4098b7fda2142c26356508b77dfe7c22d36dab
4 years ago
Isarra a9d8f63abb Make wikitext editor use fonts consistent with rest of content
Monospace, serif, and sans-serif font stacks should all have consistent
metrics, so actually use them in wikitext editor. (Which depends on user
preferences.)
Also reset core font sizes added per T182320; that was done for skins
using system fonts elsewhere as well, and thus isn't really relevant here.

Also define out sans and serif font family variables independent of main
stack variables so they won't accidentally get overridden to other
things, but not presently following new naming conventions because
frankly I don't understand them and don't know which I should be using
to begin with. And even if I did, they're extremely long and we're
already exceeding maximum line length guidelines...

Bug: T247325
Change-Id: Iab98cfacab7dbc2f752bd200ee82d6d1a58c19a6
5 years ago
Isarra 01ab08e127 Be more specific with form formatting
Bug: T165928
Bug: T185193
Change-Id: Iedb5585554697796127895aa00c9b2f2c3216e17
6 years ago
Isarra 52d3b3aac9 Use Wikimedia visual style colours
Possibly more consistent in general with the rest of wikimedia. Maybe. We're still using the colours rather differently, though.
Should also resolve some contrast issues we've had thus far. Maybe.
Breaking up the greys like this may or may not help with theming down the road. I'm not really sure.

Bug: T131992
Bug: T200320
Change-Id: I2757271066c54891e2b6e45b86e827f34af59435
6 years ago
Jack Phoenix 3435ee25b1 Fix Special:Watchlist options for no-JS
Patch by putnik (see the Phab ticket) with tweaks by yours truly.

Bug: T225412
Change-Id: I23f05bc97929a196c62a0dc242ebace5c6fe45a0
6 years ago
Isarra 2a4fb34b63 New font stack, plus some generic forms and crap
Follow-up on https://gerrit.wikimedia.org/r/501850:
* new font stack stolen from phabricator and then rearranged a
  bit to be less ornery
* restored searchinput fonts and prodded some other alignment
  issues
* p-personal alignment issues maybe addressed, maybe made worse;
  cannot test windows/mac because don't have either of them or
  any remaining budget with which to purchase either of them
  because holy crap expensive
* some very basic generic form styles to align the base ones a
  tad more consistently
* dumb fix for dateinput widgets being mixed into otherwise
  non-ooui forms

Bug: T221345
Change-Id: I43312b23197ed1ce5ea9cb75fb0b8e8466bac6a1
6 years ago
Isarra 28a6d31912 Remove a bunch of form stuff and adjust random things to compensate
* Remove most of the special styles; most things are migrated to ooui
  now, and that thing is soup, but at least mostly matches the skin
  anyway
* Kill the special snowflake content/monospace fonts; these were
  actually messing up the ooui styles more than anything else
* Also make body text smaller, headers bigger to more clearly
  differentiate between them, with some of the larger sans serif
  options people might wind up with
* Override some overrides. Let's override these and then override the
  overrides for the overrides, and add more overrides later?
* Make whole thing slightly wider, because sheesh, this is narrow
* Make toctoggle show up like how rclegend toggle does

Either affects or should resolve the following:

Bug: T207610
Bug: T211360
Bug: T188968
Bug: T196243
Bug: T204780
Bug: T207601
Change-Id: I767562e4bbc0a9cdf13db61ce3ed493322edc054
6 years ago
Volker E 4de5631a10 Remove unused '.mw-ui-checked' class
Similar to I7a03215fae0b17.

Change-Id: Id77be290bdf436a1c88d6322f1905f1e122f9601
6 years ago
Volker E df234f8177 Remove obsolete Special:Preferences styles after its transformation to OOUI
These removed styles match no elements in the
Special:Preferences page since the OOUI transformation.

Bug: T208923
Change-Id: I27918a66751c40a52d7a54be9be6f77d05bbfc15
6 years ago
Isarra e184ac17bc Less: Linebreaks everywhere, some cleanup
Removed a rule or two.
Also removed the notes file, no longer relevant.

Change-Id: Icc28d3d95ea45e845e29895cfa8044b03ca6258b
6 years ago
Volker E 3e6d396dc1 Remove `text-shadow` from progressive mediawiki.ui buttons
Bug: T192303
Change-Id: If4023b2e5aff2635aba61b3bd9e1a280ed1c3908
7 years ago
Ed Sanders b3c629ef4d build: Update linters
Change-Id: Iee462bae8112755e7cd0c5caa88c3fc6fcdc852e
7 years ago
Cormac Parle 5889423de3 Do not overwrite all background attributes with a color
Bug: T176010
Change-Id: I605675fe3ddb9fd3a83c513f8fdb2d104adb21dd
7 years ago
Umherirrender 77ff62c02c Add stylelint for css and less files
Fixed the following rules:
- number-leading-zero
- length-zero-no-unit
- string-quotes
- max-empty-lines
- selector-pseudo-element-colon-notation
- at-rule-empty-line-before
- at-rule-name-space-after
- media-feature-parentheses-space-inside
- color-hex-case
- declaration-block-semicolon-space-bef
- declaration-property-value-blacklist

Change-Id: Id0b43bff22b3f9ae9b912bd886e2da4c8576b165
8 years ago
Isarra c583887ff4 QoL style fixes
* Added monospace font stack for metrics consistency with
  content/headers
* Fixed/styled search suggestions to work with header
* Added styles for hrs

Bug: T131996
Bug: T131993
Change-Id: I99aaaf6c55e375f847683909154a429e180b3dad
8 years ago
Prateek Saxena f549d8b343 Remove styling for .mw-ui-primary
Follows-up I8ebea46c6e20bf81ce3cfc38b9f02651176db5be

Bug: T146923
Change-Id: I6341b7cab3b12f2d290941375fb4c557e5da6a73
8 years ago
Prateek Saxena 963e3018af Remove styling for .mw-ui-constructive
Bug: T146923
Change-Id: I8ebea46c6e20bf81ce3cfc38b9f02651176db5be
8 years ago
Isarra dc417173b1 Various improvements and fixes
* Consistent dark colours stolen from wikimediadc.org, probably stolen from
  that header template
* More consistent colours for headers
* Fixes for extension:templatesandbox
* pre and center rules, which for some reason aren't in core
* Fix for anchor offset issues caused by the fixed header
* Fixes for the personal dropdown menu
* Update font stack to use only ones with known consistent metrics

Change-Id: I88350e837b96de812c9d5f1308ae83703da6d0b4
9 years ago
Isarra ff28a87f46 Turn this into more of a skin. Formatting, horror, more horror.
Thanks to Skizzers for the catlist db query.
Thanks to HORROR for the tool parsing.
Lots of css and stuff.

Change-Id: I9b6b4c2e3a206d909972929ae32777c933d0be46
9 years ago
Isarra a950d154b7 Everything is horrible.
Change-Id: Id35180435716a269edb45cab286ec178e9dd7791
9 years ago
Isarra 6056f7d586 Initial structure
Change-Id: I6457449db49ae1eef083684db75d5280bf404381
9 years ago
Isarra ade8feb066 Form stuff
Change-Id: I22e08ee082aa34e9fca6aacacdc9ae05c3707a15
9 years ago