writting mode resize editor

This commit is contained in:
life
2014-05-15 22:36:32 +08:00
parent 1fa03e901d
commit 8f86baa616
4 changed files with 19 additions and 22 deletions

View File

@ -783,19 +783,18 @@ body {
line-height: 60px;
margin: auto;
}
#header .pull-right:hover a {
color: #000;
}
#newNoteWrap {
line-height: 40px;
margin-top: 10px;
margin-left: 10px;
}
#newNoteWrap:hover {
color: #000;
#newNoteWrap,
#topNav {
opacity: 0;
}
#newNoteWrap:hover a {
color: #000;
#newNoteWrap:hover,
#topNav:hover {
opacity: 1;
}
#mainContainer {
overflow-y: hidden;
@ -945,7 +944,7 @@ body {
#leanoteNav {
background-color: #fbfcf7;
opacity: 0.3;
right: -20px;
right: -30px;
}
.new-note-right {
padding: 0 2px;

View File

@ -877,23 +877,17 @@ html,body {
margin:auto;
}
color: #ccc;
.pull-right {
&:hover {
a {
color: #000;
}
}
}
}
#newNoteWrap {
line-height: 40px; margin-top: 10px;
margin-left: 10px;
}
#newNoteWrap, #topNav {
opacity: 0;
&:hover {
color: #000;
a {
color: #000;
}
opacity: 1;
}
}
@ -1043,7 +1037,7 @@ html,body {
#leanoteNav {
background-color: @bgColor;
opacity: 0.3;
right: -20px;
right: -30px;
}
.new-note-right {

File diff suppressed because one or more lines are too long

View File

@ -744,7 +744,7 @@ editorMode.prototype.normalMode = function() {
$c.contents().find("#writtingMode").remove();
$c.contents().find('link[href$="editor-writting-mode.css"]').remove();
$("#noteItemListWrap, #notesAndSort").show();
$("#noteItemListWrap, #notesAndSort").show();
$("#noteList").unbind("mouseenter").unbind("mouseleave");
var theme = UserInfo.Theme || "default";
@ -754,6 +754,8 @@ editorMode.prototype.normalMode = function() {
$("#mceToolbar").css("height", "30px");
// $("#lock").animate({right:w},1000);
resizeEditor();
}
editorMode.prototype.writtingMode = function() {
/*
@ -783,6 +785,8 @@ editorMode.prototype.writtingMode = function() {
// $("#lock").animate({right:w},1000);
// $("body").fadeIn();
resizeEditor();
}
editorMode.prototype.getWritingCss = function() {