@navHeight: 30px; @headerHeight: 100px; /* ----------------------------------------- */ /* All PF1 Apps */ /* ----------------------------------------- */ .pf1 { header { flex: 0; } .footnote { color: var(--pf1-tan); } div.group-container { position: relative; border: 1px solid var(--color-border-dark-2); border-radius: 4px; padding: 4px; margin: 2px; margin-top: 20px; & > .group-title { position: absolute; top: -50%; } } a.inline-action { position: relative; margin-left: 4px; i.absolute { position: absolute; left: -2px; top: -2px; font-size: var(--font-size-12); background: black; color: var(--color-text-light-highlight); padding: 1px; border-radius: 4px; height: 10px; line-height: 8px; } &[data-action="recoverAmmo"], &[data-action="forceRecoverAmmo"] { &.recovered { color: #00aa00; } &.recovery-failed { color: #aa0000; } } } input[type="number"]::placeholder, input[type="text"]::placeholder, .placeholder { color: var(--pf1-tan); } input[type="text"]:disabled, input[type="text"][disabled] { color: var(--pf1-tan); } .align-left { text-align: start; } .align-center { text-align: center; } .align-right { text-align: end; } li { align-items: center; } .window-content { background: var(--pf1-sheet-background); font-size: var(--font-size-13); color: var(--color-text-dark-primary); overflow: hidden; } /* ----------------------------------------- */ /* Element Styles */ /* ----------------------------------------- */ // Item Sheet form fields :is(input[type="text"], input[type="number"], select) { border: 1px solid var(--pf1-tan); background: var(--pf1-bg-dark-0); color: var(--color-text-dark-primary); } form.editable { // Hovered Fields input:is([type="text"], [type="number"]) { &:is(:hover, :focus) { &:not(:disabled, [disabled], :read-only) { border: 1px solid #111; box-shadow: 0 0 8px red; } } } :is(select, input[type="checkbox"]) { &:is(:hover, :focus) { &:not(:disabled, [disabled]) { border: 1px solid #111; box-shadow: 0 0 8px red; } } } } // Disabled Fields //