39 Commits (db0fb1c138fb726383ea13cd54f324bf6e151bba)

Author SHA1 Message Date
Arlo Breault 4f5ceb2579 Port changes to 'content-media' feature in core
From I7bcde25aa3b319ff93f3ef40361682824d171ea8

Change-Id: Id991ae80b96955ebdee4974c57184e0a749e76cb
2 years ago
Arlo Breault b8f4bb7644 Yoink 'content-media' feature from core
Unfortunately, that seems to be what this skin is doing for other files.
The styles are then adapted to match the theme.  If would be much nicer
to just enable the feature but that pulls in content.thumbnails-* which
this skin has duplicated and adapted.

The resources added here are only needed if
$wgParserEnableLegacyMediaDOM is `false` though, but hopefully that'll
soon be the default.

Alas, when VE loads, it pulls in "mediawiki.skinning.content.parsoid"
which overwrites some of the styles adapted here.

Bug: T287965
Change-Id: Ia9278b4c164ea1ddeca49094c572df70e660043e
3 years ago
Isarra f8c6bd1811 Make table mobile width selectors less agressive
Let's just trust the users to not totally break mobile. They
absolutely will, but it's all on them now, because we're trusting
them, dammit.

But seriously, it's also a lot easier for them to fix this stuff
if they can see it to begin with...

Change-Id: I97c05aa35c1a6052870ff15b3900133c3ea16de5
4 years ago
Isarra a75d3c698e Adjust .mw-indicators alignment
* Move images up to match helplink positioning, assuming standard
  size of 20px
* Remove mobile header clear and let the float itself sort it out
  if it even is long enough to matter (most are just icons)

Bug: T269550
Change-Id: Iaddab576b208f927c51c8f64b3e601fd89c0d710
4 years ago
Isarra 5cc9d503ff Make tables full-width on mobile, fix weird internal borders
Apparently tables inside of tables are thing, too...

Change-Id: I5c37d2ee2bc42d01f124301038300bc2e1dee81c
4 years ago
Isarra 5e2291df6d Fix some annoying things
* Stop images from overflowing on desktop as well as mobile (folks wanna
  overflow, they can load it sans skin, dammit)
* Firefox's stupid scrollbar colours
* Merge js into single module for desktop and mobile so it doesn't
  randomly break on the wrong devices, and something about too many
  modules anyway
* Weird footer padding?
* Weird WikiEditor/CodeMirror fonts/sizing

Bug: T256105
Bug: T247325
Change-Id: I8142c505534869c2530a915cfe8cef56303be6ed
4 years ago
jenkins-bot 3a8da90698 Merge "Use getFooterBlock instead of getFooter to avoid weird overflows on mobile" 5 years ago
Isarra b46ff19b3f Use getFooterBlock instead of getFooter to avoid weird overflows on mobile
Apparently getFooterBlock never actually made it into core, so copied
out of Example.

Bug: T254266
Change-Id: Id62319314937080b99f2b93fd7b7fa62527d8fe7
5 years ago
jenkins-bot f05aac7a58 Merge "Replace deprecated `background-image-svg()` mixin calls" 5 years ago
Volker E 3963c99c5d Replace deprecated `background-image-svg()` mixin calls
Use normal `background-image` properties with SVGs now
that IE 8 and Android 2.1 is removed from Grade C.
Also removing all PNG fallback images.

Bug: T248062
Change-Id: I27d95241b6512f36985f7269122802d7b0962042
5 years ago
AronDemian 73388405c3 Add and use `.mw-footer` & `.mw-footer-container` CSS classes
Adding `.mw-footer` & `.mw-footer-container` CSS classes & replacing 
`#mw-footer`,`#mw-footer-container` selectors with them.

`#mw-footer` & `#mw-footer-container` ids are kept for JS, gadgets 
compatibility and backwards compatibility with user styles.

Bug: T248137
Change-Id: I6e262cb5fa1838a22c3c6de8866d0324e83f84b3
5 years ago
Isarra 808c317293 Clean up and/or optimise icons a bit
* svgo on everything
* Line up some pixel borders more
* Use transparent for the grey amount
* Fix a couple of overflows on icon css

Change-Id: Ic56b65d71ae08cf71048ad5efdfa7e65a749f680
5 years ago
Isarra 8bca35dec0 Put languages back in sidebar on desktop
Partially reverts I148707085059f458512d328c415ea0bf134163f3 plus some random
cleanup and stuff

Both of the following bugs involve wikibase stuff so I can't actually be entirely
sure this resolves them, but I thiiiink it does because it should be killing the
offending parts of the above change that caused this? Probably?

Bug: T231256
Bug: T231234
Change-Id: Id7c0d90a805450b577271a321572fcd552ecbc3e
5 years ago
Isarra 9d76730e96 Add icons to desktop cactions and overhaul icon alignment and usage
throughout

* Still need to redo how we're using mixins, but whatever.
* Cleans up a bit from the edit/view source etc changes too, since now
  we have a little more context (oops)...
* Just hide 'view' in general because a, how much does it really add,
  and b, it doesn't fit in a lot of cases when we have the extra width
  from these icons regardless.
* Rename view and add section tabs to make more sense with icons/in
  context/whatever ('view' is now only targeted at screen readers, and
  we use a + for the new section icon, so saying 'add' is kinda...
  redundant)

Bug: T197520
Change-Id: I1ab12ccda60e51035c4adec43c42508ac297c00a
5 years ago
jenkins-bot 9cf7eb04ef Merge "Better icons/handling for view source, VE edit links" 5 years ago
Isarra 898ee0fdc1 Better icons/handling for view source, VE edit links
* New icon for edit source as variant of normal edit icon
* Use old brackets icon for view source instead
* Put icon for editsection links outside the links themselves and only use one
  for VE when there's two links

Bug: T173531
Bug: T229184
Change-Id: Ia178c487c8e6c175944868646d36064ebde8182c
5 years ago
Isarra b2519cb240 Fix a bunch of VE alignment issues
Bug: T205149
Change-Id: I7a839fa95b42cfd541da5880ad70a76be607c7d8
5 years ago
Isarra 75a9284f16 Add a margin for frameless images
Might as well just reuse the thumb stuff, I guess.

Bug: T196356
Change-Id: Ic0497b2003bea9a5c739fd47858be545b16f2812
6 years ago
jenkins-bot 663c999fee Merge "Lose catlinks border on mobile" 6 years ago
Isarra e6b90747be Lose catlinks border on mobile
Just looks weird, yo.

Change-Id: I84308c7dde1961d8f2b821910cdd32c4462d5620
6 years ago
Isarra 1d2a9583a5 Move variants and languages into page tools dropdowns
Hopefully saner access, also clears up some of the sidebar space.
Also forces moving the wikibase other-projects blob into its own
blob entirely.

Not done:
* Pokeys (need to migrate them all to css-only; later patch)
* Handling for no languages for wikidata stuff (may not be possible;
  minerva likewise has no handling)

Bug: T213510
Bug: T181309
Change-Id: I148707085059f458512d328c415ea0bf134163f3
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
Isarra 93e0ea991b Adjust a bunch of padding, especially mobile
bug: T197057
bug: T182389
Change-Id: I0fbbc037f32cd69375be9e0224967275a8fd9949
6 years ago
Isarra a2e3b727bb Don't hide labels for mobile cactions that have no icon
Not necessarily ideal handling in terms of making things fit, but
should at least avoid issues of there being no things at all, which
is even worse.

bug: T202213
Change-Id: I1aeeddbcac838b475372691d8d76c72018f85787
6 years ago
jenkins-bot f8d5f4b374 Merge "Prevent page indicators from interfering with firstheading and causing overflow" 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
Isarra 16e3901843 Prevent page indicators from interfering with firstheading and
causing overflow

Change-Id: I381a6b29afd91b799278d19316e4c74d358cd14c
7 years ago
Isarra a089f68290 Make some more css rules less specific (classes instead of ids)
Change-Id: Icc86a9a48ff9bd3b1236e9f05851c9e23208c15b
7 years ago
Isarra 03b31d4d11 Reduce colours somewhat
* colour bar for header now only has number of colours equal to
  columns underneath it
* h1 and h2 now have grey underlines instead of blue

bug: T182388
bug: T132000
Change-Id: I883bcfa872d6306c04418230c3f7034e5ec9f188
7 years ago
Ebrahim Byagowi 142edcb27f [i18n] Fix icons issues of the skin on RTL
* Used nominal values of background-position so CSSJanus can apply
  CSS flipping correctly
* Added the missed RTL search icons, optimized SVG source of the
  LTR search icon, optimized PNG rsvg-convert result of both
  SVGs using optipng

Change-Id: I6a56f8ee448b60742b92d3613394a0d61b9235a1
7 years ago
Ed Sanders b3c629ef4d build: Update linters
Change-Id: Iee462bae8112755e7cd0c5caa88c3fc6fcdc852e
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 9811d44774 Move echo styles to the correct module
Change-Id: I28af6af3d1fe4d2dca363175e430976bb3ab03ec
8 years ago
Isarra 8cb2458c99 Refactor TimelessTemplate.php
Structure is generally the same. All html is rendered into a
single variable, output with a single unholy 'echo'.

getPortlet is now more general, and generally used.

Should generally address the issues raised in T158011.
Should also be technically compatible with VE (DOM), but
without styling, and requiring the user to edit
LocalSettings.php (hopefully that gets fixed soon).
Fixed a slight bug with the languages rendering on mobile.

Some randomly missing things were added back in. (Variants,
some hooks)

bug: T161428
bug: T158011
bug: T132005
Change-Id: I3b691c8bfe7aed4a544236d5ac031b77ec4e8337
8 years ago
Isarra 10de923cd3 Move echo icons out of the personal dropdown
Lots of positioning weirdness, and the pokey was being
weird too.

Change-Id: Ia46c4f4cf0ce1c043c5506981b4ebc4b6dc4b5d1
8 years ago
Isarra 7f534ee46c Fix repeating background image on mobile
Class name was changed in html, forgot to make the mobile
stylesheet match.

Change-Id: I99802a56134280ea13264e86e50107cbb9fdca49
8 years ago
Isarra f450f7e13b Make this thing responsive
And some other stuff too just because I ran into it on the way:
* Added indicators
* Fixed js in general
* Bumped version number
* Added some stupid hacks
* Cleaned stuff up
* I don't actually know

Change-Id: Ifa557c6f0f8a972d8986c3bffdfe08ddb4b39664
9 years ago
Isarra 679bf418b3 Remove unneeded example styles
Change-Id: I773dbf3567acf9ca5343819575007229756e327e
9 years ago
Isarra 3a1bc368de Initial skin from skin:Example; just renamed
Change-Id: Ic60e93eff08abe541635e135faf04e60a756f44c
9 years ago