From 1ff384a952a1fd6da90ed4ce896f8c77f4926b84 Mon Sep 17 00:00:00 2001 From: oliver Date: Sat, 25 Apr 2026 06:29:26 -0300 Subject: [PATCH] utm --- index.html | 205 ++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 186 insertions(+), 19 deletions(-) diff --git a/index.html b/index.html index 4266356..455786b 100644 --- a/index.html +++ b/index.html @@ -1634,18 +1634,96 @@ color: var(--white); } + .modal-field option, + .modal-field optgroup { + background: var(--card); + color: var(--white); + } + .modal-field:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); } + .modal-select { + position: relative; + } + + .modal-select-button { + position: relative; + text-align: left; + cursor: pointer; + padding-right: 42px; + } + + .modal-select-button::after { + content: ""; + position: absolute; + right: 16px; + top: 50%; + width: 14px; + height: 8px; + transform: translateY(-50%); + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23E65100' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); + background-repeat: no-repeat; + background-position: center; + pointer-events: none; + } + + .modal-select-button.is-placeholder { + color: var(--grey); + } + + .modal-select-menu { + position: absolute; + top: calc(100% + 8px); + left: 0; + right: 0; + z-index: 3; + max-height: 220px; + padding: 8px; + background: var(--card); + border: 1px solid rgba(230, 81, 0, 0.18); + border-radius: 16px; + box-shadow: 0 18px 40px rgba(62, 39, 35, 0.16); + overflow-y: auto; + display: none; + } + + .modal-select.open .modal-select-menu { + display: block; + } + + .modal-select-option { + width: 100%; + padding: 10px 12px; + border: none; + border-radius: 12px; + background: transparent; + color: var(--white); + text-align: left; + font: inherit; + cursor: pointer; + transition: background 0.2s, color 0.2s; + } + + .modal-select-option:hover, + .modal-select-option:focus-visible, + .modal-select-option.is-selected { + outline: none; + background: rgba(230, 81, 0, 0.1); + color: var(--gold); + } + select.modal-field { appearance: none; -webkit-appearance: none; + color: var(--white); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23E65100' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; + color-scheme: light; } .modal-submit { @@ -2642,30 +2720,60 @@ required /> -