figmatic-print-builder/Editor.scss

81 lines
1.2 KiB
SCSS
Raw Normal View History

2026-06-16 12:58:18 +05:30
.editor-action-btn {
display: flex;
align-items: center;
gap: 6px;
padding: 6px 10px;
font-size: 13px;
font-weight: 500;
background: #ffffff;
border: 1px solid #ddd;
border-radius: 6px;
cursor: pointer;
user-select: none;
transition: all 0.2s ease;
}
.editor-action-btn:hover {
background: #f5f5f5;
border-color: #bbb;
}
.editor-action-btn:active {
transform: scale(0.96);
background: #eaeaea;
}
.editor-action-btn.disabled {
opacity: 0.4;
pointer-events: none;
cursor: not-allowed;
}
/* Default */
.editor-action-btn {
color: #333;
}
/* Primary (Save) */
.editor-action-btn.primary {
background: #4f46e5;
color: #fff;
border-color: #4f46e5;
}
.editor-action-btn.primary:hover {
background: #4338ca;
}
/* Danger (Delete) */
.editor-action-btn.danger {
color: #dc2626;
border-color: #fca5a5;
}
.editor-action-btn.danger:hover {
background: #fee2e2;
}
/* Secondary (Undo/Redo) */
.editor-action-btn.secondary {
background: #f9fafb;
}
.editor-action-btn {
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.editor-action-btn.icon-only {
padding: 6px;
}
.editor-tool-btn {
cursor: pointer;
svg {
background: unset !important;
}
}