Files
shopadmin/ShopAdmin/Components/CreateProduct.razor.css
T
Khwezi Mngoma 51946a1388
continuous-integration/drone/pr Build is passing
Started producer design
2026-05-18 19:19:26 +02:00

276 lines
5.6 KiB
CSS

/* Core Structural Layout Space Configuration */
.create-product-container {
display: flex;
flex-direction: column;
height: 100%;
width: 100%;
}
.form-entry-canvas {
display: flex;
flex-direction: column;
height: 100%;
width: 100%;
}
.form-scroll-viewport {
padding: 2.5rem;
flex: 1;
overflow-y: auto;
}
.form-section-header {
margin-bottom: 2.5rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.03);
padding-bottom: 1.25rem;
}
.field-accent-tag {
font-size: 1rem;
letter-spacing: 0.02em;
color: #ffffff !important;
font-weight: 600;
}
.form-section-header p {
margin-top: 0.4rem;
font-size: 0.85rem;
color: #64748b;
}
/* Precise Balanced Grid Matrix Layout */
.form-grid-layout {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 3.5rem;
align-items: start;
}
.form-column {
display: flex;
flex-direction: column;
gap: 2rem;
}
/* Brand Metric Console Inputs Architecture */
.console-field-group {
display: flex;
flex-direction: column;
gap: 0.75rem;
width: 100%;
}
.console-field-label {
font-size: 0.88rem;
font-weight: 500;
color: #cbd5e1;
letter-spacing: 0.01em;
user-select: none;
}
.node-dim-label {
color: #475569;
font-size: 0.75rem;
margin-left: 0.25rem;
}
/* High-Fidelity Branded Form Controls */
.console-input, .console-textarea {
width: 100%;
background: #060b13;
border: 1px solid #1e293b;
border-radius: 6px;
padding: 0.9rem 1.1rem;
color: #f8fafc;
font-size: 0.92rem;
font-family: inherit;
outline: none;
transition: border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Component Placeholder Styling */
.console-input::placeholder, .console-textarea::placeholder {
color: #334155;
font-size: 0.88rem;
}
/* Branded Interactive Focus Transitions */
.console-input:focus, .console-textarea:focus {
border-color: #00f2fe;
box-shadow: 0 0 0 1px #00f2fe;
}
.console-textarea {
resize: none;
line-height: 1.6;
}
/* Asset URL Composite Field Layout Extensions */
.input-asset-addon {
display: flex;
align-items: stretch;
width: 100%;
}
.asset-path-input {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.asset-preview-stub {
background: #0b131f;
border: 1px solid #1e293b;
border-left: none;
border-top-right-radius: 6px;
border-bottom-right-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
width: 54px;
color: #475569;
flex-shrink: 0;
transition: border-color 0.2s ease, color 0.2s ease;
}
/* Keep addon stub borders synced during primary field focus */
.input-asset-addon:focus-within .asset-path-input {
border-color: #00f2fe;
}
.input-asset-addon:focus-within .asset-preview-stub {
border-color: #00f2fe;
color: #00f2fe;
}
/* Layout Space Tuning Adjustments for Media Sections */
.spacing-top-modifier {
margin-top: 0.25rem;
}
/* 5-Item Array Asset Matrix Grid */
.thumbnail-deck-grid {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 0.85rem;
}
.thumbnail-slot-node {
aspect-ratio: 1 / 1;
background: #060b13;
border: 1px dashed #1e293b;
border-radius: 6px;
position: relative;
overflow: hidden;
transition: border-color 0.2s ease, background 0.2s ease;
}
.thumbnail-slot-node.empty:hover {
border-color: #ff5722;
background: rgba(255, 87, 34, 0.02);
}
.empty-slot-blueprint {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
color: #334155;
gap: 0.35rem;
user-select: none;
}
.empty-slot-blueprint svg {
width: 16px;
height: 16px;
}
.empty-slot-blueprint span {
font-size: 0.65rem;
font-family: monospace;
letter-spacing: 0.02em;
}
.thumbnail-slot-node.populated {
border-style: solid;
border-color: #1e293b;
}
.thumbnail-slot-node.populated img {
width: 100%;
height: 100%;
object-fit: cover;
}
.btn-clear-slot {
position: absolute;
top: 4px;
right: 4px;
background: #0f172a;
border: 1px solid #334155;
color: #cbd5e1;
border-radius: 4px;
width: 18px;
height: 18px;
font-size: 0.65rem;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.15s ease, border-color 0.15s ease;
}
.btn-clear-slot:hover {
border-color: #ff5722;
color: #ff5722;
}
.thumbnail-slot-node.populated:hover .btn-clear-slot {
opacity: 1;
}
/* Form Action Control Bar Layout */
.form-action-footer {
padding: 1.5rem 2.5rem;
background: #04080f;
border-top: 1px solid #1e293b;
display: flex;
justify-content: flex-end;
gap: 1.5rem;
align-items: center;
}
.btn-console-flat {
background: transparent;
border: none;
color: #64748b;
font-size: 0.9rem;
font-weight: 500;
cursor: pointer;
padding: 0.6rem 1.2rem;
border-radius: 4px;
transition: color 0.2s ease;
}
.btn-console-flat:hover {
color: #f1f5f9;
}
/* Using your brand active cyan color for submission commits */
.btn-apply-filters {
background: #00f2fe;
border: none;
color: #060b13;
font-weight: 600;
font-size: 0.9rem;
padding: 0.75rem 1.5rem;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.2s ease, opacity 0.2s ease;
}
.btn-apply-filters:hover {
background: #00d8e4;
}