kedao
Version:
Rich Text Editor Based On Draft.js
40 lines • 837 B
CSS
.kedao-media-toolbar {
position: absolute;
z-index: 3;
bottom: 15px;
left: 50%;
width: auto;
background-color: #21242a;
border-radius: 2px;
font-weight: normal;
text-align: center;
white-space: nowrap;
transform: translateX(-50%);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
user-select: none;
}
.kedao-media-toolbar a {
display: inline-block;
min-width: 40px;
height: 40px;
color: rgba(255, 255, 255, 0.5);
font-size: 18px;
font-weight: normal;
line-height: 44px;
text-align: center;
text-decoration: none;
text-transform: uppercase;
cursor: pointer;
}
.kedao-media-toolbar a:hover {
color: #fff;
}
.kedao-media-toolbar a:first-child {
border-radius: 2px 0 0 2px;
}
.kedao-media-toolbar a:last-child {
border-radius: 0 2px 2px 0;
}
.kedao-media-toolbar a.active {
color: #3498db;
}