添加全屏样式

This commit is contained in:
fen 2013-10-24 22:36:01 +08:00
parent 6707f6ca40
commit b71ff1cf02
2 changed files with 77 additions and 0 deletions

View File

@ -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
*/

View File

@ -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);
}
}