Commit Graph

76 Commits

Author SHA1 Message Date
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
Santhosh
5035f5d739 Merge "Small text styling for 'disabled IME' text" 2012-11-20 11:23:51 +00:00
pginer
73bb7015c8 CSS fixes to match the style modifications of jquery.uls
The style rearrangements of jquery.uls (to avoid CSSLint warnings)
requires some fixes on the extension.

Also update the changes from jquery.uls

Change-Id: I607f7778e620a398ce8648c21c594a3505ec0816
2012-11-20 16:33:32 +05:30
pginer
0947d1e7ed Small text styling for 'disabled IME' text
Adjust spacing and color for the 'Input method tools are disabled' text.
It also sets the color for heading texts.

Change-Id: I0c8395223a7a8de84eae01daa3b4407e705420a0
2012-11-20 11:05:38 +01:00
Santhosh Thottingal
7c4646a059 Remove href=#, to fix Bug 41988
Change-Id: I8eacaa452eb71d237fc671aa63c4707b8e14a83f
2012-11-19 10:59:26 +05:30
Siebrand Mazeland
98d7a8d9f9 Reformat code.
Change-Id: Ic0a5b37fa01b4a13023e66af0518ea94919ee880
2012-11-11 10:34:10 +01:00
pginer
833f8f63d6 Fix to reduce the ammount of settings text
Settings text on the main ULS view can grow longer for some languages running out of space.
This change does the following to avoid that:
* Removes setting section explanations and shows them as a tooltip on hover.
* Adjusts style for adjusting space between setting sections.
* Keyboard image has been adjusted to match the display settings image.

Change-Id: I42ec5cb35b3d4df977a6eff28ad55891f4135356
2012-10-31 18:37:06 +05:30
pginer
30d639540d CSS fix for settings styling
Adjusted color of settins background on main ULS view.

Change-Id: Icaa330a9ac6dde164ef1648070f5cf9b555e94be
2012-10-31 11:57:47 +01:00
Santhosh Thottingal
fc29a7e587 Option for disabling the IME system
* It can be a user preference using the ULS Input method settings
* It can be a mediaWiki configuration $wgULSIMEEnabled

Change-Id: Ic5fb4932d62ab18db5d3b10ca81c0f6bfe9fd29e
2012-10-31 12:57:14 +05:30
Santhosh Thottingal
4818545939 Add a more settings link instead of the help link
It opens the input settings panel of ULS

Change-Id: I6d22585f735073d3d7d3e59eba24befe72238786
2012-10-30 11:33:50 +05:30
Santhosh Thottingal
3ef527960c CSS, tooltip fixes for the more button in IME selector menu.
Change-Id: Ic1ace1191ad9745c9f02be4e5938ce3fb53da8b9
2012-10-26 10:49:45 +02:00
Santhosh Thottingal
f13e474e43 Input method integration with ULS
The file ext.uls.settingspanel.js is a draft for common
code in the different settings panels.

Change-Id: I057274f16b27b2c18d43d41c1d43f485a18ef0bf
2012-10-26 11:14:02 +05:30
Siebrand Mazeland
e1a4f7f0cb After training the PHPStorm code formatter.
See https://github.com/siebrand/MediaWiki-PHPStorm

Issue remains with anonymous functions in JavaScript.

Change-Id: I2b520f8df127452acf02deb659277a6465e6ca59
2012-09-17 17:10:59 -07:00
Santhosh Thottingal
86952ff9fd Allow selection of font for content language
* One more dropdown for content language( if it differs from UI
  language )
* Save the font preferences for both ui and content language
* many refactoring, variable renaming for this change
* Marked many TODOs and FIXMEs

Change-Id: I93ae5eced5938667af186be51bc8a5b5cd1d7eaf
2012-08-21 10:09:25 +05:30