Update CSS to accomodate HUD applications without being too broad

This commit is contained in:
Oliver-Akins 2025-03-04 16:59:36 -07:00
parent 8896903008
commit 3e17f2c376
11 changed files with 12 additions and 3 deletions

View file

@ -30,6 +30,7 @@ export class DelveDiceHUD extends HandlebarsApplicationMixin(ApplicationV2) {
classes: [ classes: [
`ripcrypt`, `ripcrypt`,
`ripcrypt--DelveDiceHUD`, `ripcrypt--DelveDiceHUD`,
`hud`,
], ],
window: { window: {
frame: false, frame: false,

View file

@ -1,4 +1,5 @@
.ripcrypt button { .ripcrypt.hud button,
.ripcrypt > .window-content button {
all: revert; all: revert;
outline: none; outline: none;
border: none; border: none;

View file

@ -1,3 +1,4 @@
.ripcrypt.hud,
.ripcrypt > .window-content { .ripcrypt > .window-content {
input, .input { input, .input {
all: revert; all: revert;

View file

@ -1,3 +1,4 @@
.ripcrypt.hud,
.ripcrypt > .window-content { .ripcrypt > .window-content {
ol { ol {
list-style-type: none; list-style-type: none;

View file

@ -1,3 +1,4 @@
.ripcrypt.hud p,
.ripcrypt > .window-content p { .ripcrypt > .window-content p {
&.warning { &.warning {
padding: 0.75rem; padding: 0.75rem;

View file

@ -1,3 +1,4 @@
.ripcrypt.hud .pill-bar,
.ripcrypt > .window-content .pill-bar { .ripcrypt > .window-content .pill-bar {
display: flex; display: flex;
flex-direction: row; flex-direction: row;

View file

@ -1,3 +1,4 @@
.ripcrypt.hud select,
.ripcrypt > .window-content select { .ripcrypt > .window-content select {
all: revert; all: revert;
appearance: auto; appearance: auto;

View file

@ -1,3 +1,4 @@
.ripcrypt.hud span,
.ripcrypt > .window-content span { .ripcrypt > .window-content span {
&.small { &.small {
font-size: var(--font-size-10) font-size: var(--font-size-10)

View file

@ -1,3 +1,4 @@
.ripcrypt.hud table,
.ripcrypt > .window-content table { .ripcrypt > .window-content table {
all: revert; all: revert;
box-sizing: border-box; box-sizing: border-box;