Design/action settings dialog style (#274)

* Action Setting Dialog style

* fix small style details in action config application

* requested changes

---------

Co-authored-by: moliloo <dev.murilobrito@gmail.com>
This commit is contained in:
Dapoulp 2025-07-05 22:45:08 +02:00 committed by GitHub
parent e9ad9c539a
commit 608920c193
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 308 additions and 225 deletions

View file

@ -5718,10 +5718,24 @@ body.theme-light.application.daggerheart.dialog {
.application.dh-style fieldset.flex .inline-child {
flex: 1;
}
.application.dh-style fieldset.flex .checkbox {
.application.dh-style fieldset .list-w-img {
padding: 5px;
}
.application.dh-style fieldset .list-w-img label {
flex: 1;
}
.application.dh-style fieldset .list-w-img img {
width: 2rem;
height: 2rem;
}
.application.dh-style fieldset .checkbox {
display: flex;
align-items: center;
gap: 20px;
align-self: end;
}
.application.dh-style fieldset .fas.fa-trash {
align-self: end;
}
.application.dh-style fieldset.one-column {
display: flex;
@ -5729,6 +5743,14 @@ body.theme-light.application.daggerheart.dialog {
align-items: start;
gap: 10px;
min-height: 64px;
flex: 1;
}
.application.dh-style fieldset.one-column > .one-column {
width: 100%;
}
.application.dh-style fieldset.one-column .nest-inputs fieldset {
flex: 1;
width: 100%;
}
.application.dh-style fieldset.two-columns {
display: grid;
@ -5759,6 +5781,11 @@ body.theme-light.application.daggerheart.dialog {
.application.dh-style fieldset input[type='number']:hover {
outline: 2px solid light-dark(#222, #efe6d8);
}
.application.dh-style fieldset[disabled],
.application.dh-style fieldset select[disabled],
.application.dh-style fieldset input[disabled] {
opacity: 0.5;
}
.application.dh-style fieldset .nest-inputs {
display: flex;
align-items: center;
@ -5773,6 +5800,22 @@ body.theme-light.application.daggerheart.dialog {
font-weight: bold;
font-size: smaller;
}
.application.dh-style fieldset:has(.list-w-img) {
gap: 0;
}
.application.dh-style fieldset:has(+ .fas.fa-trash) {
border-bottom-right-radius: 0;
}
.application.dh-style fieldset .fas.fa-trash {
color: darkred;
border-radius: 0 6px 6px 0;
border-color: light-dark(#18162e, #f3c267);
border-width: 2px;
border-style: groove;
border-left-width: 0;
padding: 5px;
margin-left: -7px;
}
.application.dh-style .two-columns {
display: grid;
grid-template-columns: 1fr 2fr;

View file

@ -89,11 +89,18 @@
box-shadow: none;
}
& option {
& option,
& optgroup {
color: @beige;
background-color: @dark-blue;
border-radius: 6px;
}
&:disabled {
opacity: 0.6;
outline: 2px solid transparent;
cursor: not-allowed;
}
}
p {
@ -148,10 +155,16 @@
.inline-child {
flex: 1;
}
.checkbox {
display: flex;
align-items: center;
gap: 20px;
}
.list-w-img {
padding: 5px;
label {
flex: 1;
}
img {
width: 2rem;
height: 2rem;
}
}
@ -161,6 +174,10 @@
align-items: start;
gap: 10px;
min-height: 64px;
flex: 1;
> .one-column {
width: 100%;
}
}
&.two-columns {
@ -196,11 +213,29 @@
}
}
&[disabled],
select[disabled],
input[disabled] {
opacity: 0.5;
}
.nest-inputs {
display: flex;
align-items: center;
width: 100%;
gap: 5px;
.btn {
padding-top: 15px;
}
.image {
height: 40px;
width: 40px;
object-fit: cover;
border-radius: 6px;
border: none;
}
}
.form-group {
@ -210,6 +245,19 @@
font-weight: bold;
font-size: smaller;
}
&.checkbox {
width: fit-content;
.form-fields {
height: 32px;
align-content: center;
}
}
}
&:has(.list-w-img) {
gap: 0;
}
}

View file

@ -7,6 +7,7 @@
flex-direction: column;
gap: 10px;
align-items: center;
width: 100%;
}
.card-list {
display: flex;

View file

@ -2,8 +2,6 @@
.tab-form-footer {
display: flex;
padding: 0 10px;
position: relative;
bottom: -32px;
button {
flex: 1;