- Reworked ui-popup default CSS

This commit is contained in:
mcndave committed 2024-11-06 23:56:19 +00:00
1 parent cf03c5b542
commit 2bfb4bc7f8
3 files changed
+8 -6

No files matched your search

+4 -3
View File
@@ -3,10 +3,11 @@
ui-popup:not(.visible) {transform: translate(-50%, -100%);transition-timing-function: ease-in;translate(-50%, -100%);box-shadow:none;}
ui-popup.modal.visible {display:flex}
ui-popup > * {padding:1.5rem}
ui-popup .button-list {text-align:center;}
ui-popup .button-list {text-align:right;}
ui-popup .button-list .button {padding: 0px 7%;}
ui-popup .message {background: transparent;padding:1.2rem 1.5rem!important}
ui-popup .title {font-size:1.5rem;display:flex;justify-content: space-between;background:rgba(120,120,120,0.15)}
ui-popup [slot="message"] {background: transparent;padding:1.2rem 1.5rem!important}
ui-popup [slot="title"] {font-size:1.5rem;display:flex;justify-content: space-between;background:rgba(120,120,120,0.12)}
ui-popup [slot="buttons"] {background:rgba(120,120,120,0.07)}
ui-popup::before {left:0;right:0;top:0;bottom:0;background:rgba(0,0,0,0.1);content:" ";}
</style>