Files
vue3js-app-proposal-for-sdk…/static/style.css

442 lines
7.1 KiB
CSS

#score-editor-app {
height: calc(100vh - 8rem);
font-size: 0.9rem;
}
.se-shell {
display: flex;
flex-direction: column;
height: 100%;
}
.se-pane-area {
flex: 1;
overflow: hidden;
position: relative;
}
.se-pane {
display: none;
height: 100%;
overflow-y: auto;
padding: 0.5rem;
box-sizing: border-box;
}
.se-pane.active {
display: block;
}
.se-handle-bar {
display: flex;
flex-shrink: 0;
border-top: 2px solid #555;
background: #222;
}
.se-handle {
flex: 1;
padding: 0.3rem 0.5rem;
cursor: pointer;
background: #222;
border: none;
border-right: 1px solid #444;
color: #999;
font-size: 0.75rem;
text-align: center;
}
.se-handle:last-child {
border-right: none;
}
.se-handle.active {
background: #333;
color: #fff;
font-weight: bold;
}
/* CP pane */
.se-cp-header {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.4rem 0;
border-bottom: 1px solid #444;
margin-bottom: 0.5rem;
}
.se-cp-title {
flex: 1;
font-weight: bold;
font-size: 1rem;
background: none;
border: none;
color: inherit;
padding: 0;
}
.se-cp-title:focus {
outline: 1px solid #888;
background: #111;
}
.se-breadcrumb {
font-size: 0.75rem;
color: #888;
margin-bottom: 0.5rem;
}
.se-breadcrumb span {
cursor: pointer;
color: #aaa;
}
.se-breadcrumb span:hover {
color: #fff;
text-decoration: underline;
}
.se-object-list {
list-style: none;
padding: 0;
margin: 0;
}
.se-object-item {
display: flex;
align-items: center;
padding: 0.25rem 0.3rem;
border-bottom: 1px solid #333;
cursor: pointer;
}
.se-object-item:hover {
background: #2a2a2a;
}
.se-object-item.focused {
background: #1a3a5a;
}
.se-object-label {
flex: 1;
font-family: monospace;
font-size: 0.85rem;
}
.se-object-type {
font-size: 0.7rem;
color: #666;
margin-right: 0.5rem;
}
.se-chevron {
background: none;
border: none;
color: #888;
cursor: pointer;
padding: 0 0.3rem;
font-size: 1rem;
line-height: 1;
}
.se-chevron:hover {
color: #fff;
}
/* FO pane */
.se-fo-pane dl {
display: grid;
grid-template-columns: max-content 1fr;
gap: 0.3rem 1rem;
margin: 0;
}
.se-fo-pane dt {
font-size: 0.75rem;
color: #888;
align-self: center;
}
.se-fo-pane dd {
margin: 0;
}
/* ShapeEditor */
.se-shape-editor {
margin: 0.5rem 0;
}
.se-shape-table {
width: 100%;
border-collapse: collapse;
font-family: monospace;
font-size: 0.8rem;
}
.se-shape-table th {
text-align: left;
padding: 0.2rem 0.3rem;
color: #888;
border-bottom: 1px solid #444;
font-weight: normal;
}
.se-shape-table td {
padding: 0.15rem 0.2rem;
}
.se-shape-table input[type=number] {
width: 4rem;
background: #111;
border: 1px solid #444;
color: #ddd;
padding: 0.1rem 0.2rem;
font-family: monospace;
}
.se-shape-table input[type=checkbox] {
cursor: pointer;
}
.se-shape-table button {
background: none;
border: 1px solid #555;
color: #888;
cursor: pointer;
padding: 0.1rem 0.3rem;
font-size: 0.75rem;
}
.se-shape-table button:hover {
color: #fff;
border-color: #888;
}
.se-shape-svg {
width: 100%;
height: 80px;
background: #111;
border: 1px solid #333;
margin-top: 0.3rem;
display: block;
}
/* EnvelopeEditor */
.se-envelope-section {
margin: 0.5rem 0;
}
.se-envelope-toggle {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.8rem;
font-weight: bold;
color: #aaa;
margin-bottom: 0.3rem;
}
.se-envelope-toggle label {
cursor: pointer;
}
.se-envelope-disabled {
opacity: 0.35;
pointer-events: none;
}
/* Buttons */
.se-btn {
background: #333;
border: 1px solid #555;
color: #ccc;
padding: 0.25rem 0.6rem;
cursor: pointer;
font-size: 0.8rem;
}
.se-btn:hover {
background: #444;
color: #fff;
}
.se-btn:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.se-btn-primary {
background: #1a4a8a;
border-color: #3a6aaa;
color: #fff;
}
.se-btn-primary:hover {
background: #2a5a9a;
}
/* Status poller */
.se-status {
font-size: 0.8rem;
padding: 0.4rem;
border: 1px solid #444;
margin: 0.5rem 0;
}
.se-status-progress {
height: 4px;
background: #333;
margin-top: 0.3rem;
}
.se-status-bar {
height: 100%;
background: #2a6aaa;
transition: width 0.5s;
}
.se-error {
color: #e06060;
font-size: 0.8rem;
padding: 0.3rem;
border: 1px solid #602020;
margin: 0.3rem 0;
white-space: pre-wrap;
font-family: monospace;
}
/* Bar sub-objects: grouped by P?L? key, chips inline per group */
.se-bar-groups {
padding: 0.2rem 0;
}
.se-bar-group {
padding: 0.15rem 0.1rem;
border-bottom: 1px solid #1e1e1e;
line-height: 1.8;
}
.se-bar-chip {
display: inline-flex;
align-items: center;
font-size: 0.7rem;
font-family: monospace;
border: 1px solid #383838;
background: #1e1e1e;
color: #777;
margin: 1px;
line-height: 1.4;
vertical-align: middle;
}
.se-bar-chip.focused {
background: #1a3a5a;
color: #ddd;
border-color: #4a7aaa;
}
.se-bar-chip-label {
padding: 0.1rem 0.2rem;
cursor: pointer;
}
.se-bar-chip:hover .se-bar-chip-label {
color: #ccc;
}
.se-bar-chip-delete {
background: transparent;
border: none;
border-left: 1px solid #383838;
color: #604040;
cursor: pointer;
padding: 0.1rem 0.2rem;
font-size: 0.75rem;
line-height: 1;
}
.se-bar-chip-delete:hover {
color: #e06060;
}
.se-bar-add {
display: inline-block;
font-size: 0.65rem;
font-family: monospace;
padding: 0.1rem 0.3rem;
border: 1px dashed #383838;
background: transparent;
color: #505050;
cursor: pointer;
margin: 1px;
line-height: 1.4;
vertical-align: middle;
}
.se-bar-add:hover {
color: #999;
border-color: #666;
}
/* Export log (shown in CP pane after export) */
.se-export-log {
font-size: 0.75rem;
font-family: monospace;
border: 1px solid #333;
padding: 0.3rem 0.4rem;
margin: 0.4rem 0;
}
.se-export-changed {
color: #aad4aa;
}
.se-export-info {
color: #888;
}
.se-prop-key, .se-prop-val {
background: #1a1a1a;
color: #d8d8d8;
border: 1px solid #444;
border-radius: 0.2rem;
padding: 0.15rem 0.3rem;
font-family: monospace;
font-size: 0.8rem;
}
.se-prop-key:focus, .se-prop-val:focus {
outline: none;
border-color: #7a7a7a;
background: #222;
}
.se-btn-remove {
background: transparent;
color: #888;
border: 1px solid #444;
border-radius: 0.2rem;
cursor: pointer;
padding: 0 0.4rem;
font-size: 0.9rem;
line-height: 1;
}
.se-btn-remove:hover {
color: #e06060;
border-color: #602020;
}
.se-btn-delete {
background: transparent;
color: #e06060;
border: none;
cursor: pointer;
padding: 0 0.3rem;
font-size: 0.9rem;
line-height: 1;
margin-left: 0.15rem;
}
.se-btn-delete:hover {
color: #ff8080;
}