rojects/source/components/html-editor-panel/html-editor-panel.css

53 lines
1.0 KiB
CSS
Raw Normal View History

html-editor-panel {
display: flex;
flex-direction: column;
height: 100%;
background: #0f1117;
}
.hep-toolbar {
display: flex;
align-items: center;
gap: 4px;
padding: 4px 8px;
background: #13151f;
border-bottom: 1px solid #2a2d3a;
flex-shrink: 0;
}
.hep-toolbar button {
padding: 3px 10px;
background: transparent;
border: 1px solid #2a2d3a;
border-radius: 4px;
color: #9ba4c7;
cursor: pointer;
font-size: 0.8rem;
font-family: inherit;
}
.hep-toolbar button:hover:not(:disabled) { background: #1a1d27; color: #e2e4ed; }
.hep-toolbar button:disabled { opacity: 0.3; cursor: default; }
.hep-save:not(:disabled) { border-color: #7c8cff; color: #7c8cff; }
.hep-save:not(:disabled):hover { background: #1e2235; }
.hep-pin.pinned { border-color: #f0a050; color: #f0a050; }
.hep-pin.pinned:hover { background: #1e1a10; }
.hep-empty {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
color: #555;
font-size: 0.9rem;
}
.hep-frame {
flex: 1;
border: none;
background: #fff;
width: 100%;
}