Permalink
Browse files

Changed box-border to be less intrusive (actually, using same as CKEd…

…itor)
  • Loading branch information...
1 parent 860fa74 commit 062270492dcee460944b7bbe450f20f4127f49ef @stianlik stianlik committed Jan 15, 2013
Showing with 4 additions and 9 deletions.
  1. +3 −8 jquery.wysiwyg.css
  2. +1 −1 test/basic.html
View
11 jquery.wysiwyg.css
@@ -1,5 +1,4 @@
-
-div.wysiwyg { border: 1px solid #999; padding: 0; background: #fff url('jquery.wysiwyg.bg.png') repeat-x top; }
+div.wysiwyg { border: 1px solid #999; padding: 0; background: #fff url('jquery.wysiwyg.bg.png') repeat-x top; -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); }
div.wysiwyg * { margin: 0; padding: 0; }
div.wysiwyg ul.toolbar li.jwysiwyg-custom-command { overflow: hidden; }
@@ -71,11 +70,7 @@ div.wysiwyg ul.toolbar li.cssWrap { background-position: -92px -106px; }
div.wysiwyg-dialogRow { float:left; width:100%; font-size: 16px; }
-div.wysiwyg iframe { clear: left;
--moz-box-shadow :inset 0 0 10px rgba(0, 0, 0, 0.4);
--webkit-box-shadow :inset 0 0 10px rgba(0, 0, 0, 0.4);
-box-shadow :inset 0 0 10px rgba(0, 0, 0, 0.4);
-background-color:white; padding:0px; margin:0; display:block; width: 100%; }
+div.wysiwyg iframe { clear: left; background-color:white; padding:0px; margin:0; display:block; width: 100%; }
/* dialog */
.wysiwyg-dialog { position:fixed; top:50px; left:50px; width:450px; height:300px; background:transparent; font:14px "Helvetic Neue", Helvetica,Arial,sans-serif; }
@@ -93,4 +88,4 @@ background-color:white; padding:0px; margin:0; display:block; width: 100%; }
.wysiwyg-dialog-content form.wysiwyg .form-row input.width-auto { width:auto; }
.wysiwyg-dialog-content form.wysiwyg input.width-small { width:50px; min-width:50px; max-width:50px; }
.wysiwyg-dialog-content form.wysiwyg input, .wysiwyg-dialog form.wysiwyg select { padding:2px; width:100%; margin:2px; }
-.wysiwyg-dialog-content form.wysiwyg input[type=submit], .wysiwyg-dialog form.wysiwyg input[type=reset] { padding:2px 7px; width:auto; }
+.wysiwyg-dialog-content form.wysiwyg input[type=submit], .wysiwyg-dialog form.wysiwyg input[type=reset] { padding:2px 7px; width:auto; }
View
2 test/basic.html
@@ -30,4 +30,4 @@
<textarea id="editor"></textarea>
</div>
</body>
-</html>
+</html>

0 comments on commit 0622704

Please sign in to comment.