Commit Graph

89 Commits

Author SHA1 Message Date
Niklas Laxström
3d3152df8e Move button styles to separate module
Removes 8 KiB from *uncompressed* initial payload

Also added missing dependency to jquery.cookie to ext.uls.init

Change-Id: If0e30d3822fa7db317d53a0a58051295da0ec0e6
2013-11-01 09:52:30 +00:00
Siebrand Mazeland
0ef08f0d92 Update order of CSS properties
Bug: 56138
Change-Id: I1fe0fbf2c33a45d7b67378d0f74b5ea8425b446b
2013-10-29 17:42:48 +01:00
Amir E. Aharoni
e8d16c4f71 Fix the selector for interlanguage links
So it will apply only to the links and not to the title.

Change-Id: I7f45c02b5d9955d45adc516478dee4863581c3a5
2013-10-22 07:33:36 +03:00
jenkins-bot
03e3666ecf Merge "Use Autonymfont for interlanguage links" 2013-10-21 15:52:52 +00:00
Santhosh Thottingal
d823fd7f1e Use Autonymfont for interlanguage links
Change-Id: If194efa7785d472f78790ffcb6c68636fcaee5ad
2013-10-21 04:30:10 +00:00
Siebrand Mazeland
315cf739bc Update formatting
Change-Id: Iaee2ab4f36d3a0dce143c62965ab29de504b31ea
2013-10-09 15:40:39 +02:00
Santhosh Thottingal
3af403fee5 Make the cancel and apply button applicable for all modules
If a user does changes in module A, does not save or cancel,
goes to module B, does some changes, moves to other modules,
and finally presses Apply, all changes should get saved.

Similarly, if a user cancels, all changes should get cancelled.

This required moving the cancel and apply button outside of modules
and managed by the language settings framework.

Modules get mw.uls.settings.apply or mw.uls.settings.cancel triggers
to do whatever they want to do on apply or save.

Includes some refactoring related to this.

Bug: 53256
Change-Id: I7d773d33a980a78604b36e39bf96a5686870124e
2013-09-02 17:03:13 +02:00
Siebrand Mazeland
102f257427 Fix CodeSniffer errors and warnings
More fixes will be submitted upstream.

Change-Id: Ib22997f8756537b063fd6eed3f1f74f3eda315d7
2013-08-05 05:55:03 +02:00
jenkins-bot
2dc2f23e0a Merge "Have no-repeat follow url for background images" 2013-07-19 11:53:45 +00:00
Siebrand Mazeland
3d1ab4e8af Have no-repeat follow url for background images
Bug: 51101
Change-Id: I5e355801085f79128d92c77cf78e27d06403b9dd
2013-07-19 12:42:10 +02:00
Niklas Laxström
883e87ea56 Help links for ime selector menu
Change-Id: Ia6a0db9af25216f3d03c5130de96000141ccaa57
2013-07-15 13:24:12 +00:00
Niklas Laxström
da1baaf663 Help links for input settings
Bug: 42373
Change-Id: I30c8d6cbe916ac026ad70974755942c5bbea7162
2013-07-15 11:08:17 +00:00
Pau Giner
d8c1f40f66 Cog size adjustments
SVG and PNG versions have been modified to be of the same dimensions.
The sprite now is a 14x14px cog with an additional transparent pixel
above and below. resulting in two 14x16px areas. The added margin solves
the problem of image being cropped when zooming.

Bug: 50742
Change-Id: Iab4f578bdb1ea55c51eb528527fc38ce44c7be69
2013-07-05 13:05:20 +00:00
Santhosh Thottingal
1b8d0eb169 Remove Arial fontfamily style for buttons
This came from Agora button styles. Explicit font style for buttons
prevent them to inherit font family style from parents.

Change-Id: I81833273ea7f7f865d04d56d2156df0852373110
2013-07-02 10:32:58 +05:30
Niklas Laxström
d9883c90d7 Remove border-radius from ULS cog
Per http://stackoverflow.com/questions/11114636/opera-border-radius-svg-background-bug

Bug: 49379
Change-Id: I197e9e9a8c5afcefc998e302329aa96dc2df33da
2013-06-19 09:54:34 +00:00
Santhosh Thottingal
271ec67a80 Update button css from Agora
Css copied from https://github.com/wikimedia/mediawiki-extensions-Agora

Bug: 49112
Change-Id: Ibc5d144a22228fd7ec6e3793bf8d9d6c28748101
2013-06-07 14:39:06 +00:00
Santhosh Thottingal
e9ab300889 Fix: ULS popup moves to sidebar if opened from ime menu
Issues fixed:
Incorrect position of ULS when accessed from more languages button
of input/display settings, when language settings opened from ime
menu.

Arrow(callout) appearing for ULS when opened from more languages
button of input/display settings, when language settings opened from ime
menu.

Used a class 'callout' to mark whether windows need callout arrow or not.

Bug: 49060
Change-Id: Ic4c0a1e386918494a0d006a02dd0cf93ef269163
2013-06-07 14:26:46 +00:00
jenkins-bot
f16c42ef71 Merge "Workaround for border-radius due to bug 49074" 2013-06-04 13:08:24 +00:00
jenkins-bot
c3ee636c17 Merge "Hide ULS trigger from unsupported browsers" 2013-06-04 10:34:15 +00:00
Niklas Laxström
0c53c38304 Hide ULS trigger from unsupported browsers
For position=sidebar, the dummy "in other languages" section is
visible in the same manner as it is to browsers without JavaScript.

Bug: 49028
Change-Id: I931a2e904b37c754f63bfe5feb2d98bfe6c2747b
2013-06-04 10:26:57 +00:00
Pau Giner
62385075c7 (bug 49106) Keyboard icon misaligned in Firefox
Fixed positioning to avoid the use of float which was problematic in Firefox.
The current solution uses absolute positioning.
Extra padding has been added to the label next to it to avoid the text to overlap.

Change-Id: I82c69fa524f05262b60928fc4ba09104c6d05c2c
2013-06-04 11:40:56 +02:00
Niklas Laxström
979c2da418 Workaround for border-radius due to bug 49074
Change-Id: I411ea2cda0fcfc0c3182189ed6dc2f25851cd04c
2013-06-04 09:31:51 +00:00
jenkins-bot
c4e631512c Merge "Remove unused resources" 2013-05-27 06:08:07 +00:00
Niklas Laxström
d10f685eb9 Remove unused resources
Change-Id: I80eb3dc02e99fd0dda5990a3a690d897e054cfcd
2013-05-24 18:51:28 +00:00
Santhosh Thottingal
cea4d81766 Display notification when disabling input methods from keyboard icon menu
Bug: 48534
Change-Id: Id6c1cb22cb09a226cfcc84d597724e5d803392f3
2013-05-23 12:15:49 +05:30
Amir E. Aharoni
4221b97ab2 Hide the ULS trigger for users who disabled JS
Bug: 42500
Change-Id: I297a8d3bb9d9031e21dd6842f5d27dd54f469c29
2013-05-22 16:04:20 +03:00
Santhosh Thottingal
4a49c25f10 Provide disable input tools option in IME menu
Bug: 48533
Change-Id: Ie856cbda344ae2624567fb6c2d6206996c3b10dc
2013-05-22 08:52:10 +00:00
Amir E. Aharoni
d93c92af10 Remove a redundant CSS rule
It's already covered in ext.uls.css. The existence of the extra rule
causes wrong display.

Change-Id: I0a5fed7456279f6d313c89e7fa41335d6c437b1c
2013-05-20 15:04:31 +03:00
Santhosh Thottingal
bb3e72f5a0 Simplify the language settings display
Directly show language settings instead of showing ULS language selector
and then simulating click on language settings

Change-Id: Iafb15ac9a7140fcce9e71ed933be6c55be81dc7e
2013-05-20 10:21:38 +05:30
jenkins-bot
381a73a4d1 Merge "Replace id uls-more-languages with class" 2013-05-16 09:49:12 +00:00
Pau Giner
9bb695ae95 Avoid setting a fixed height for font selectors
Setting a fixed height was preventing some scripts to be properly displayed.
Scripts with higher line length got cropped.

Change-Id: I7efef3acd34b0b98ce8719f508980501d306fd9e
2013-05-16 07:09:19 +02:00
Amir E. Aharoni
977b36ade6 Replace id uls-more-languages with class
Change-Id: I51f74f0b3bcec1b45dd5588638346a6d02a44e52
2013-05-15 10:45:35 +03:00
Amir E. Aharoni
da5555aecf Put the cog icon in the middle of the section title
Bug: 47978
Change-Id: I8fdd3c195f548712903d011383eb32feb8b0e0d1
2013-05-14 09:55:10 +02:00
Amir E. Aharoni
03546744ba Changes to show the display settings in the sidebar
* Add a caret for the ULS in the sidebar.
* Adjust the panel's position.
* Immediately show the Display settings instead of the language list.

Also added documentation.

Change-Id: I6635092e9e020cb1f5b51f437abde4e81c31ae48
2013-05-02 07:51:49 +03:00
Amir E. Aharoni
422371f688 Don't let anonymous users change interface language
Language selector is still opened by default

Change-Id: Iee7d83179e71b4546d8f3cd4f6fb053262ce05e2
2013-04-29 10:47:27 +00:00
Pau Giner
8ca0733607 Styling for the Language settings panel
CSS adjustments for the font and input dialogs.

Change-Id: I75049afc7a71ed78edb6e17970699a28f2f2d04e
2013-04-26 18:51:38 +02:00
Amir E. Aharoni
c61ff7d376 Add help text above the buttons
Change-Id: I73dfb7e9386f965a49ae8734d136972286f82605
2013-04-25 00:53:38 +03:00
Amir E. Aharoni
865ac4d380 Split language settings view into two tabs
Change-Id: I539b9794227e0aeac9a759b7e4aa3daf8b73a5c8
2013-04-23 14:33:48 +00:00
Amir E. Aharoni
f4f332a459 Add the sidebar ULS cog icon and $wgULSPosition variable
Change-Id: I6acf1e21316a41ab8fcb4fd65e065be68693430f
2013-04-23 14:53:58 +02:00
Amir E. Aharoni
530149704c Cleanup CSS
Removed overqualified and repeating selectors and fixed whitespace.

Change-Id: I139a892a577351167c9193c24b3684680f2d0e97
2013-04-22 10:18:49 +03:00
Santhosh Thottingal
38e1ab2e5d Monobook's CSS shouldn't change ULS language name case
Adds a skin specific css

Bug: 46725
Change-Id: I85e29515280ea2af6262c20937a0d9bd960244b3
2013-04-03 09:30:46 +05:30
Pau Giner
a2bb12e332 Make sections more clear in settings panel
CSS adjustments to visually distinguish settings sections from the
settings panel. Sections in the left use a light gray background to
provide contrast with the specific settings of each category.

Change-Id: Ie56020d6b8886cb9296f9ac9defe6ad81a6cc184
2013-03-27 12:15:04 +01:00
jenkins-bot
2e6d3c5798 Merge "(bug 45142) dirty RTL CSS hack for Opera" 2013-02-24 14:59:13 +00:00
MatmaRex
764a752f1c (bug 45142) dirty RTL CSS hack for Opera
For some absolutely inexplicable reason Opera confuses right and left
padding on li#pt-uls a.uls-trigger in RTL mode, causing the text to
overlap an icon. Use a CSS hack to flip the text direction for Opera
only.

Change-Id: I71c2c4cac3269551722b15c533a2d511e1b483d9
2013-02-21 17:52:08 +01:00
Pau Giner
10078d1b65 SVG versions of icons
SVG assets added and CSS adjusments made to make use fo SVG for compatible browsers.

Change-Id: Ib04b7bd72b528fc0c8159362f03f2a9828342aa4
2013-02-18 15:22:33 +01:00
Pau Giner
640fc523d4 Styling of settings to fit the botom of the ULS
Styling adjustments to properly display settings when they are placed
at the bottom of the ULS.

Change-Id: I4fe0ce0cdc759eca1891cdb37937fa12f45146c6
2013-02-06 17:13:11 +05:30
Santhosh Thottingal
777a4ac447 (Bug 42439) Incorrect vertical alignment for Telugu web font
Vertically aligned the buttons to middle

Change-Id: I405478888114e049cc9b311c2670e4ea420c83d6
2013-01-31 15:11:02 +05:30
Santhosh Thottingal
4f65a3a20c (Bug 42692) #pt-uls .uls-trigger is missing left padding in Modern skin
Change-Id: Icff2d8503b7bf74e535e10e461773dbcf2c14524
2012-12-05 12:42:24 +05:30
pginer
64b4fdb7bd CSS adjustment for the 'No input methods avaialble' message.
* Avoids H4 to affect the layout when is empty.
* Adjusts text and spacing according to other disabled messages in this context.

Change-Id: Ia5ca2342aaec7554765fb492303851a216124a90
2012-11-25 20:51:39 +02:00
pginer
4edd874d2e Visually connect input language and available methods.
Adds a tooltip-like panel to clearly indicate that input methods displayed
are related to the input language selection.

Change-Id: Ib4e9bca48f1f18cfd09a32c25f7ebf404af228e8
2012-11-22 14:01:20 +02:00