add graduation marker

This commit is contained in:
mkwiser
2014-10-29 23:28:42 +08:00
parent 67b79aeec4
commit bad471cc39
10 changed files with 142 additions and 8 deletions

View File

@@ -24,7 +24,8 @@
font-size: 12px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
.editor-contextmenu {
width: 120px;
@@ -48,6 +49,25 @@
border-bottom: none;
}
}
.marker-x,
.marker-y {
position: absolute;
width: 0;
height: 0;
z-index: 60;
pointer-events: none;
}
.marker-x {
width: 20px;
border-top: 1px dashed #000;
}
.marker-y {
height: 20px;
border-left: 1px dashed #000;
}
}
.editor:hover {