From d8e60f9f4bb528d9af6f43ea8f07c765f5e9538e Mon Sep 17 00:00:00 2001 From: DanyaPostfactum Date: Mon, 1 Oct 2012 17:06:40 +1000 Subject: [PATCH] Vendor-prefixed css-properties should go before standart. --- lib/ace/css/editor.css | 14 +++++++------- lib/ace/keyboard/emacs.js | 1 + 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/ace/css/editor.css b/lib/ace/css/editor.css index e03fe191..341c3c87 100644 --- a/lib/ace/css/editor.css +++ b/lib/ace/css/editor.css @@ -12,9 +12,9 @@ .ace_content { position: absolute; - box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; + box-sizing: border-box; cursor: text; } @@ -97,8 +97,8 @@ height: 1em; opacity: 0; background: transparent; - appearance: none; -moz-appearance: none; + appearance: none; border: none; resize: none; outline: none; @@ -121,9 +121,9 @@ white-space: nowrap; height: 100%; width: 100%; - box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; + box-sizing: border-box; /* setting pointer-events: auto; on node under the mouse, which changes during scroll, will break mouse wheel scrolling in Safari */ pointer-events: none; @@ -190,15 +190,15 @@ .ace_marker-layer .ace_selected-word { position: absolute; z-index: 4; - box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; + box-sizing: border-box; } .ace_line .ace_fold { - box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; + box-sizing: border-box; display: inline-block; height: 11px; @@ -245,9 +245,9 @@ padding: 4px; position: absolute; z-index: 300; - box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; + box-sizing: border-box; cursor: default; } @@ -256,9 +256,9 @@ } .ace_fold-widget { - box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; + box-sizing: border-box; margin: 0 -12px 0 1px; display: inline-block; diff --git a/lib/ace/keyboard/emacs.js b/lib/ace/keyboard/emacs.js index 4c6173e9..a1248759 100644 --- a/lib/ace/keyboard/emacs.js +++ b/lib/ace/keyboard/emacs.js @@ -57,6 +57,7 @@ exports.handler.attach = function(editor) { .emacs-mode .ace_cursor{\ border: 2px rgba(50,250,50,0.8) solid!important;\ -moz-box-sizing: border-box!important;\ + -webkit-box-sizing: border-box!important;\ box-sizing: border-box!important;\ background-color: rgba(0,250,0,0.9);\ opacity: 0.5;\