Commit graph

27 commits

Author SHA1 Message Date
Isarra
ef1f98e7bd Responsive support: Echo hacks
Have echo just show the numbers instead of the badges, and add a
text link to special:notifications in the dropdown, as opposed to
entirely reimplementing the flyout layout

Change-Id: I072dbc2b7bf70b6675469e09e3beb3927e06d0f7
2018-05-19 21:15:31 +00:00
Isarra
0e2ee04c87 Responsive support, JS edition
Dropdown menus and js interactiveness for people who like to pretend
we live in a modern era or something.

Does not actually support newfangled tapping and swiping stuff.
Does not properly support echo. (will follow up)

Change-Id: I27d50c320b1526b9d158016a0e8022567f78ccc1
2018-05-19 20:17:17 +00:00
Isarra
70d426d4fd Responsive support, noJS version
* Add screen-mobile.css with basic mobile styles
* Force loading of screen-desktop on IE8- due to lack of
  @media width support
* Add some new divs and a set of spoof cactions for jumping
  around the page (what's js?)
* Replace cactions label with a more descriptive string (was
  previously set to display:none regardless)
* Also add a set of icons for fixed widths for tabs and things
  (icons-source.svg is the source file for the set, and includes
  a few others that ultimately weren't used here)

Cutoff 850px. Desktop styles should remain unchanged, with
mobile remaining stylistically consistent.

Change-Id: I737a7447db1e44e0d6abaa4c07813295a5ac73a6
2018-05-02 22:20:54 +00:00
Bartosz Dziewoński
33e2eb5eef Convert screen-desktop.less back to .css
A proposed change (I737a7447db1e44e0d6abaa4c07813295a5ac73a6) requires
this not to require Less parsing. It was unnecessary to convert this
to Less when I could have just removed an `/* @embed */` annotation.
Follow-up to ac8b055693.

Change-Id: Iba82f57d4ba3e65c61a5ef795b3b8d9c3f164a39
2018-04-19 01:03:25 +02:00
Bartosz Dziewoński
ac8b055693 Consistently embed images in CSS (or not)
Use .background-image() and .background-image-svg() mixins to embed
all SVG images, but not embed GIF/PNG fallbacks.

Change-Id: I807719dbf07749f4c942b4ba9b023440ca52a510
2018-04-05 16:25:32 +02:00
Bartosz Dziewoński
82580b2dd7 Remove unused styles
These elements no longer exist. See comments on the previous patch.

Follow-up to e33b232785.

Change-Id: I58aca1f4255df14d6289e167e180dad31b546a8c
2018-03-27 19:45:32 +00:00
Isarra
e33b232785 Move Cite styles into separate skinStyles sheet
No guarantees that these styles actually apply to anything anymore.
But at least the TODO is resolved!

Change-Id: Ibb43c044f50f026afa84a0151b113dd600956942
2018-03-24 18:38:33 +00:00
Isarra
2b24cbab0e Separate desktop and common styles, clean things up a bit
Part of the move toward responsiveness.

* Use mixins and variables!
* Vectorise existing icons
* Delete a rule or two that don't apply to the source anymore
* Consolidate similar colours into the same ones using variables

Change-Id: I2f0eb2b79cba01d8fa3a06298711e8af4d5508ba
2018-03-24 18:10:23 +00:00
Isarra
7b01f37552 Rename main.less to screen-common.less to prepare for splitting
Part of the move toward responsiveness.

Change-Id: I6ca7c87fff7a65b05b2310885aedaeede9647c78
2018-03-24 18:01:41 +00:00
Isarra
a29f04c254 Vectorise book background image
Also:
* Convert main.css to less because I can't figure out how to do svgs
  and fallbacks by hand
* Add gradient image to fit with book for really, really, really wide
  displays (and move book background to globalWrapper to make it
  actually work)

Change-Id: Ie6f5b6b87b475953274688fc4640f9fa17184fa4
2018-03-23 22:06:25 +00:00
Isarra
57106ab179 Restructure files according to modern skin practices
Also delete unused images, since even if something is
somewhere using them anyway (looked, couldn't find
anything), it wouldn't be able to find them in the new
image location regardless.

Wiki.png, magnify, and link are all part of core and have
been for some time.

Change-Id: Id7a02155a5f1b207908c9c0c8f7519b6d3f9a886
2018-03-21 21:56:55 +00:00
MarcoAurelio
0eb3eecc61 Use valid SPDX-3 license identifier
Change-Id: Ib29500f6df89f30646a9587d01a8681e5f1297da
2018-02-15 21:13:21 +00:00
Tulsi Bhagat
54c7c2f523 Removed deprecated position statements from resource loader module
Bug: T184257
Change-Id: Ie7b043904510dcd25a003d25c5ca794f6f543db9
2018-02-12 21:18:13 +00:00
Bartosz Dziewoński
b4d5bf46c0 OOjs UI: Fix font size for default overlay
Override font size for .oo-ui-defaultOverlay to match normal content.

Bug: T183069
Change-Id: I1941365fb1550604ff45fbe60bacc600f72eea9e
Depends-On: I53888581f9e1da3b036166613c46cbc1085aa55e
2018-01-02 19:21:55 +01:00
Jack Phoenix
120cf5ead9 Optimization: don't load .redirectText CSS outside redirect pages
Change-Id: I5a12b60cff731c9b5c2492daa3aa67169e53a041
2017-06-13 18:21:54 +03:00
Ed Sanders
f025d40dc0 Match mediawiki.notification styles to OOUI dialogs
Bug: T58313
Change-Id: I12f22a50046de4a4ce0a0c06d8a245eeb6d71005
2017-04-10 19:40:58 +01:00
Derk-Jan Hartman
38a7f59097 Rework Monobook style of Preferences to prevent FOUC
Also split preferences styles out from the main css file
Depends on: I24d9b16

Bug: T115692
Change-Id: Ic0b3c18dde64fcd7b9f87baa866abd0a5a9c98d4
2015-11-08 15:02:57 +01:00
Siebrand
112fe6498f Revert "Update namemsg to convention"
My bad... skinname-<skinname> is used in core to get the skin name.

This reverts commit 7e619a4564.

Change-Id: If38a19aceb46c0205a39aa7f27b98ceaa056c0f2
2015-09-28 09:42:33 +00:00
Paladox
7e619a4564 Update namemsg to convention
Bug: T113632
Change-Id: I470e1ec4d925f0a1975d38e708b28e08b495567d
2015-09-25 18:34:55 +01:00
Kunal Mehta
5d404dec5c Add MediaWiki version requirement to skin.json
Change-Id: I0ad6147b55ed1316555371feb88de26dfa8583ca
2015-09-23 08:33:50 -07:00
Bartosz Dziewoński
f3cab9ed30 Use canonical theme name case for SkinOOUIThemes
Depends on I489922dab303320bfecfbadd26069abbad7d2c53 in MediaWiki core.

Change-Id: I1a88092f0ceb210c642bbee875e368ded3c186f8
2015-07-23 19:25:59 +02:00
jenkins-bot
47cb7e633b Merge "Use the "Apex" OOjs UI theme" 2015-06-03 20:59:25 +00:00
Kunal Mehta
fd6a2b4e0a Set manifest_version in skin.json
Bug: T100745
Change-Id: Ib2d5a91c6a2db1533fbf6d9b767b1dacb3207658
2015-06-02 00:06:24 -07:00
Bartosz Dziewoński
5b12d8e66b Use the "Apex" OOjs UI theme
Change-Id: I0b18b9990795467059dc86ccb8632f9bd529800e
2015-05-30 15:45:36 +00:00
Gilles Dubuc
19406c60b8 Explicitly define module position
Style modules currently added through addModuleStyles default
to being in the head ("top" position). This is an unhealthy default,
since only critical styles that are needed at pageload should be
in the head. In order to be able to switch the default to "bottom",
existing module positions have to be defined explicitly.

Bug: T97410
Change-Id: I9d5cc55a5218bef618878e90773a99047d942beb
2015-05-05 17:37:10 +02:00
Kunal Mehta
4f0c88e7ea Fix skin.json
ValidSkinNames is actually a registration setting, not a configuration one.

Change-Id: I61c085fd89e81969eef6065b28cb24cbe0b366c9
2015-03-25 15:54:17 -07:00
Kunal Mehta
42aee118da Add skin.json
Change-Id: Id93e8290ee75b319974ef12041bba48c428e77b5
2015-02-06 13:24:01 -08:00