You've already forked Tricky-Addon-Update-Target-List
mirror of
https://github.com/KOWX712/Tricky-Addon-Update-Target-List.git
synced 2025-09-06 06:37:09 +00:00
feat: add confirmation dialog for uninstallation
This commit is contained in:
@@ -130,6 +130,55 @@ body {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.uninstall-confirmation-overlay {
|
||||
align-items: center;
|
||||
z-index: 2000;
|
||||
}
|
||||
|
||||
.uninstall-confirmation {
|
||||
width: 90%;
|
||||
max-width: 600px;
|
||||
max-height: 80%;
|
||||
overflow-y: auto;
|
||||
background-color: white;
|
||||
border-radius: 15px;
|
||||
padding: 20px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.uninstall-confirmation p {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.uninstall-confirmation-title {
|
||||
font-size: 26px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.uninstall-confirmation-button-container {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
gap: 10px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.uninstall-confirmation-button {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
#confirm-uninstall {
|
||||
color: #fff;
|
||||
background-color: #007bff;
|
||||
}
|
||||
|
||||
.permission-popup {
|
||||
opacity: 1;
|
||||
align-items: center;
|
||||
@@ -198,6 +247,7 @@ body {
|
||||
background-color: #121212;
|
||||
}
|
||||
|
||||
.uninstall-confirmation,
|
||||
.permission-content {
|
||||
background-color: #343434;
|
||||
}
|
||||
@@ -206,4 +256,9 @@ body {
|
||||
.permission-steps p {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.uninstall-confirmation-button {
|
||||
background-color: #6E6E6E;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
@@ -137,18 +137,8 @@
|
||||
}
|
||||
|
||||
.help-overlay {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
z-index: 2000;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s ease;
|
||||
}
|
||||
|
||||
.help-menu {
|
||||
|
||||
@@ -122,7 +122,6 @@
|
||||
border-radius: 12px;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
|
||||
.get-button,
|
||||
|
||||
Reference in New Issue
Block a user