21 Commits (5a0ed3efe1e79436df75e2c4faa74bcc37278781)

Author SHA1 Message Date
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
evad37 b03a2a970f Fix hiding of empty portlets on special pages
* Increased selector specificy so that .emptyPortlet works on portlets within
  #mw-page-header-links
* Moved the `ca-more` dropdown, only shown on mobile, into a new portlet so that
  `p-views` is really empty on Special pages, and has class .emptyPortlet
* Moved languages dropdown, also only shown on mobile, into the new portlet too.
  This way on special pages the two dropdowns are in a single <ul> list with two
  items, rather than two adjacent list each with one item. Also, grouping the
  mobile-only items together means the desktop CSS only has to hide the portlet,
  rather than the individual ietms.

Bug: T182533
Change-Id: I496af1805d200e1fd67b1232e1b3b029b08b82ca
7 years ago
SamanthaNguyen f473b850f9 Remove fake element created before links so background aligns correctly
This rule seems to no longer apply to the skin in it's current state,
and seems to be causing problems with references. These rules are an issue
for that it creates a fake block element (which adds extra spacing at the
top), creates a static height, and pulls it up with a negative top margin.

It seems best to remove this CSS block.

Bug: T181490
Change-Id: Id109e42731202f0c6e1ef6ff8855617e0795b35d
7 years ago
Jack Phoenix 260725618e Fix IE10/11 bug with the fixed header
Apparently not defining the height property makes everything just plain
messed up, and to fix things, all you need is the height property that has
a value (other than "auto") of some kind.

Bug: T173769
Change-Id: Ie8c86e01c77b3f5de11c1bd7c6bf491c8ef0fb26
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 693aec5fdc Style and message tweaks
Maybe addresses T160647.

Change-Id: I4f6c73db6784415cdeca269321ba6f0f47c67551
8 years ago
Isarra 83b98586dd Add print styles, add 'mw' to page-header-links id
Bug: T131987

Change-Id: Ia14e7f26dd249e95d1bbe00437b8d1483be08fa5
9 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 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 820154823c Make site title overflow less; add option to just change it for the skin
Just makes the font smaller if over a certain length. Not actually
smart. Will later add an option to replace it entirely with an image.

Change-Id: I7157c80132330c525ac2cb2027307550cee282b4
9 years ago
Isarra 6a25c68b2d Style changes, I don't know
Lowered font size, better menus (maybe), white header bar thingy with
colour

Probably other things.

Change-Id: Ia1b4c3ce0fed3752a9bae529573aa45912cb01ad
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 826140a6b0 Make dark footer
Also separated it from the content a bit, cleaned up the class names to
be more consistent, etc.

Change-Id: Ib0b3539ec112ef162c8d16e91bd805b884a2a502
9 years ago
Isarra a8c2913c26 Style search some more, add an icon
Change-Id: Id2ce1f3761f3948b647e638b5f130d5b5f9cc60a
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 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