diff --git a/admin/css/style.css b/admin/css/style.css index 13b13894..0b0a8a88 100644 --- a/admin/css/style.css +++ b/admin/css/style.css @@ -1129,6 +1129,47 @@ a.operate-reply { border: 1px solid #E9E9E6; border-width: 2px 0 0 0; } +/* 编辑器全屏 */ +.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; + padding-top: 6px; + width: 50%; + background-color: #FFF; + z-index: 1000; + height: 38px; + border-right: 1px solid #D9D9D6; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + -webkit-border-radius: 0; + -moz-border-radius: 0; + -ms-border-radius: 0; + -o-border-radius: 0; + border-radius: 0; } +.fullscreen #wmd-preview { + position: absolute; + top: 0; + right: 0; + width: 50%; + background-color: #FFF; + z-index: 999; + overflow: auto; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; } + /** * Jquery Timepicker */ diff --git a/admin/scss/components/_editor.scss b/admin/scss/components/_editor.scss index f12a53f4..a7272f13 100644 --- a/admin/scss/components/_editor.scss +++ b/admin/scss/components/_editor.scss @@ -85,4 +85,40 @@ border: 1px solid #E9E9E6; border-width: 2px 0 0 0; } +} + +/* 编辑器全屏 */ +.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; + padding-top: 6px; + width: 50%; + background-color: #FFF; + z-index: 1000; + height: 38px; + border-right: 1px solid #D9D9D6; + @include box-sizing(border-box); + @include border-radius(0); + } + #wmd-preview { + position: absolute; + top: 0; + right: 0; + width:50%; + background-color: #FFF; + z-index: 999; + overflow: auto; + @include box-sizing(border-box); + } } \ No newline at end of file