mediawiki-extensions-Visual.../modules/ve/ui/styles
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
..
images Add search icons 2013-05-29 11:57:04 +01:00
ve.ui.Context.css The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.css Add .csslintrc file and fix remaining warnings 2013-06-05 11:07:00 +00:00
ve.ui.Dialog.css Template dialog cleanup 2013-05-29 11:03:52 +01:00
ve.ui.Element.css Stack panel, element mixins, cleanup 2013-03-28 12:40:01 -07:00
ve.ui.Frame.css Context, frame, window, dialog and inspector refactor 2013-03-14 00:03:31 +00:00
ve.ui.Icons-raster.css Add search icons 2013-05-29 11:57:04 +01:00
ve.ui.Icons-vector.css Add search icons 2013-05-29 11:57:04 +01:00
ve.ui.Inspector.css Category UI improvements 2013-05-10 00:19:46 +00:00
ve.ui.Layout.css Fieldsets and default sort keys 2013-05-10 16:46:08 -07:00
ve.ui.Surface.css The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.Tool.css Make menus render on the very top of everything 2013-05-28 13:59:05 +01:00
ve.ui.Toolbar.css The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.Widget.css Add icon option to ve.ui.TextInputWidget 2013-05-29 12:39:07 +01:00
ve.ui.Window.css Restore window overlays 2013-05-25 15:44:36 +02:00