/** Global **/ body { background: url("../assets/imgs/bg-table.webp") no-repeat center; background-size: cover; > * { scrollbar-width: thin; } } /* Windows */ .window-app { .window-content { z-index: 1; position: relative; background: rgb(255, 250, 230) url("../assets/imgs/bg-l5r.webp") no-repeat; background-size: cover; scrollbar-width: thin; padding: 0; > form, > div { padding: 0.5rem; } .compendium, .help-dialog { background-position: top; background-size: 100%; background: url("../assets/ui/bgSidebar.webp") no-repeat; border: 1px solid rgb(195, 165, 130); border-radius: 0; color: $white; ol { padding-right: 0.25rem; li { border-bottom: 1px solid $l5r5e-white-light; } } .directory-header { padding: 0.25rem 0; } } .help-dialog { padding: 0.5rem 1.5rem; button { cursor: default; color: $white; background: linear-gradient( $l5r5e-linear-gradient-third, $l5r5e-linear-gradient-third-dark, $l5r5e-linear-gradient-third ); background-origin: padding-box; border-image: url("../assets/ui/macro-button.webp") 10 repeat; border-image-width: 0.5rem; border-image-outset: 0px; &:hover { background: linear-gradient( $l5r5e-linear-gradient-first-dark, $l5r5e-linear-gradient-first, $l5r5e-linear-gradient-first-dark ); } } } } &.sheet, &.npc, &.advancement, &.armor, &.item, &.peculiarity, &.property, &.technique, &.weapon { .window-content { overflow-y: scroll; } } .window-resizable-handle { z-index: 2; background: $black-light; } &.twenty-questions-dialog { .window-content { background: rgb(255, 250, 230) url("../assets/imgs/bg-scroll.webp") no-repeat; background-size: cover; } } } #l5r5e-twenty-questions-dialog { min-height: 800px; min-width: 600px; } /* Focus, Active */ * { transition-property: background, color, border-color, text-shadow, box-shadow; transition-duration: 0.5s; transition-timing-function: ease; } input[type="text"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="date"]:focus, input[type="time"]:focus { box-shadow: 0 0 6px $red; } .tabs .item.active { text-shadow: 0 0 10px $red; } #controls .scene-control.active, #controls .control-tool.active, #controls .scene-control:hover, #controls .control-tool:hover { box-shadow: 0 0 10px $red; } #sidebar #settings button, #sidebar .sidebar-tab .action-buttons button { height: 2rem; line-height: initial; } button:hover { box-shadow: 0 0 10px $red; } button:focus { box-shadow: 0 0 10px $red; } option { font-size: 1rem; line-height: 1.5rem; padding: 0.25rem; color: $black-light; } /* lists */ ul, li { list-style-type: none; margin: 0; padding: 0; } .item-list { > li { padding: 0.25rem; border: 1px solid rgba(0, 0, 0, 0.05); border-bottom: 0 none; &:nth-child(odd) { background: $l5r5e-odd; } &:nth-child(even) { background: $l5r5e-even; } &:last-child { border-bottom: 1px solid rgba(0, 0, 0, 0.05); } } } // Fieldset fieldset { flex: 1; display: flex; margin: 0 0.25rem; padding: 0.25rem 0.5rem; border: 1px solid $l5r5e-title; legend { color: $l5r5e-label; } .editor { height: 100%; } } // inputs input[type="text"], input[type="number"], input[type="password"], input[type="date"], input[type="time"] { text-align: center; padding: 0.25rem; background: $l5r5e-white; border: 1px solid $l5r5e-title; color: $l5r5e-bold; &[disabled] { background: $l5r5e-white-light; } } // Editors .editor, .editor-content { flex: 1; height: 100%; min-height: 5rem; } // Elements Colors .earth { color: $l5r5e-earth; } .air { color: $l5r5e-air; } .water { color: $l5r5e-water; } .fire { color: $l5r5e-fire; } .void { color: $l5r5e-void; } table { text-align: center; background: transparent; border: 1px solid $l5r5e-title; thead { background: $l5r5e-title; color: $l5r5e-label; text-shadow: none; border-bottom: $l5r5e-title; } tbody { } tr { &:nth-child(odd) { background: $l5r5e-odd; } &:nth-child(even) { background: $l5r5e-even; } } } sub, sup { color: $l5r5e-black; } .sheet { nav { &.sheet-tabs { font-size: 0.75rem; } } } .editor-content, .item-description { ul { margin: 0.5rem 0; li { list-style-type: initial; margin: 0.5rem 0 0.5rem 1.5rem; padding: 0; } } } // Fix for "search anywhere" draggable icon .window-draggable-handle { z-index: 2; }