disable DTLPanel button and fix various styling issues

This commit is contained in:
Timothée Goguely 2025-01-27 21:50:10 +01:00
parent 7aa0ffb927
commit 9cfdb4ef68
5 changed files with 10 additions and 19 deletions

View file

@ -30,10 +30,15 @@
.btn[disabled] {
cursor: not-allowed;
background: var(--color-black-10);
--btn-background: var(--color-black-10);
--btn-color: var(--color-black-20) !important;
--icon-color: var(--color-black-20) !important;
}
.btn--white[disabled] {
--btn-background: var(--color-white);
--btn-color: var(--color-grey-700) !important;
opacity: .5;
}
.btn.active,
.btn[aria-pressed="true"],

View file

@ -147,7 +147,7 @@
top: 2rem;
bottom: 5.5rem;
color: var(--color-white);
z-index: 9999;
z-index: 999;
overflow: hidden;
}
#dtl-panel.with-dialog {
@ -198,7 +198,7 @@
height: calc(100% - 3.5rem);
}
#dtl-panel [role="tablist"] + section {
height: calc(100% - 6.25rem);
height: calc(100% - 6rem);
}
#dtl-panel h3 {

View file

@ -262,12 +262,6 @@
#optimization-request-dialog [data-pc-name="pcclosebutton"] {
display: none;
}
#project-request-dialog form,
#optimization-request-dialog form {
max-width: var(--dialog-max-w);
height: calc(var(--dialog-max-h) - var(--dialog-header-h));
background: none;
}
#project-request-dialog #project-dtl {
position: relative;
padding-left: var(--space-64);