shengnian-editor
Version:
Shengnian React Rich Text Editor
35 lines (31 loc) • 634 B
CSS
.root {
display: inline-block;
/*margin: 0 5px 0 0;*/
/*padding: 3px 8px;*/
padding: 0 4px;
height: 30px;
line-height: 36px;
box-sizing: border-box;
background: none #fdfdfd;
/*background: linear-gradient(to bottom, #fdfdfd 0%,#f6f7f8 100%);*/
/*border: 1px solid #999;*/
border: none;
border-radius: 2px;
color: #808080;
text-decoration: none;
font-size: inherit;
font-family: inherit;
cursor: pointer;
white-space: nowrap;
outline: none;
}
.root:hover {
background: #f6f6f6;
}
.root:disabled {
cursor: not-allowed;
background: none transparent;
}
.root:disabled > * {
opacity: .5;
}