attachment feature #10

This commit is contained in:
life
2014-09-21 22:05:04 +08:00
parent ab242b10f2
commit c556ab59b5
26 changed files with 1197 additions and 135 deletions

View File

@ -38,6 +38,13 @@
/*"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;*/
.btn {
border-radius: 2px;
}
.alert {
margin-bottom: 10px;
}
#logo {
font-family: "leanoteregular";
font-size: 36px;
@ -319,4 +326,99 @@
}
.ztree {
padding: 0px;
}
}
// 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;
overflow: scroll;
z-index: 3;
.alert {
margin: 0;
padding: 0 3px;
margin-top: 10px;
}
}
#attachMenu {
width: 400px;
padding: 10px 5px;
}
#attachList {
margin: 0;
padding: 0;
max-height: 450px;
overflow-y: scroll;
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 {
width: 200px;
white-space: nowrap;text-overflow:ellipsis; overflow:hidden;
}
.attach-process {
float: right;
}
}
}

View File

@ -31,6 +31,12 @@
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;*/
.btn {
border-radius: 2px;
}
.alert {
margin-bottom: 10px;
}
#logo {
font-family: "leanoteregular";
font-size: 36px;
@ -285,6 +291,96 @@
.ztree {
padding: 0px;
}
#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;
}
#uploadAttach {
position: relative;
margin-top: 5px;
}
#dropAttach {
text-align: center;
}
#dropAttach 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;
overflow: scroll;
z-index: 3;
}
#attachUploadMsg .alert {
margin: 0;
padding: 0 3px;
margin-top: 10px;
}
#attachMenu {
width: 400px;
padding: 10px 5px;
}
#attachList {
margin: 0;
padding: 0;
max-height: 450px;
overflow-y: scroll;
}
#attachList li {
display: block;
margin: 0;
padding: 0 3px;
border-radius: 3px;
border-bottom: 1px dashed #eee;
height: 45px;
line-height: 45px;
}
#attachList li div {
float: left;
}
#attachList li .attach-title {
width: 200px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
#attachList li .attach-process {
float: right;
}
::selection {
background: #000000;
color: #ffffff;
@ -1265,12 +1361,6 @@ background-position:-1px -670px
.tab-pane {
padding: 5px 0 0 0;
}
.alert {
margin-bottom: 10px;
}
.btn {
border-radius: 0 !important;
}
#notebookNavForNewNote li,
#notebookNavForNewSharedNote > li {
padding-left: 0;
@ -1313,36 +1403,6 @@ background-position:-1px -670px
#toggleEditorMode {
margin: 0 10px !important;
}
#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;
}
#searchNotebookForList {
color: #ccc;
border: 1px solid rgba(255, 255, 255, 0.1);

View File

@ -1075,13 +1075,6 @@ background-position:-1px -670px
.tab-pane {
padding: 5px 0 0 0;
}
.alert {
margin-bottom: 10px;
}
.btn {
border-radius: 0 !important;
}
.mce-container-body iframe {
//overflow-x: hidden; // firefox 不能要
@ -1137,38 +1130,6 @@ background-position:-1px -670px
margin: 0 10px !important;
}
// 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;
}
//----------------------
#searchNotebookForList {
color: #ccc;

File diff suppressed because one or more lines are too long

View File

@ -1024,13 +1024,7 @@ background-position:-1px -670px
.tab-pane {
padding: 5px 0 0 0;
}
.alert {
margin-bottom: 10px;
}
.btn {
border-radius: 0 !important;
}
.mce-container-body iframe {
//overflow-x: hidden;
@ -1087,37 +1081,6 @@ background-position:-1px -670px
}
// 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;
}
#notebookList {
border-top: 1px dashed #eee;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long