visualiser2 / src /components /ui /Toolbar.module.css
Vishalpainjane's picture
added files
8a01471
/* ============================================
TOOLBAR - WIREFRAME AESTHETIC
============================================ */
.toolbar {
position: absolute;
top: 16px;
left: 16px;
display: flex;
align-items: center;
gap: 10px;
padding: 10px 14px;
background: var(--bg-secondary, #0f0f0f);
border: 1px solid var(--border-primary, rgba(180, 255, 57, 0.3));
z-index: 100;
flex-wrap: wrap;
max-width: calc(100vw - 380px);
font-family: var(--font-mono, 'JetBrains Mono', monospace);
}
.section {
display: flex;
align-items: center;
gap: 6px;
}
.divider {
width: 1px;
height: 20px;
background: var(--border-primary, rgba(180, 255, 57, 0.3));
}
.fileInput {
display: none;
}
.button {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 12px;
background: transparent;
border: 1px dashed var(--border-primary, rgba(180, 255, 57, 0.3));
color: var(--text-primary, #e0e0e0);
font-size: 10px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
white-space: nowrap;
font-family: var(--font-mono, 'JetBrains Mono', monospace);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.button:hover {
border-color: var(--accent-primary, #b4ff39);
color: var(--accent-primary, #b4ff39);
}
.button:active {
background: rgba(180, 255, 57, 0.1);
}
.label {
color: var(--text-primary, #e0e0e0);
font-size: 10px;
white-space: nowrap;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.select {
padding: 4px 8px;
padding-right: 24px;
background: transparent;
border: 1px solid var(--border-primary, rgba(180, 255, 57, 0.3));
color: var(--text-primary, #e0e0e0);
font-size: 10px;
cursor: pointer;
appearance: none;
font-family: var(--font-mono, 'JetBrains Mono', monospace);
text-transform: uppercase;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23b4ff39' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 6px center;
}
.select:hover {
border-color: var(--accent-primary, #b4ff39);
}
.select option {
background: var(--bg-secondary, #0f0f0f);
color: var(--text-primary, #e0e0e0);
}
.checkbox {
display: flex;
align-items: center;
gap: 6px;
color: var(--text-primary, #e0e0e0);
font-size: 10px;
cursor: pointer;
white-space: nowrap;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.checkbox input[type="checkbox"] {
appearance: none;
width: 12px;
height: 12px;
background: transparent;
border: 1px solid var(--border-primary, rgba(180, 255, 57, 0.3));
cursor: pointer;
position: relative;
}
.checkbox input[type="checkbox"]:checked {
background: var(--accent-primary, #b4ff39);
border-color: var(--accent-primary, #b4ff39);
}
.checkbox input[type="checkbox"]:checked::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 4px;
height: 4px;
background: var(--bg-primary, #0a0a0a);
}
.modelInfo {
display: flex;
flex-direction: column;
gap: 2px;
margin-left: auto;
padding-left: 12px;
border-left: 1px dashed var(--border-primary, rgba(180, 255, 57, 0.2));
}
.modelName {
color: var(--accent-primary, #b4ff39);
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.modelStats {
color: var(--text-primary, #e0e0e0);
font-size: 9px;
text-transform: uppercase;
}
@media (max-width: 1200px) {
.toolbar {
max-width: calc(100vw - 32px);
}
.modelInfo {
width: 100%;
margin-left: 0;
padding-left: 0;
padding-top: 8px;
margin-top: 4px;
border-left: none;
border-top: 1px dashed var(--border-primary, rgba(180, 255, 57, 0.2));
}
}