Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

Commit

Permalink
Extract APIs moveLeft, moveRight, insertText.
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerwins committed Aug 9, 2015
1 parent 23801a2 commit b150f4b
Show file tree
Hide file tree
Showing 7 changed files with 332 additions and 387 deletions.
66 changes: 3 additions & 63 deletions dist/winternote.css
Expand Up @@ -7,14 +7,16 @@
--------------------------------------*/
.note-editing-area {
position: relative;
height: 300px;
background-color: #fff;
cursor: text;
border: 1px solid black;
}
/* note-ime
--------------------------------------*/
.note-ime {
position: absolute;
width: 0;
height: 0;
bottom: 0;
}
/* note-document
Expand Down Expand Up @@ -49,68 +51,6 @@
border-right: 2px solid black;
width: 17px;
}
.note-cursor.note-cursor-blink {
-webkit-animation: fadeinout 1s infinite;
-moz-animation: fadeinout 1s infinite;
-ms-animation: fadeinout 1s infinite;
-o-animation: fadeinout 1s infinite;
animation: fadeinout 1s infinite;
}
@-webkit-keyframes fadeinout {
45% {
opacity: 1;
}
50% {
opacity: 0;
}
100% {
opacity: 0;
}
}
@-moz-keyframes fadeinout {
45% {
opacity: 1;
}
50% {
opacity: 0;
}
100% {
opacity: 0;
}
}
@-ms-keyframes fadeinout {
45% {
opacity: 1;
}
50% {
opacity: 0;
}
100% {
opacity: 0;
}
}
@-o-keyframes fadeinout {
45% {
opacity: 1;
}
50% {
opacity: 0;
}
100% {
opacity: 0;
}
}
@keyframes fadeinout {
45% {
opacity: 1;
}
50% {
opacity: 0;
}
100% {
opacity: 0;
}
}
.note-cursor.note-cursor-composition {
border-bottom: 2px solid black;
}
Expand Down

0 comments on commit b150f4b

Please sign in to comment.