fonteditor/demo/css/editor.css
2014-10-29 23:47:06 +08:00

66 lines
1.1 KiB
CSS

* {
margin: 0;
padding: 0;
}
ul {
list-style: none;
}
a {
color: #03C;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.hide {
display: none;
}
body,
html {
height: 100%;
}
#render-view {
font-size: 12px;
width: 100%;
height: 100%;
position: relative;
-webkit-text-size-adjust: none;
}
#render-view .editor-contextmenu {
width: 120px;
border: 1px solid #999;
background: #FEFEFE;
line-height: 24px;
padding: 0 4px;
box-shadow: 1px 1px 1px #CCC;
}
#render-view .editor-contextmenu div {
padding-left: 10px;
cursor: pointer;
border-bottom: 1px solid #CCC;
}
#render-view .editor-contextmenu div:hover {
background: #EEE;
}
#render-view .editor-contextmenu div:last-child {
border-bottom: none;
}
#render-view .marker-x,
#render-view .marker-y {
position: absolute;
width: 0;
height: 0;
z-index: 60;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
#render-view .marker-x {
width: 20px;
border-top: 1px dashed #000;
}
#render-view .marker-y {
height: 20px;
border-left: 1px dashed #000;
}