Commit Graph

210 Commits

Author SHA1 Message Date
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
pginer
7b15032626 CSS adjustments on color and sizes
Small adjustments on color to make it compliant with the Agora palette,
cross-browser gradient code added according to CSS WMF guidelines, and
adjustment of element sizes.

And whitespace and new line cleanups

Change-Id: I08890009eff9ed5edec77855467529eb07eaeb57
2012-08-17 17:23:39 +05:30
pginer
d78074a1df Display settings CSS fixes
Some adjustments in CSS to improve layout and visual style.

Change-Id: Ic215bdd64b13a5c263d3e6b2e67615f460282231
2012-08-17 00:17:06 +03:00
Niklas Laxström
ea47df33e0 Two RTL fixes
* WW can flip sides, other regions not
* Display settings icon now changes side and doesn't overlap with text

Change-Id: I35a6c93448a8dd178e657ba25093cf77199227c8
2012-08-16 08:57:16 +00:00
Santhosh Thottingal
710146ef99 CSS fixes for display settings
CSS fixes by Pau, based on If279f7a8

Change-Id: I33f63eef3f7aea26b9498c3c357930d8e6b54085
2012-08-16 06:34:13 +00:00
Amire80
841bdfcfe5 Merge "More UI code" 2012-08-15 17:18:43 +00:00
Siebrand Mazeland
72d2519c4d Fix some issues pointed out by IDE.
* Update .gitignore to ignore .idea.
* Removed unused local variables.
* use local context and Message class instead of deprecated wfMsg* methods.
* Remove redundant px in CSS where possible.
* Combine CSS statements where possible.
* Replace b by strong.

Change-Id: I9d5ed7b7ce585a1c101044254bcbdfc33d42afc1
2012-08-15 17:32:49 +02:00
Santhosh Thottingal
a17598ad04 More UI code
Not all functionalities are added.

Change-Id: I37007a8dedce6bcb055a9d6d79376f40868fd6dd
2012-08-15 18:25:09 +03:00
Santhosh Thottingal
e62b50c9d8 WebFonts integration with ULS display settings.
This does not add much functionality. That will come in
future commits.

This commit has many cleanup, refactoring on the display settings,
language settings code.

Change-Id: I7fbc3ebb9b67c1afd80f159c2d82cd2a1c6bea74
2012-08-14 18:01:25 +03:00
Amir E. Aharoni
a3ab65906a Add Language settings dialog
Change-Id: Ie3455f32ac6ceff3c52d79643a6f7f82106ab7f1
2012-08-14 10:42:13 +05:30
Santhosh Thottingal
1648899c45 Introduce display settings link at the top of ULS
Extend $.fn.uls render method to add additional rendering of display
settings link.

Add css for the new element.

Add display.png icon from the Agora icon set.

Change-Id: I7a29b4892be02526969b0dd786c74bdb7551c074
2012-08-09 16:25:16 +03:00
Santhosh Thottingal
878313d2ec Rearranging Files
* Seperating standalone jQuery ULS plugin and extension related code
* lib/jquery.uls can be submodule, but not now.

Change-Id: I7d9cb47daa88dd1a27ceda602a08cab0073caf33
2012-08-03 12:24:04 +05:30
pginer
7ab7c826c5 ULS headings font and spacing fixes
Adjusting typographic properties to avoid them to be overriden when
the ULS is integrated in a different project

Change-Id: I85fc855c80d170bbfe62cc72bb917b737f2b3b1d
2012-08-02 20:47:20 +05:30
pginer
fa16376501 Trigger icon size fix
Reduce the icon size to fit the size of the language trigger label of the personal
toolbar.

Change-Id: I1946c91a2aa8b47eefa61f10c84b8059949dfc3d
2012-08-02 15:47:52 +02:00
Santhosh Thottingal
baf066f86a Minor cleanup
Remove unused CSS and reorder css, js imports in example/index.html

Change-Id: Iabffe20a683dc4dad07bac95b01f29e7a2159680
2012-08-01 10:59:02 +05:30
Santhosh Thottingal
5703f0f1ad Fix Bug 38665 - Show clean 'x' icon on the search box only when useful
Change-Id: I3fc295728f25cce7a326101467146f8ee3415116
2012-07-30 22:44:28 +05:30
pginer
d8038afad9 (bug 38686) Autocompletion support
Provide atocopletion capabilities to the search box: showing the remaining
 part of the matching element and allow user selection with keyboard.

Change-Id: Ic591c3c87632fb56af16b9b15ecedbf9558d674a
2012-07-30 15:40:03 +05:30