Commit Graph

98 Commits

Author SHA1 Message Date
Santhosh Thottingal
0340e609a0 Expose compact mode as an option
* some minor space cleanup
* Also close the ULS window when clicked outside

Change-Id: I06b465926196f79e47990e80e3b23f5a16474ba3
2013-03-15 14:57:19 +05:30
Pau Giner
44ff5e0120 Support for back links for uls-compact
Added styles for links that are inserted in the header of the list
to allow the user to go back for multi-step dialogs.

Change-Id: I062086e23d0d5275fd577d9977313b0ac25cf014
2013-03-15 10:09:06 +05:30
Pau Giner
e23d7171d5 Stylesheed and example for compact language list
A searchable list for scenarios where users need to
type/select a language (or more) as input.
The list is made more compact by removing secondary
aids from the ULS to focus on the input task.
2013-03-14 22:14:36 +01:00
Pau Giner
50c42c6cdc CSS fixes to avoid rules to be overriden
Small CSS fixes to avoid MediaWiki CSS to override some of the
styles defined for the selector.
2013-02-09 21:59:17 +01:00
Amir E. Aharoni
4d313a2d5f Whitespace 2013-02-08 10:23:02 +05:30
Santhosh Thottingal
fc8e7f9a7c Merge pull request #76 from pauginer/svg-icons
Adding SVG version of icons and map for ULS
2013-02-07 04:44:43 -08:00
Pau Giner
34a6c98327 Adding SVG version of icons and map for ULS
SVG versions of the icons used in the ULs has been added and
the CSS has been modified so that the png fallback is supported by old browsers.
2013-02-06 11:56:04 +01:00
Pau Giner
36a699f89f Border radius removed from the search info
Since the search information shown when no elements are found is no longer
the element at the bottom, there is no need for rounded bottom corners that match the ULs panel.
2013-02-06 11:04:38 +01:00
Amir E. Aharoni
d4ef33d4f8 Merge pull request #58 from amire80/whitespace
Whitespace
2013-01-02 23:09:40 -08:00
Amir E. Aharoni
49436026d8 Whitespace 2013-01-02 18:48:02 +02:00
Amir E. Aharoni
e78a2507d7 Whitespace 2012-12-30 20:34:32 +02:00
Santhosh Thottingal
38d5826b72 Remove all deprecated methods
Change-Id: I8f6507f264ace851483d317af38733be46c51091
2012-12-24 16:18:26 +05:30
Amir E. Aharoni
2bafab8414 Whitespace 2012-12-14 09:46:03 +02:00
pginer
ecfa8756bf Make ULS ready for mobile
This provides support for adapting the ULs to small screens:
* A mobile-specific CSS, that is only applied when the ULS uses .uls-mobile class, has been created (based on Foundation.css mobile rules + some specifics) to support mobile-specific classes.
* The core HTML has been modified to include some clases that in case mobile CSS is enabled dictate which elements can behidden and the number of columns to use in the mobile grid (4-column based).
* An index-mobile.html example has been set-up to illustrate the changes. Some of the changes required for a correct mobile experience are still done with JQuery modifications. Someone should probably update the ULS API to allow the inclusion of optional classes (such as uls-mobile) and overriding positioning parameters.
2012-11-29 10:03:07 +01:00
Santhosh Thottingal
b34cbbe9d2 Limit the grid to 'grid' class
Change-Id: I60dd826ddee0861c05bc6b0cadc8bdc1eb3a6488
2012-11-28 14:59:56 +05:30
pginer
16062111ee Consistent spacing
Fixes to make spacing consistent in rule heading and separation between rules.
2012-11-26 15:07:29 +01:00
pginer
6b40a255f8 Remove commented rules
Commented rules were removed since it has been checked they are not used
in the ULS context.
2012-11-26 14:05:47 +01:00
pginer
245ced8c7c Adjusting CSS precedence of rules
Some selectors have been adjusted to be made more specifics
when the modified Grid rules took unintended preference due to last modifications.
2012-11-26 13:58:15 +01:00
pginer
2eb2608cd9 CSS grid made ULS-specific
CSS rules used in the grid are prefixed with ULS specific elements so that
they do not affect unintended elements.
2012-11-26 13:45:31 +01:00
Santhosh Thottingal
9938c9685e minor whitespace fix 2012-11-21 17:17:16 +05:30
pginer
2ac75f61c5 Cursor adjustment for regions in the 'no found' view
Sets the cursor type to pointer so that the regions at the bottom
of the 'no found' view act as links (hand cursor is ahown on hover).
2012-11-20 10:03:03 +01:00
pginer
138288e32f Avoid transition for all properties of search bar
Transition property has been adjusted for the search bar to affect only the border.
Initially it was set to all when only the border changes.
Apart of efficiency reasons, when zooming a glitch was produced.
2012-11-19 20:31:18 +01:00
Amir E. Aharoni
025e452560 Remove superfluous element names where ID is specified 2012-11-19 18:56:35 +02:00
pginer
27039e1141 Fixes CSSLint issues for jquery.uls.css
CSS adjustments and JS modifications (adding classes to HTML elemnts)
to solve issues reported by CSS Lint when validating jquery.uls.css
2012-11-19 17:26:34 +01:00
pginer
6fa03963f1 Fixes CSSLint issues for jquery.uls.lcd.css
CSS adjustments and JS modifications (adding classes to HTML elements)
to solve issues reported by CSS Lint when validating jquery.uls.lcd.css

Change-Id: Ic604984b1a677f0e18796d6ce131736d6b9d6c3a
2012-11-19 20:13:12 +05:30
pginer
6a9771e4f1 Added prefixes and reorder transition properties
Vendor prefixes and proper order is set for the transition property.
2012-11-16 13:28:47 +01:00
pginer
de0a2427f3 Another spacing fix
Spacing CSS fix about the lack of space before a bracket.
2012-11-15 11:54:30 +01:00
pginer
b609c455c2 Fix little spacing issues
To comply with our code guidelines, a newline has been added to separate two css rules as noted by Nikerabbit.
2012-11-15 11:51:35 +01:00
pginer
c684953fe2 CSS to avoid style clash with link color on map labels
Map labels are shown as blue when the ULS is integrated with MediaWiki.
This commit:
* Changes the hidding label strategy to be based on modifying the opacity (not the color of links).
* Specifis the label color explicitly to avoid CSS conflicts.
2012-11-15 10:35:40 +01:00
Santhosh Thottingal
38b870dfe4 Address review comments by Niklas in MW gerrit
https://gerrit.wikimedia.org/r/#/c/32865/

Change-Id: I7e9e25c3f62bc577b1483f5035e88327a12837c0
2012-11-11 12:48:45 +05:30
pginer
23c6b0c829 Map simplifications
Show map labels only when needed to simplify the map.
2012-11-06 14:46:28 +01:00
pginer
24dc71bcdd Smal fix to align links under the title
Whenlinks are included under the ULS title (e.g., go back to display settings),
they need the same padding as the title to be aligned.
This commit does so.
2012-10-17 17:15:55 +02:00
pginer
89a502fdb5 Emphasize search bar and better connection to the list
The style for the search zone has been modified to emphasize it,
 and margins for the language list have been modified to avoid blank separation between search bar and the list.
2012-10-17 13:29:54 +02:00
Amir E. Aharoni
9d38d9bd64 Fix a few trivial CSS lint issues 2012-10-08 08:35:14 +02:00
Amir E. Aharoni
972247b895 Remove unecessary whitespace 2012-10-07 17:17:36 +02:00
amire80
f9e3e148e3 Add basic support for dir and lang attributes for autonyms
Added a util function for getting the language's direction.

Added lang and dir attributes for every language item in the list.
2012-09-24 16:34:06 -07:00
Santhosh Thottingal
f3967d9b11 Fix Bug 39096 - Narayam compatibility with ULS
* Correct the event propagation
* Narayam blue background prevents the autocomplete visible. Overriding
 background color with transparent, but that does not look good. May be we
should consider this while designing jquery.ime

Change-Id: If8ea8c1f074cc20b743805953a3bd68da62cb55b
2012-09-07 11:06:30 +05:30
Santhosh Thottingal
f837ed904a Fix Bug 39922 - The "No results found" view lacks suggested languages
noresultsview is part of uls.lcd now, moved the html template too.

Change-Id: I9aee0ab1b62e61c3ec0e2c89f7d07b7a4432ef33
2012-09-03 19:31:41 +05:30
pginer
08b9a2828f Fix to allow using the ULS when it is bigger than the viewport
Small fix that make global scrolling to affect the ULS (using absolute positioning instead of fixed).
It solves the problem behind bug 39414 without the need for making the window draggable.

Change-Id: Icc3ca81c4b48040b38a5efb42422bdb53e0e2422
2012-08-31 12:16:11 +02:00
pginer
bc98b8ff1d 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
Santhosh
76648a9a9a Merge "Fix bug 39417 - Scrollbars appear for ULS regions" 2012-08-16 09:27:44 +00:00
Niklas Laxström
446a418ad4 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
pginer
487275877d Fix bug 39417 - Scrollbars appear for ULS regions
Modified overflow property to avoid vertical scrollbars.

Change-Id: I93fdb98207348e8b105c223f3d4518b8bbed9bee
2012-08-16 10:46:37 +02:00
Siebrand Mazeland
e0bf84cb15 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
pginer
87897014fc CSS fixes for colors and size consistency
Small CSS adjustments to:
* Reduce ULS vertical size to adapt to the 8-row layout.
* Use more contrast in colors to better comply with WCAG.
* Add overflow properties to regions in map to avoidlong texts to overlap.

Change-Id: I0498f68e32b978f2e1d8c2d4c5e788c71483590d
2012-08-15 14:24:53 +02:00
Santhosh Thottingal
063805538b Implement visual language grouping in ULS
Added a utility callback function to sort languages by autonym.
Added CSS fix for group separatos.

Change-Id: I73c7c6518a85e4ea7999be3ef92a121e877610e8
2012-08-07 13:42:20 +05:30
Niklas Laxström
4051277a76 Fix the map in RTL, again
Change-Id: Idde206fd968757cacf778ba41140b99e7f322cc7
2012-08-07 06:41:14 +00:00
Santhosh Thottingal
0a681a85fe 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