.toolbar {
display: flex;
background: #fff;
padding: 8px;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
vertical-align: middle;
border-bottom: 1px solid #e0e0e0;
gap: 4px;
flex-wrap: wrap;
align-items: center;
}
.toolbar button {
border: 0;
display: flex;
background: none;
border-radius: 4px;
padding: 6px;
cursor: pointer;
vertical-align: middle;
align-items: center;
justify-content: center;
transition: background-color 0.2s;
}
.toolbar button:hover:not([disabled]) {
background-color: #f0f0f0;
}
.toolbar button:disabled {
cursor: not-allowed;
opacity: 0.3;
}
.toolbar button.active {
background-color: rgba(24, 144, 255, 0.1);
}
.toolbar-item {
border: 0;
display: flex;
background: none;
border-radius: 4px;
padding: 6px;
cursor: pointer;
vertical-align: middle;
flex-shrink: 0;
align-items: center;
justify-content: space-between;
}
.toolbar-item.spaced {
margin-right: 2px;
}
.toolbar-item.block-controls {
background: none;
border: 1px solid #d0d0d0;
border-radius: 4px;
padding: 4px 8px;
font-size: 14px;
cursor: pointer;
min-width: 80px;
}
.toolbar-item i.format {
background-size: contain;
display: inline-block;
height: 18px;
width: 18px;
vertical-align: -0.25em;
opacity: 0.7;
}
.toolbar-item.active i.format,
.toolbar-item:hover:not([disabled]) i.format {
opacity: 1;
}
.divider {
width: 1px;
background-color: #e0e0e0;
margin: 0 4px;
height: 24px;
}
i.format.undo {
background-image: url('data:image/svg+xml;utf8,');
}
i.format.redo {
background-image: url('data:image/svg+xml;utf8,');
}
i.format.bold {
background-image: url('data:image/svg+xml;utf8,');
}
i.format.italic {
background-image: url('data:image/svg+xml;utf8,');
}
i.format.underline {
background-image: url('data:image/svg+xml;utf8,');
}
i.format.strikethrough {
background-image: url('data:image/svg+xml;utf8,');
}
i.format.code {
background-image: url('data:image/svg+xml;utf8,');
}
i.icon.font-color {
background-image: url('data:image/svg+xml;utf8,');
display: inline-block;
height: 18px;
width: 18px;
background-size: contain;
}
i.icon.bg-color {
background-image: url('data:image/svg+xml;utf8,');
display: inline-block;
height: 18px;
width: 18px;
background-size: contain;
}
i.format.left-align {
background-image: url('data:image/svg+xml;utf8,');
}
i.format.center-align {
background-image: url('data:image/svg+xml;utf8,');
}
i.format.right-align {
background-image: url('data:image/svg+xml;utf8,');
}
i.format.justify-align {
background-image: url('data:image/svg+xml;utf8,');
}
i.format.import {
background-image: url('data:image/svg+xml;utf8,');
}
i.format.export {
background-image: url('data:image/svg+xml;utf8,');
}