wfeditor
Version:
editor create by wfQuery
60 lines (56 loc) • 1.06 kB
CSS
#editControls{
padding: 3px 5px;
position: relative;
}
#editControls select{
font-size: 12px;
height: 22px;
border: 1px solid silver;
padding: 1px;
}
#editparent{
position: relative;
}
#editor, #code, #markdown{
resize:vertical;
overflow:auto;
border:1px solid silver;
box-shadow: inset 0 0 10px silver;
padding: 1em;
display: block;
width: 100%;
position: absolute;
}
#editor img{
max-width: 90%;
}
.bg{
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
}
.opacity{
opacity: 0;
}
.hidden{
display: none ;
}
.fa-font:before{
content: "A";
text-decoration: underline;
font: bold 16px "Times New Roman", "Microsoft Yahei", Arial;
}
.fa-background{
background: #428bca;
}
.fa-background:hover{
background: #333;
}
.fa-background:before{
content: "A";
padding: 0 3px;
font: bold 16px "Times New Roman", "Microsoft Yahei", Arial;
color: #fff;
}