2014-09-04 12:53:04 +08:00
|
|
|
// font
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Open Sans';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 300;
|
|
|
|
src: local('Open Sans Light'), local('OpenSans-Light'), url('../../fonts/open-sans2/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff') format('woff');
|
|
|
|
}
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Open Sans';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
|
|
|
src: local('Open Sans'), local('OpenSans'), url('../../fonts/open-sans2/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff') format('woff');
|
|
|
|
}
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Open Sans';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 700;
|
|
|
|
src: local('Open Sans Bold'), local('OpenSans-Bold'), url('../../fonts/open-sans2/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff') format('woff');
|
|
|
|
}
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Open Sans';
|
|
|
|
font-style: italic;
|
|
|
|
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-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*"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;*/
|
|
|
|
|
2014-09-21 22:05:04 +08:00
|
|
|
.btn {
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
.alert {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2014-09-04 12:53:04 +08:00
|
|
|
#logo {
|
|
|
|
font-family: "leanoteregular";
|
|
|
|
font-size: 36px;
|
|
|
|
}
|
|
|
|
#logo:before {
|
|
|
|
content: "a";
|
|
|
|
}
|
|
|
|
#switcher span {
|
|
|
|
font-family: "leanoteregular";
|
|
|
|
border-radius: 5px;
|
|
|
|
display: inline-block;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 18px;
|
|
|
|
height: 34px;
|
|
|
|
line-height: 34px;
|
|
|
|
margin-top: 8px;
|
|
|
|
padding: 0 5px;
|
|
|
|
}
|
|
|
|
#switcher span:before {
|
|
|
|
content: "b";
|
|
|
|
}
|
2014-09-13 13:12:05 +08:00
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
border-radius: 3px;
|
|
|
|
margin:0;
|
|
|
|
border: 1px solid @hColor;
|
2014-09-22 12:38:48 +08:00
|
|
|
// border: 1px solid #e6eaed;
|
2014-09-13 13:12:05 +08:00
|
|
|
/*overflow-x: hidden; */
|
|
|
|
/*overflow-y: scroll;*/
|
|
|
|
box-shadow: rgba(0, 0, 0, 0.172549) 0px 6px 12px 0px;
|
2014-09-22 12:38:48 +08:00
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: "";
|
|
|
|
width: 20px;
|
|
|
|
height: 12px;
|
|
|
|
position: absolute;
|
|
|
|
top: -12px;
|
|
|
|
right: 20px;
|
|
|
|
background-image: url("../../images/triangle_2x.png");
|
|
|
|
background-size: 20px 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-submenu .dropdown-menu:before {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
#searchNotebookForAddDropdownList:before {
|
|
|
|
left: 190px;
|
|
|
|
right: inherit;
|
2014-09-13 13:12:05 +08:00
|
|
|
}
|
2014-09-22 14:39:54 +08:00
|
|
|
#tagColor:before {
|
|
|
|
background: none;
|
|
|
|
}
|
2014-09-13 13:12:05 +08:00
|
|
|
|
|
|
|
.dropdown-menu li {
|
|
|
|
list-style: none;
|
|
|
|
padding-left: 10px;
|
|
|
|
width: 100%;
|
|
|
|
height: 30px; // 父设置了line-height, 子下拉也受影响, "新建笔记"
|
|
|
|
line-height: 30px;
|
|
|
|
}
|
|
|
|
.dropdown-menu li > a {
|
|
|
|
color: @aBlackColor;
|
|
|
|
display: block;
|
|
|
|
padding-right: 20px;
|
|
|
|
}
|
|
|
|
.dropdown-menu > li > a {
|
|
|
|
padding: 3px 20px 3px 0;
|
|
|
|
}
|
|
|
|
#notebookNavForNewNote li:hover {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#noteList {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
top: 0;
|
|
|
|
/*
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: hidden;
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
|
|
|
|
//-----------------
|
|
|
|
// 下拉菜单
|
|
|
|
.dropdown-submenu {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.dropdown-submenu > ul.dropdown-menu {
|
|
|
|
top: 0;
|
|
|
|
left: 100%;
|
|
|
|
margin-left: -3px !important;
|
|
|
|
-webkit-border-radius: 3px;
|
|
|
|
-moz-border-radius: 3px;
|
|
|
|
border-radius: 3px;
|
|
|
|
padding-top: 10px !important;
|
|
|
|
}
|
|
|
|
.dropdown-submenu:hover > .dropdown-menu {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
// 箭头
|
|
|
|
.dropdown-submenu:after {
|
|
|
|
display: block;
|
|
|
|
content: " ";
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 10px;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-color: transparent;
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 5px 0 5px 5px;
|
|
|
|
border-left-color: #666;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-submenu:hover > a:after {
|
|
|
|
border-left-color: #fff;
|
|
|
|
}
|
|
|
|
.dropdown-submenu.pull-left {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
.dropdown-submenu.pull-left > .dropdown-menu {
|
|
|
|
left: -100%;
|
|
|
|
margin-left: 10px;
|
|
|
|
-webkit-border-radius: 6px 0 6px 6px;
|
|
|
|
-moz-border-radius: 6px 0 6px 6px;
|
|
|
|
border-radius: 6px 0 6px 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// 动画
|
|
|
|
.open > .dropdown-menu, .dropdown-submenu:hover > .dropdown-menu {
|
2014-09-15 16:13:27 +08:00
|
|
|
opacity: 1;
|
|
|
|
transform: scale(1, 1);
|
2014-09-13 13:12:05 +08:00
|
|
|
-webkit-transform: scale(1, 1);
|
2014-09-15 11:29:02 +08:00
|
|
|
-moz-transform: scale(1, 1);
|
|
|
|
-o-transform: scale(1, 1);
|
2014-09-13 13:12:05 +08:00
|
|
|
}
|
|
|
|
.dropdown-menu {
|
2014-09-15 11:29:02 +08:00
|
|
|
opacity: 0;
|
2014-09-15 16:13:27 +08:00
|
|
|
display: block;
|
2014-09-15 11:29:02 +08:00
|
|
|
|
2014-09-15 16:13:27 +08:00
|
|
|
-webkit-transform: scale(0, 0);
|
|
|
|
-webkit-transform-origin: top;
|
2014-09-13 13:12:05 +08:00
|
|
|
-webkit-animation-fill-mode: forwards;
|
2014-09-15 16:13:27 +08:00
|
|
|
-webkit-transition: all 0.2s cubic-bezier(0.34, 1.21, 0.4, 1);
|
|
|
|
|
|
|
|
-o-transform: scale(0, 0);
|
|
|
|
-o-transform-origin: top;
|
|
|
|
-o-animation-fill-mode: forwards;
|
|
|
|
-o-transition: all 0.2s cubic-bezier(0.34, 1.21, 0.4, 1);
|
2014-09-15 11:29:02 +08:00
|
|
|
|
|
|
|
-moz-transform: scale(0, 0);
|
2014-09-15 16:13:27 +08:00
|
|
|
-moz-transform-origin: top;
|
2014-09-15 11:29:02 +08:00
|
|
|
-moz-animation-fill-mode: forwards;
|
2014-09-15 16:13:27 +08:00
|
|
|
-moz-transition: all 0.2s cubic-bezier(0.34, 1.21, 0.4, 1);
|
2014-09-15 11:29:02 +08:00
|
|
|
|
2014-09-15 16:13:27 +08:00
|
|
|
transform: scale(0, 0);
|
2014-09-15 11:29:02 +08:00
|
|
|
transform-origin: top;
|
2014-09-13 13:12:05 +08:00
|
|
|
animation-fill-mode: forwards;
|
|
|
|
transition: all 0.2s cubic-bezier(0.34, 1.21, 0.4, 1);
|
2014-09-15 16:13:27 +08:00
|
|
|
|
2014-09-13 13:12:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-list {
|
|
|
|
width: 530px;
|
|
|
|
border-radius: 3px;
|
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
li {
|
|
|
|
float: left;
|
|
|
|
width: 120px;
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
border: 1px dashed #ccc;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.new-note-right {
|
|
|
|
padding: 0 5px;
|
|
|
|
padding-left: 3px
|
|
|
|
}
|
|
|
|
#leanoteMsg {
|
|
|
|
line-height: 40px; margin-top: 10px; margin-left: 10px;
|
|
|
|
}
|
|
|
|
#newNoteWrap {
|
|
|
|
line-height: 40px; margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchNotebookForAddDropdownList {
|
|
|
|
left: -200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchNotebookForAdd {
|
|
|
|
line-height: normal;
|
|
|
|
width: 200px;
|
|
|
|
margin: 0 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
height: 30px;
|
|
|
|
border-color: #ebeff2;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
#myNotebooks .folderBody {
|
|
|
|
padding-top: 3px;
|
|
|
|
}
|
|
|
|
#searchNotebookForList {
|
|
|
|
height: 30px;
|
|
|
|
width: 90%;
|
|
|
|
margin: 3px auto;
|
|
|
|
margin-top: 0;
|
|
|
|
border-color: #ebeff2;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// blog
|
|
|
|
#noteItemList {
|
|
|
|
.item-setting, .item-blog {
|
|
|
|
position: absolute;
|
|
|
|
right: 1px;
|
|
|
|
font-size: 10px;
|
|
|
|
z-index: 2;
|
|
|
|
padding: 3px;
|
|
|
|
border-radius: 5px;
|
|
|
|
cursor: pointer;
|
|
|
|
.fa {
|
|
|
|
color: #fff !important;
|
|
|
|
}
|
|
|
|
width: 20px;
|
|
|
|
text-align: center;
|
|
|
|
opacity: 0.5;
|
|
|
|
&:hover {
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
background-color: #464C5E;
|
|
|
|
}
|
|
|
|
|
|
|
|
.item-blog {
|
|
|
|
top: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.item-setting {
|
|
|
|
bottom: 0;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#noteItemList .item:hover {
|
|
|
|
.item-setting {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// share
|
|
|
|
.friend-header {
|
|
|
|
position: relative;
|
|
|
|
.notebook-setting {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
.notebook-setting {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.each-user {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
margin-top: 3px;
|
|
|
|
border: 1px solid #eee;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// 设置
|
|
|
|
.notebook-setting {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
right: 3px;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
line-height: 30px;
|
|
|
|
}
|
|
|
|
.notebook-setting:before {
|
|
|
|
content: "\f013";
|
|
|
|
}
|
|
|
|
.ztree li a:hover .notebook-setting {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#myTag .folderBody {
|
|
|
|
padding: 0 3px;
|
|
|
|
padding-bottom: 3px;
|
|
|
|
}
|
|
|
|
#myTag .folderBody li {
|
|
|
|
float: left;
|
|
|
|
padding: 3px;
|
|
|
|
line-height: normal;
|
|
|
|
}
|
|
|
|
#notebookList {
|
|
|
|
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
|
|
|
}
|
|
|
|
.ztree {
|
|
|
|
padding: 0px;
|
2014-09-21 22:05:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// leaui image drop drag
|
|
|
|
#upload {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0px;
|
|
|
|
padding: 0;
|
|
|
|
background-color: #fff;
|
|
|
|
text-align: center;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#upload #drop {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding-top: 100px;
|
|
|
|
}
|
|
|
|
#drop.in {
|
|
|
|
border: 1px solid #000000;
|
|
|
|
}
|
|
|
|
#drop.hover {
|
|
|
|
border: 2px solid #000000;
|
|
|
|
}
|
|
|
|
#uploadMsg {
|
|
|
|
position: absolute;
|
|
|
|
top: 3px;
|
|
|
|
right: 3px;
|
|
|
|
bottom: 10px;
|
|
|
|
overflow: scroll;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// upload attach
|
|
|
|
#uploadAttach {
|
|
|
|
position: relative;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
#dropAttach {
|
|
|
|
text-align: center;
|
|
|
|
input {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#dropAttach.in {
|
|
|
|
border: 1px solid #000000;
|
|
|
|
}
|
|
|
|
#dropAttach.hover {
|
|
|
|
border: 2px solid #000000;
|
|
|
|
}
|
|
|
|
|
|
|
|
#attachUploadMsg{
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
max-height: 240px;
|
|
|
|
z-index: 3;
|
|
|
|
.alert {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 3px;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#attachMenu {
|
2014-09-21 22:20:00 +08:00
|
|
|
width: 450px;
|
2014-09-21 22:05:04 +08:00
|
|
|
padding: 10px 5px;
|
|
|
|
}
|
|
|
|
#attachList {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
max-height: 450px;
|
2014-09-22 19:58:25 +08:00
|
|
|
overflow-y: auto;
|
2014-09-21 22:05:04 +08:00
|
|
|
li {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 3px;
|
|
|
|
border-radius: 3px;
|
|
|
|
border-bottom: 1px dashed #eee;
|
|
|
|
height: 45px;
|
|
|
|
line-height: 45px;
|
|
|
|
div {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.attach-title {
|
2014-09-22 20:04:23 +08:00
|
|
|
width: 290px;
|
2014-09-21 22:05:04 +08:00
|
|
|
white-space: nowrap;text-overflow:ellipsis; overflow:hidden;
|
|
|
|
}
|
|
|
|
.attach-process {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
2014-09-23 18:56:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
//--------
|
|
|
|
.animated {
|
|
|
|
-webkit-animation-fill-mode: both;
|
|
|
|
-moz-animation-fill-mode: both;
|
|
|
|
-ms-animation-fill-mode: both;
|
|
|
|
-o-animation-fill-mode: both;
|
|
|
|
animation-fill-mode: both;
|
|
|
|
-webkit-animation-duration: 0.5s;
|
|
|
|
-moz-animation-duration: 0.5s;
|
|
|
|
-ms-animation-duration: 0.5s;
|
|
|
|
-o-animation-duration: 0.5s;
|
|
|
|
animation-duration: 0.5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes fadeIn {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@-moz-keyframes fadeIn {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@-o-keyframes fadeIn {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fadeIn {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fadeIn {
|
|
|
|
-webkit-animation-name: fadeIn;
|
|
|
|
-moz-animation-name: fadeIn;
|
|
|
|
-o-animation-name: fadeIn;
|
|
|
|
animation-name: fadeIn;
|
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes fadeInUp {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
-webkit-transform: translateY(20px);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
-webkit-transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@-moz-keyframes fadeInUp {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
-moz-transform: translateY(20px);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
-moz-transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@-o-keyframes fadeInUp {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
-o-transform: translateY(20px);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
-o-transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fadeInUp {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(20px);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fadeInUp {
|
|
|
|
-webkit-animation-name: fadeInUp;
|
|
|
|
-moz-animation-name: fadeInUp;
|
|
|
|
-o-animation-name: fadeInUp;
|
|
|
|
animation-name: fadeInUp;
|
2014-09-22 12:38:48 +08:00
|
|
|
}
|