theme; split by files

This commit is contained in:
lealife
2015-11-28 15:36:12 +08:00
parent 86ca1efd11
commit cb433d9392
19 changed files with 655 additions and 1129 deletions

View File

@ -141,9 +141,9 @@
}
// 编辑模式下拉
.wmd-mode {
min-width: 100px;
min-width: 150px;
left: 50%;
margin-left: -50px !important; // 为什么要!important, 因为writting模式下要用
margin-left: -75px !important; // 为什么要!important, 因为writting模式下要用
// 小箭头
&:before {
right: auto;
@ -157,12 +157,25 @@
font-style: normal;
}
textarea#wmd-input {
color: #000 !important;
font-family: @aceFontFamily;
}
// markdown editor ace
@mdAceTextColor: #2C3E50; // #04294E; // #384654;
@mdAceHeadingColor: #000; // 1a2026
@mdAceBlockquoteColor: #003873;
@mdAceCursorColor: #243342;
@mdAceTextColor: #000;
@mdAceTagColor: rgba(87, 108, 130, 0.6);
textarea#wmd-input {
color: #000 !important;
}
#wmd-input {
.ace_searchbtn_close {
margin: 0px;
@ -191,14 +204,17 @@
// background-color: rgba(89, 128, 166, 0.05);
}
&.ace-tm .ace_markup.ace_heading {
color: @mdAceHeadingColor;
color: @mdAceTextColor;
font-weight: bold;
&.ace_1,&.ace_2,&.ace_3,&.ace_4,&.ace_5 {
color: @mdAceTagColor;
}
}
&.ace-tm .ace_markup.ace_list {
color: #576c82;
color: @mdAceTextColor;
}
&.ace-tm .ace_constant.ace_language {
color: rgba(87, 108, 130, 0.6);
color: @mdAceTagColor;
font-weight: normal;
}
&.ace-tm .ace_meta.ace_tag {
@ -231,15 +247,15 @@
background: inherit;
}
&.ace-tm .ace_strong {
color: #384654;
color: @mdAceTextColor;
font-weight: bold;
}
&.ace-tm .ace_emphasis {
color: #1a2026;
color: @mdAceTextColor;
font-style: italic;
}
&.ace-tm .ace_blockquote {
color: @mdAceBlockquoteColor;
color: @mdAceTextColor;
}
&.ace-tm .ace_code {
color: #1a2026;
@ -278,4 +294,4 @@
border: 2px rgba(101, 189, 119, 0.8) solid !important;
background-color: rgb(101, 189, 119, 0.9);
}
}
}