界面优化

This commit is contained in:
lealife
2015-09-05 23:30:24 +08:00
parent b3c771a87f
commit 7440218974
86 changed files with 3159 additions and 17934 deletions

View File

@@ -1,3 +1,4 @@
/*
@font-face {
font-family: 'Open Sans';
font-style: normal;
@@ -22,14 +23,86 @@
font-weight: 400;
src: local('Open Sans Italic'), local('OpenSans-Italic'), url('../../fonts/open-sans2/xjAJXh38I15wypJXxuGMBobN6UDyHWBl620a-IRfuBk.woff') format('woff');
}
*/
/* leanote */
/*
@font-face {
font-family: 'leanoteregular';
src: url('../../fonts/leanote/leanote-regular-webfont.eot');
src: url('../../fonts/leanote/leanote-regular-webfont.eot?#iefix') format('embedded-opentype'), url('../../fonts/leanote/leanote-regular-webfont.woff') format('woff'), url('../../fonts/leanote/leanote-regular-webfont.ttf') format('truetype'), url('../../fonts/leanote/leanote-regular-webfont.svg#leanoteregular') format('svg');
font-family: 'leanoteregular';
src: url('../../fonts/leanote/leanote-regular-webfont.eot');
src: url('../../fonts/leanote/leanote-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('../../fonts/leanote/leanote-regular-webfont.woff') format('woff'),
url('../../fonts/leanote/leanote-regular-webfont.ttf') format('truetype'),
url('../../fonts/leanote/leanote-regular-webfont.svg#leanoteregular') format('svg');
font-weight: normal;
font-style: normal;
}
*/
@font-face {
font-family: 'leanote';
src: url('../../fonts/leanote-font2/leanote.eot?-vcf23i');
src: url('../../fonts/leanote-font2/leanote.eot?#iefix-vcf23i') format('embedded-opentype'), url('../../fonts/leanote-font2/leanote.ttf?-vcf23i') format('truetype'), url('../../fonts/leanote-font2/leanote.woff?-vcf23i') format('woff'), url('../../fonts/leanote-font2/leanote.svg?-vcf23i#leanote') format('svg');
font-weight: normal;
font-style: normal;
}
#logo,
#switcher span,
.mce-i-mind,
.mce-i-ace-pre,
.lea-icon {
font-family: 'leanote' !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-markdown:before {
content: "\e604";
}
.mce-i-mind:before {
content: "\e602";
}
.mce-i-ace-pre:before {
content: "\e603";
}
#logo:before {
content: "\e600";
line-height: 1;
margin-top: 5px;
display: inline-block;
vertical-align: top;
}
#switcher span:before {
content: "\e601";
}
.new-split {
display: none;
}
.new-note {
background-color: #000;
border-radius: 3px;
padding: 3px 5px;
border: 1px solid #080303;
}
.new-note,
.new-note a {
color: #fff;
}
.new-note:hover {
background: #3D3B3B;
border-color: transparent;
}
.new-note:hover,
.new-note:hover a {
color: #fff;
}
.new-markdown {
margin-left: 3px;
margin-right: 3px;
}
*,
.h1,
.h2,
@@ -41,14 +114,19 @@
}
body {
font-family: 'Open Sans', 'Helvetica Neue', Arial, 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
font-weight: 300;
font-weight: normal;
font-size: 16px;
}
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
body {
font-weight: 300;
}
}
h1,
h2,
h3 {
font-family: 'Open Sans', 'Helvetica Neue', Arial, 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
font-weight: 300 !important;
font-weight: normal !important;
}
/*"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue", Helvetica, "Microsoft Yahei", Verdana, Simsun, "Segoe UI", "Segoe UI Web Regular", "Segoe UI Symbol", "BBAlpha Sans", "S60 Sans", Arial, sans-serif;*/
#noteItemList,
@@ -117,14 +195,9 @@ h3 {
margin-bottom: 10px;
}
#logo {
font-family: "leanoteregular";
font-size: 36px;
}
#logo:before {
content: "a";
}
#switcher span {
font-family: "leanoteregular";
border-radius: 5px;
display: inline-block;
cursor: pointer;
@@ -134,9 +207,6 @@ h3 {
margin-top: 8px;
padding: 0 5px;
}
#switcher span:before {
content: "b";
}
.noteSplit {
position: absolute;
top: 0;
@@ -1159,6 +1229,9 @@ h3 {
display: inline-block;
padding-right: 10px;
}
.invisible {
visibility: hidden;
}
#editorContent {
-webkit-user-select: text;
}