fonteditor/css/ttf.less
2014-10-06 15:12:09 +08:00

77 lines
1.2 KiB
Plaintext

@import './common.less';
@import './util.less';
@import './ico.less';
.project {
.project-title {
font-weight: bold;
}
.project-list {
line-height: 20px;
div {
padding-left: 10px;
}
div:hover {
color: red;
text-decoration: underline;
cursor: pointer;
}
}
}
.glyf-list {
>.glyf-item {
float: left;
margin: 10px;
width: 86px;
border: 1px solid #CCC;
box-shadow: 1px 1px 1px #EEE;
border-radius: 6px;
cursor: pointer;
.unicode,
.name {
font-size: 12px;
line-height: 20px;
height: 20px;
padding-left: 4px;
.ellipsis();
}
.unicode {
color: green;
border-top: 1px solid #CCC;
}
.glyf {
width: 60px;
height: 60px;
margin: 10px;
.path {
fill: green;
}
}
}
>.glyf-item:hover {
background: #EFEFEF;
.path {
fill: darkgreen;
}
}
>.new {
.path {
fill: blue!important;
}
}
}