flagtldr / extension /src /options /options.css
botezx's picture
Grok Bot
FlagTLDR 0.5.0 (snapshot of local f98bb37)
043267b
Raw History Blame Contribute Delete
2.78 kB
:root { color-scheme: light dark; --a:#1d9bf0; }
body { font: 14px/1.5 system-ui, sans-serif; margin: 0; background: Canvas; color: CanvasText; }
main { max-width: 820px; margin: 0 auto; padding: 24px; }
h1 { display: flex; align-items: center; gap: 10px; }
h1 .logo { flex: none; }
h1 small { font-size: 13px; color: GrayText; font-weight: 400; }
section { border: 1px solid #8884; border-radius: 12px; padding: 8px 18px 18px; margin-bottom: 18px; }
label { display: block; margin: 10px 0; font-weight: 600; }
label.row { font-weight: 400; }
input:not([type=checkbox]), select, textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; padding: 6px 8px; font: inherit; font-weight: 400; border-radius: 8px; border: 1px solid #8886; }
.mono { font-family: ui-monospace, monospace; font-size: 12px; }
fieldset { border: 1px solid #8884; border-radius: 10px; margin-top: 12px; }
.presets button { margin: 2px; }
button { padding: 5px 12px; border-radius: 999px; border: 1px solid #8888; background: transparent; color: inherit; cursor: pointer; }
button.primary { background: var(--a); border-color: var(--a); color: #fff; font-weight: 700; }
footer { position: sticky; bottom: 0; padding: 12px 0; background: Canvas; }
#status { margin-left: 10px; color: GrayText; }
pre { background: #8881; padding: 8px; border-radius: 8px; white-space: pre-wrap; }
.hint { font-weight: 400; font-size: 12px; color: GrayText; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
pre.diag { max-height: 420px; overflow: auto; white-space: pre; font-size: 11px; }
@font-face { font-family: "XA Twemoji Flags"; src: url("../../vendor/twemoji-flags/TwemojiCountryFlags.woff2") format("woff2"); unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E007F; }
.grid2, .grid3 { display: grid; gap: 0 14px; } .grid2 { grid-template-columns: 1fr 1fr; } .grid3 { grid-template-columns: 1fr 1fr 1fr; }
fieldset.risk { border-color: #f4212e88; } fieldset.risk legend { color: #f4212e; font-weight: 700; }
.flag { font-family: "XA Twemoji Flags", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 16px; }
svg.shape { width: 22px; height: 16px; fill: var(--a); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; font-size: 12px; color: GrayText; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; font-size: 12px; }
.geo-list { max-height: 260px; overflow: auto; border: 1px solid #8884; border-radius: 10px; padding: 4px 8px; }
.geo-opt { display: flex; align-items: center; gap: 8px; margin: 0; padding: 3px 0; font-weight: 400; }
.geo-opt input { width: auto; margin: 0; } .geo-opt small { margin-left: auto; color: GrayText; }
.geo-opt.region, .geo-opt.unknown { font-weight: 600; }