Files
KGStudio/src/components/Toolbar.css
T

209 lines
3.7 KiB
CSS

/* Toolbar */
.toolbar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #2d2d2d;
height: 50px;
padding: 0 10px;
border-bottom: 1px solid #3a3a3a;
}
.toolbar-left,
.toolbar-center,
.toolbar-right {
display: flex;
align-items: center;
}
.toolbar-left {
display: flex;
align-items: center;
}
.logo-container {
margin-right: 10px;
display: flex;
align-items: center;
}
.logo {
height: 30px;
width: auto;
}
.project-name {
font-size: 14px;
color: #e0e0e0;
margin-right: 20px;
display: flex;
align-items: center;
pointer-events: auto;
}
.toolbar button {
background: transparent;
border: none;
color: #e0e0e0;
margin: 0 5px;
width: 28px;
height: 28px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
border-radius: 3px;
font-size: 14px;
pointer-events: auto;
}
.toolbar button:hover {
background-color: #3a3a3a;
}
.toolbar button:disabled {
color: #666;
cursor: not-allowed;
}
.toolbar button:active {
background-color: #5a5a5a;
transform: scale(0.95);
}
.record-btn {
color: #ff4444;
}
.toolbar-separator {
width: 1px;
height: 20px;
background-color: #555;
margin: 0 10px;
}
.transport-control {
display: flex;
align-items: center;
margin: 0 10px;
pointer-events: auto;
}
.transport-item {
margin: 0 5px;
padding: 2px 2px;
background-color: #3a3a3a;
border-radius: 3px;
font-size: 12px;
}
/* Fixed-width font for time display to prevent layout shifts */
.current-time {
font-family: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-weight: normal;
letter-spacing: 0.5px;
padding: 2px 4px;
}
/* Clickable BPM styling */
.current-bpm {
font-family: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-weight: normal;
letter-spacing: 0.5px;
cursor: pointer;
transition: background-color 0.2s ease;
padding: 2px 4px;
border-radius: 2px;
}
.current-bpm:hover {
background-color: #4a4a4a;
color: #fff;
}
/* Clickable time signature styling */
.current-time-signature {
font-family: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-weight: normal;
letter-spacing: 0.5px;
cursor: pointer;
transition: background-color 0.2s ease;
padding: 2px 4px;
border-radius: 2px;
}
.current-time-signature:hover {
background-color: #4a4a4a;
color: #fff;
}
.current-key-signature {
font-family: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-weight: normal;
letter-spacing: 0.5px;
cursor: pointer;
transition: background-color 0.2s ease;
padding: 2px 4px;
border-radius: 2px;
}
.current-key-signature:hover {
background-color: #4a4a4a;
color: #fff;
}
.export-dropdown .quant-dropdown {
width: 250px;
left: 0;
}
.key-signature-dropdown .quant-dropdown {
width: 100px;
left: 0;
}
/* Clickable zoom styling */
.current-zoom {
font-family: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-weight: normal;
letter-spacing: 0.5px;
cursor: pointer;
transition: background-color 0.2s ease;
padding: 2px 4px;
border-radius: 2px;
}
.current-zoom:hover {
background-color: #4a4a4a;
color: #fff;
}
.zoom-slider-popup {
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
background-color: #2d2d2d;
border: 1px solid #444;
border-radius: 3px;
padding: 8px 12px;
z-index: 10000;
display: flex;
align-items: center;
gap: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
white-space: nowrap;
margin-top: 2px;
}
.zoom-slider-popup input[type="range"] {
width: 120px;
}
.zoom-slider-label {
font-family: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-size: 12px;
color: #e0e0e0;
min-width: 20px;
text-align: center;
}