mediawiki-extensions-Visual.../modules/ve/ui
Timo Tijhof 57960a73bd Add .csslintrc file and fix remaining warnings
Adding a fairly loose .csslintrc file so that our code
passes it.

The following options cause warnings in our code and have been
disabled for now:

* adjoining-classes
  > Don't use adjoining classes.
  > .ve-ui-widget-disabled.ve-ui-textInputWidget textarea:focus {

* box-sizing
  > The box-sizing property isn't supported in IE6 and IE7.
  > box-sizing: border-box;

* box-model
  > Using width with border can sometimes make elements larger than you expect.
  > border: solid 1px #ccc;
  > Using width with padding can sometimes make elements larger than you expect.
  > padding: 0 0.75em 0 0.75em;
  > Using width with border-right can sometimes make elements larger than you expect.
  > border-right: 1px solid #eee;

* fallback-colors
  > Fallback background-color (hex or RGB) should precede RGBA background-color.
  > background-color: rgba(104,171,255,0.1);

* important
  > Use of !important
  > position: relative !important;

* outline-none
  > Outlines shouldn't be hidden unless other visual changes are made.
  > .ve-ce-documentNode[contenteditable="true"]:focus {

* qualified-headings
  > Heading (h1) should not be qualified.
  > .ve-ce-branchNode h1:empty:before,

* universal-selector
  > The universal selector (*) is known to be slow.
  > .ve-ce-protectedNode * {

* unqualified-attributes
  > Unqualified attribute selectors are known to be slow.
  > .ve-ce-documentNode[contenteditable="true"]:focus {

Fixes made:
* modules/ve/ce/styles/ve.ce.Surface.css:
 [L66:C2] margin can't be used with display: inline.
* modules/ve/ui/styles/ve.ui.css: Unknown @ rule: @-ms-keyframes
 Internet Explorer < 10 doesn't support keyframes. IE10+ supports
 the standard property. I don't think ms-keyframes ever existed
 http://caniuse.com/css-animation. ms-transform did exist
 http://caniuse.com/transform.

Change-Id: I728a48e489c079e1c94a506bb00c245de9551eb6
2013-06-05 11:07:00 +00:00
..
actions ve.Editor 2013-05-15 10:39:12 -07:00
dialogs ve.ui.MWTemplateDialog: Implement inferring of template data 2013-05-30 18:37:51 +01:00
elements ve.Element refactor 2013-05-14 19:47:32 +00:00
inspectors Consistent use of mw in HTML classes, and data element and annotation types 2013-05-28 13:49:56 +01:00
layouts Fix documentation for GridLayout to add a return type 2013-05-25 12:48:17 +02:00
styles Add .csslintrc file and fix remaining warnings 2013-06-05 11:07:00 +00:00
tools Consistent use of mw in HTML classes, and data element and annotation types 2013-05-28 13:49:56 +01:00
widgets Add icon option to ve.ui.TextInputWidget 2013-05-29 12:39:07 +01:00
ve.ui.Action.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.ActionFactory.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.CommandRegistry.js Make MW meta dialog experimental 2013-05-24 17:53:06 +02:00
ve.ui.Context.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.Dialog.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.DialogFactory.js UI "Views" refactor 2013-04-18 15:53:50 -07:00
ve.ui.Frame.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.Inspector.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.InspectorFactory.js UI "Views" refactor 2013-04-18 15:53:50 -07:00
ve.ui.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.Layout.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ui.Surface.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.Tool.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.Toolbar.js Make MW meta dialog experimental 2013-05-24 17:53:06 +02:00
ve.ui.ToolFactory.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.ui.Trigger.js jshint: Fix trailing comma 2013-06-05 13:00:49 +02:00
ve.ui.TriggerRegistry.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.ViewRegistry.js Link inspector fixes 2013-04-24 18:29:55 -07:00
ve.ui.Widget.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ui.Window.js Restore window overlays 2013-05-25 15:44:36 +02:00
ve.ui.WindowSet.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00