From 82a8390a45a70791d65436bf9c33b80fd7e9df03 Mon Sep 17 00:00:00 2001 From: fen Date: Thu, 24 Oct 2013 22:45:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=85=A8=E5=B1=8F=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=A0=B7=E5=BC=8F=EF=BC=8C=E5=87=86=E5=A4=87=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/css/style.css | 20 ++++++++++---------- admin/js/markdown.js | 2 +- admin/scss/components/_editor.scss | 18 +++++++++--------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/admin/css/style.css b/admin/css/style.css index 0b0a8a88..8bdc31de 100644 --- a/admin/css/style.css +++ b/admin/css/style.css @@ -1131,16 +1131,6 @@ a.operate-reply { /* 编辑器全屏 */ .fullscreen #wmd-button-bar { - position: absolute; - top: 38px; - left: 0; - width: 50%; - z-index: 999; - outline: none; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; } -.fullscreen #text { position: absolute; top: 0; left: 0; @@ -1152,6 +1142,16 @@ a.operate-reply { border-right: 1px solid #D9D9D6; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; + box-sizing: border-box; } +.fullscreen #text { + position: absolute; + top: 38px; + left: 0; + width: 50%; + z-index: 999; + outline: none; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; box-sizing: border-box; -webkit-border-radius: 0; -moz-border-radius: 0; diff --git a/admin/js/markdown.js b/admin/js/markdown.js index 28143fcf..53a0c8a1 100644 --- a/admin/js/markdown.js +++ b/admin/js/markdown.js @@ -4628,7 +4628,7 @@ else buttons.redo = makeButton("wmd-redo-button", redoTitle, "-220px", null); buttons.redo.execute = function (manager) { if (manager) manager.redo(); }; - buttons.fullscreen = makeButton("wmd-fullscreen-button", getString("fullscreen"), "-220px", null); + buttons.fullscreen = makeButton("wmd-fullscreen-button", getString("fullscreen"), "-240px", null); buttons.fullscreen.execute = function (manager) { if (manager) manager.fullscreen(); }; diff --git a/admin/scss/components/_editor.scss b/admin/scss/components/_editor.scss index a7272f13..95d2c4e1 100644 --- a/admin/scss/components/_editor.scss +++ b/admin/scss/components/_editor.scss @@ -90,15 +90,6 @@ /* 编辑器全屏 */ .fullscreen { #wmd-button-bar { - position: absolute; - top: 38px; - left: 0; - width: 50%; - z-index: 999; - outline: none; - @include box-sizing(border-box); - } - #text { position:absolute; top: 0; left: 0; @@ -109,6 +100,15 @@ height: 38px; border-right: 1px solid #D9D9D6; @include box-sizing(border-box); + } + #text { + position: absolute; + top: 38px; + left: 0; + width: 50%; + z-index: 999; + outline: none; + @include box-sizing(border-box); @include border-radius(0); } #wmd-preview {