velxio/frontend/src/components/editor/EditorToolbar.css

86 lines
1.3 KiB
CSS
Raw Normal View History

.editor-toolbar {
padding: 10px;
background-color: #2d2d2d;
border-bottom: 1px solid #444;
display: flex;
align-items: center;
gap: 15px;
}
.toolbar-buttons {
display: flex;
gap: 10px;
}
.btn {
padding: 8px 16px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
font-weight: 500;
transition: all 0.2s;
}
.btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.btn-primary {
background-color: #007acc;
color: white;
}
.btn-primary:hover:not(:disabled) {
background-color: #005a9e;
}
.btn-success {
background-color: #28a745;
color: white;
}
.btn-success:hover:not(:disabled) {
background-color: #218838;
}
.btn-danger {
background-color: #dc3545;
color: white;
}
.btn-danger:hover:not(:disabled) {
background-color: #c82333;
}
.btn-secondary {
background-color: #6c757d;
color: white;
}
.btn-secondary:hover:not(:disabled) {
background-color: #5a6268;
}
.toolbar-message {
padding: 6px 12px;
border-radius: 4px;
font-size: 13px;
flex: 1;
}
.toolbar-message.success {
background-color: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.toolbar-message.error {
background-color: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
max-height: 100px;
overflow-y: auto;
}