Replaced window.prompt()/alert() with custom popup
This commit is contained in:
parent
8ccb9003cc
commit
ee5a8d9516
14 changed files with 138 additions and 63 deletions
13
www/css/popup/delete.css
Normal file
13
www/css/popup/delete.css
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#delete-channel-popup-content, #delete-account-popup-content{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#delete-channel-popup-prompt, #delete-account-popup-password{
|
||||
width: 75%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#delete-channel-popup-prompt-span, #delete-account-popup-password-span{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
|
@ -305,4 +305,8 @@ select.panel-head-element{
|
|||
color: var(--accent1);
|
||||
box-shadow: 3px 3px 1px var(--bg1-alt0) inset;
|
||||
border-radius: 1em;
|
||||
}
|
||||
|
||||
#delete-account-popup-title, #delete-channel-popup-title{
|
||||
color: var(--accent0-warning);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue