修改全屏按钮样式,准备添加图标

This commit is contained in:
fen 2013-10-24 22:45:54 +08:00
parent b71ff1cf02
commit 82a8390a45
3 changed files with 20 additions and 20 deletions

View File

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

View File

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

View File

@ -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 {