This commit is contained in:
lealife
2016-05-21 23:05:50 +08:00
parent 5c9e95ed60
commit 5db724e80b
46 changed files with 396 additions and 270 deletions

View File

@ -68,6 +68,7 @@ a:hover {
height: 50px;
display: inline-block;
margin-top: -5px;
padding: 8px;
}
#headerContainer .navbar-nav a {
line-height: 60px;
@ -687,14 +688,13 @@ input,
opacity: 0;
}
.footer-leanote {
margin-top: 20px;
color: #475F77;
text-align: center;
margin-top: 20px;
color: #475F77;
text-align: center;
}
#footer .footer-leanote a {
color: #475F77;
color: #475F77;
}
/* news */
.index-news a:hover {
text-decoration: underline !important;

View File

@ -81,6 +81,7 @@ a:hover {
height: 50px;
display: inline-block;
margin-top: -5px;
padding: 8px;
}
}
.navbar-nav a {

View File

@ -2,6 +2,7 @@
@import "includes/animation.less";
@import "includes/common.less";
@import "includes/icon.less";
@import "includes/header.less";
@import "includes/page.less";
@ -21,43 +22,6 @@
@import "includes/tag.less";
@import "includes/batch.less";
#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";
}
*,.h1,
.h2,
.h3,
@ -103,7 +67,7 @@ h1, h2, h3 {
@fontFamily: 'Open Sans', Helvetica, Tahoma, Arial, Hiragino Sans GB, "Microsoft YaHei", "微软雅黑", "Micro Hei", SimSun, "宋体", Heiti, "黑体", sans-serif;
// @fontFamily: Helvetica, Tahoma, Arial, Hiragino Sans GB, "Microsoft YaHei", "微软雅黑", "Micro Hei", SimSun, "宋体", Heiti, "黑体", sans-serif;
@aceFontFamily: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', Hiragino Sans GB, "Microsoft YaHei", "微软雅黑";
@aceFontFamily: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', Hiragino Sans GB, "Microsoft YaHei", "微软雅黑", monospace, sans-serif;
// @fontFamily: PingFang SC,Hiragino Sans GB,Helvetica Neue,Microsoft Yahei,WenQuanYi Micro Hei,sans-serif;
// header

File diff suppressed because one or more lines are too long

View File

@ -29,17 +29,6 @@
src: local('Open Sans Italic'), local('OpenSans-Italic'), url('../../fonts/open-sans2/xjAJXh38I15wypJXxuGMBobN6UDyHWBl620a-IRfuBk.woff') format('woff');
}
@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;
}
.close:focus {
outline: none;
}
@ -48,6 +37,9 @@
visibility: hidden;
}
.mobile-show {
display: none;
}
.btn {
border-radius: 2px;

View File

@ -18,9 +18,6 @@
padding: 2px;
}
#logo {
font-size: 36px;
}
#avatar {
height: 60px; max-width: 200px; display: inline-block; margin: 10px;
@ -157,7 +154,8 @@ a:hover {
width: 140px;
height: @headerHeight;
padding-left: 10px;
padding-top: 0px;
padding-top: 9px;
font-size: 32px;
}
#switcher {
@ -173,11 +171,9 @@ a:hover {
color: @hColor;
}
}
span {
border-radius: 5px;
// background-color: @switcherBgColor;
#leftSwitcher2 {
cursor: pointer;
font-size: 18px;
font-size: 16px;
line-height: 34px;
margin-top: 8px;
padding: 0 5px;
@ -292,3 +288,10 @@ a:hover {
border-radius: 3px;
border: 1px solid #eee;
}
#myProfile {
margin: 0 10px;
}
.profile-img {
line-height: 60px;
}

View File

@ -0,0 +1,51 @@
@font-face {
font-family: 'leanote';
src:url('../../fonts/leanote-font3/leanote.eot?-vcf23i');
src:url('../../fonts/leanote-font3/leanote.eot?#iefix-vcf23i') format('embedded-opentype'),
url('../../fonts/leanote-font3/leanote.ttf?-vcf23i') format('truetype'),
url('../../fonts/leanote-font3/leanote.woff?-vcf23i') format('woff'),
url('../../fonts/leanote-font3/leanote.svg?-vcf23i#leanote') format('svg');
font-weight: normal;
font-style: normal;
}
#logo,
.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;
-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: "\e901";
line-height: 1;
margin-top: 5px;
display: inline-block;
vertical-align: top;
}
#logo.icon-only:before {
content: "\e902";
}
.lang-zh-cn {
#logo:before {
content: "\e900";
}
}

View File

@ -41,6 +41,7 @@
padding: 8px;
line-height: 20px;
vertical-align: top;
word-break: break-all;
}
td {
max-width: 280px;

View File

@ -20,24 +20,35 @@
#notebookMin,
.ui-loader,
#md-section-helper,
.writing-mobile-hide
.writing-mobile-hide,
.tips-ctn,
#wmd-undo-button,
#wmd-redo-button,
#wmd-hr-button,
#wmd-help-button
{
display: none !important;
}
*,
.ztree li a.level0 span,
.ztree li a.level1 span,
.label
{
font-size: 16px;
}
.label i {
opacity: 1;
width: 20px;
width: 12px;
&:hover, &:focus {
color: @green !important;
}
}
#leftSwitcher:before {
content: "\f039";
}
a:focus, a:hover, a:active {
color: @green !important;
}
@ -89,6 +100,7 @@ a:focus, a:hover, a:active {
visibility: hidden !important;
}
left: 0 !important;
padding-left: 0;
}
#note.editor-show {
visibility: visible;
@ -147,7 +159,7 @@ a:focus, a:hover, a:active {
}
#tag {
position: absolute;
right: 140px;
right: 124px;
left:0;
top:0;
bottom:0;
@ -186,8 +198,9 @@ a:focus, a:hover, a:active {
#left-column {
width: 100% !important;
}
#mdEditor #wmd-input {
font-size: 16px;
#mdEditor #wmd-input * {
font-size: 14px;
}
.new-markdown-text-abbr, .new-note-text-abbr {
@ -266,6 +279,9 @@ a:focus, a:hover, a:active {
#editorContent .ace-tomorrow {
padding: 0;
}
#note, #editor, #mdEditor {
left: 0;
}
// readonly
@ -288,10 +304,11 @@ a:focus, a:hover, a:active {
-webkit-overflow-scrolling: touch !important;
}
.preview-container {
left: 10px;
left: 5px;
}
}
}
// ipad
@ -317,23 +334,13 @@ a:focus, a:hover, a:active {
#tag {
position: absolute;
right: 310px;
left:0;
left: 0;
top:0;
bottom:0;
overflow: hidden;
padding-left: 5px;
#tags {
position: absolute;
left: 50px;
right: 0;
top: 0;
bottom: 0;
overflow-y: hidden;
overflow-x: scroll;
position: absolute;
line-height: 40px;
line-height: inherit !important;
}
#tagDropdown {
float: left;
width: 50px;
@ -353,6 +360,18 @@ a:focus, a:hover, a:active {
}
}
#tags {
position: absolute;
left: 50px;
right: 0;
top: 0;
bottom: 0;
overflow-y: hidden;
overflow-x: scroll;
position: absolute;
line-height: 40px;
line-height: inherit !important;
}
}
@media screen and (max-width: 800px) {
@ -392,7 +411,7 @@ a:focus, a:hover, a:active {
#tag {
position: absolute;
right: 160px;
right: 124px;
left:0;
top:0;
bottom:0;
@ -460,7 +479,7 @@ a:focus, a:hover, a:active {
width: 100% !important;
}
#mdEditor #wmd-input {
font-size: 16px;
font-size: 14px;
}
.my-link {
@ -482,7 +501,7 @@ a:focus, a:hover, a:active {
// 有一些toolbar不能显示
.wmd-button-bar-inner {
overflow: scroll;
// overflow: scroll;
height: 30px;
}
@ -501,5 +520,120 @@ a:focus, a:hover, a:active {
left: 10px;
}
}
#searchNote {
margin-top: 2px;
}
#noteTitle {
// padding: 0;
}
#tags {
.label, .label i {
font-size: 10px;
}
}
.mobile-hide {
display: none;
}
.mobile-show {
display: block;
}
#editorContent, #mdEditor {
bottom: 0 !important;
}
#mdEditor .layout-wrapper-l3, #editorContent {
margin-top: 0;
border: none;
}
// iframe插件 视频
.leanote-plugin {
@pluginHeaderHeight: 40px;
#header {
height: @pluginHeaderHeight;
}
#mainContainer {
top: @pluginHeaderHeight;
}
.profile-img {
line-height: @pluginHeaderHeight - 3;
}
#switcher i {
padding: 11px 0;
}
#searchNote {
padding-top: 1px;
}
#newNoteWrap {
line-height: 22px;
}
#leanoteMsg {
margin-top: 0;
}
*,
.ztree li a.level0 span,
.ztree li a.level1 span,
#noteItemList .item-setting, #noteItemList .item-blog {
font-size: 14px;
}
h1, h2, h3, h4, h5 {
}
.leanoteNav h1 {
font-size: 16px;
}
h1 {
font-size: 24px;
}
h2 {
font-size: 20px;
}
h3 {
font-size: 18px;
}
h4 {
font-size: 16px;
}
#noteItemList .item-setting, #noteItemList .item-blog {
width: 23px;
padding: 1px;
}
#noteItemList .item {
height: 69px;
}
#noteItemList .item-thumb {
width: 60px;
height: 60px;
margin-top: 0px;
}
#preview-contents {
padding-left: 0;
}
#msg {
font-size: 12px;
}
#noteInfo {
width: 265px;
}
#noteInfo table th {
min-width: 72px;
}
#noteInfo .post-url-wrap span {
word-break: break-all;
}
}
.extension-preview-buttons {
border: none;
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long