主题优化

This commit is contained in:
life
2015-05-03 16:57:07 +08:00
parent 060435bcaa
commit 3d49deb575
9 changed files with 77 additions and 20 deletions

View File

@@ -20,5 +20,5 @@ var Config = {
} }
], ],
"lang": "zh-hk", "lang": "zh-hk",
"theme": "night" "theme": "water"
}; };

View File

@@ -845,11 +845,6 @@ h1, h2, h3 {
#notesAndSort { #notesAndSort {
height: 36px; height: 36px;
} }
#noteItemListWrap {
position: absolute; left: 0; right: 0;
top: 69px;
bottom: 3px;
}
@@ -1818,6 +1813,12 @@ img::selection {
z-index: 1030 !important; // 别把modal遮住了 z-index: 1030 !important; // 别把modal遮住了
} }
// 没有颜色
.mce-colorbtn-trans div {
line-height: 11px;
text-align: center;
}
/* /*
#starNotes li a, #starNotes li a,
.ztree li a, .ztree li a,

View File

@@ -784,13 +784,6 @@ h3 {
#notesAndSort { #notesAndSort {
height: 36px; height: 36px;
} }
#noteItemListWrap {
position: absolute;
left: 0;
right: 0;
top: 69px;
bottom: 3px;
}
#mdEditorPreview { #mdEditorPreview {
position: absolute; position: absolute;
top: 35px; top: 35px;
@@ -1610,6 +1603,10 @@ img::selection {
#editorMask { #editorMask {
z-index: 1030 !important; z-index: 1030 !important;
} }
.mce-colorbtn-trans div {
line-height: 11px;
text-align: center;
}
/* /*
#starNotes li a, #starNotes li a,
.ztree li a, .ztree li a,
@@ -1795,12 +1792,18 @@ a.raw:hover {
#switcher span:hover { #switcher span:hover {
color: #0fb264; color: #0fb264;
} }
#noteList,
#notesAndSort,
#searchNote,
#noteItemListWrap {
background: #fafafa;
}
#searchNote { #searchNote {
padding: 0 10px; padding: 2px 10px;
line-height: 30px; line-height: 30px;
width: 100%; width: 100%;
margin: 0; margin: 0;
margin-top: 2px; /* margin-top: 2px; */
} }
#searchNote input { #searchNote input {
background-size: 18px 13px; background-size: 18px 13px;
@@ -1819,6 +1822,16 @@ a.raw:hover {
outline: none !important; outline: none !important;
box-shadow: none; box-shadow: none;
} }
#noteItemListWrap {
position: absolute;
left: 0;
right: 0;
top: 75px;
bottom: 3px;
}
#noteItemList .item:first-child {
margin-top: 0;
}
#header ul { #header ul {
margin: 0; margin: 0;
padding: 0; padding: 0;
@@ -2086,7 +2099,6 @@ a.raw:hover {
outline-offset: -2px; outline-offset: -2px;
} }
#notesAndSort { #notesAndSort {
background-color: #ffffff;
border-bottom: 1px solid #ebeff2; border-bottom: 1px solid #ebeff2;
} }
/* 包裹iframe */ /* 包裹iframe */

View File

@@ -97,14 +97,20 @@ a.raw:hover {
} }
} }
} }
// 中间的背景色
@noteListBg: rgba(250,250,250,1);
#noteList, #notesAndSort, #searchNote,#noteItemListWrap {
background: @noteListBg;
}
#searchNote { #searchNote {
// padding-left: 0; // padding-left: 0;
// padding-right: 0; // padding-right: 0;
padding: 0 10px; padding: 2px 10px;
line-height: 30px; line-height: 30px;
width: 100%; width: 100%;
margin:0; margin: 0;
margin-top: 2px; /* margin-top: 2px; */
input { input {
background-size: 18px 13px; background-size: 18px 13px;
@@ -126,6 +132,18 @@ a.raw:hover {
} }
} }
#noteItemListWrap {
position: absolute; left: 0; right: 0;
top: 75px;
bottom: 3px;
}
#noteItemList {
.item:first-child {
margin-top: 0;
}
}
#header ul { #header ul {
margin:0; margin:0;
padding:0; padding:0;
@@ -424,7 +442,6 @@ a.raw:hover {
} }
#notesAndSort { #notesAndSort {
background-color: @bgColor;
border-bottom: 1px solid @borderColor; border-bottom: 1px solid @borderColor;
} }

View File

@@ -68,6 +68,12 @@
border: none; border: none;
} }
#noteList, #noteList,
#notesAndSort,
#searchNote,
#noteItemListWrap {
background: transparent;
}
#noteList,
#notesAndSort { #notesAndSort {
background: #444444; background: #444444;
} }

View File

@@ -88,6 +88,9 @@
#noteAndEditor { #noteAndEditor {
border: none; border: none;
} }
#noteList, #notesAndSort, #searchNote,#noteItemListWrap {
background: transparent;
}
#noteList, #notesAndSort { #noteList, #notesAndSort {
background: @noteBgLess; background: @noteBgLess;
} }

View File

@@ -68,6 +68,12 @@
border: none; border: none;
} }
#noteList, #noteList,
#notesAndSort,
#searchNote,
#noteItemListWrap {
background: transparent;
}
#noteList,
#notesAndSort { #notesAndSort {
background: #444444; background: #444444;
} }

View File

@@ -68,6 +68,12 @@
border: none; border: none;
} }
#noteList, #noteList,
#notesAndSort,
#searchNote,
#noteItemListWrap {
background: transparent;
}
#noteList,
#notesAndSort { #notesAndSort {
background: #fdf6e3; background: #fdf6e3;
} }

View File

@@ -68,6 +68,12 @@
border: none; border: none;
} }
#noteList, #noteList,
#notesAndSort,
#searchNote,
#noteItemListWrap {
background: transparent;
}
#noteList,
#notesAndSort { #notesAndSort {
background: #444444; background: #444444;
} }