/* Native selects and numeric inputs. This file owns the field surface/states; features and themes supply palette variables and retain their own layout. */ .gev-field { min-width: 0; background: var(--gev-field-background, rgba(255, 255, 255, 0.06)); border: 1px solid var(--gev-field-border-color, rgba(255, 255, 255, 0.14)); border-radius: 7px; color: var(--gev-field-color, var(--text-primary)); padding: 6px 8px; font-family: var(--font-sans); font-size: 12px; outline: none; /* Native number spinners and the open select list follow the dark skin. */ color-scheme: dark; } /* A select draws the field's own chevron, not the platform's arrow, so every dropdown in the app reads the same. The open list stays native. */ select.gev-field { -webkit-appearance: none; appearance: none; padding-inline-end: 22px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='rgba(255,255,255,0.62)' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; background-size: 10px 6px; } .gev-field:focus-visible { outline: 2px solid var(--text-primary); outline-offset: -3px; } .gev-field:disabled { opacity: var(--gev-field-disabled-opacity, 0.45); } .gev-field--compact { height: 24px; border-radius: 6px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.6px; padding: 2px 6px; } select.gev-field--compact { padding-inline-end: 18px; background-position: right 6px center; } /* Compact inline editors share density and hide native number spinners. Their containing feature sets width to fit the surrounding readout. */ .gev-field--inline { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.7px; --gev-field-background: rgba(0, 212, 255, 0.1); --gev-field-border-color: rgba(0, 212, 255, 0.5); border-radius: 4px; padding: 1px 3px; -moz-appearance: textfield; } .gev-field--inline::-webkit-outer-spin-button, .gev-field--inline::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }