UNPKG

kedao

Version:

Rich Text Editor Based On Draft.js

35 lines (34 loc) 679 B
.kedao-letter-spacing-dropdown { min-width: 95px; } .kedao-letter-spacings { box-sizing: content-box; width: 210px; list-style: none; margin: 0; padding: 5px; overflow: hidden; display: flex; flex-wrap: wrap; } .kedao-letter-spacings li { display: block; float: left; width: 60px; height: 30px; background-color: rgba(255, 255, 255, 0.1); border-radius: 2px; margin: 5px; color: #fff; font-size: 12px; line-height: 30px; text-align: center; text-transform: uppercase; cursor: pointer; } .kedao-letter-spacings li:hover { background-color: rgba(255, 255, 255, 0.2); } .kedao-letter-spacings li.active { background-color: #3498db; }