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
274 lines
4.6 KiB
CSS
274 lines
4.6 KiB
CSS
body {
|
|
background-color: #F5F5F5;
|
|
padding-top: var(--window-inset-top);
|
|
padding-bottom: var(--window-inset-bottom);
|
|
margin: 0;
|
|
}
|
|
|
|
.no-scroll {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.floating-card {
|
|
display: flex;
|
|
justify-content: center;
|
|
position: fixed;
|
|
width: 100%;
|
|
bottom: 50px;
|
|
transition: transform 0.4s ease;
|
|
pointer-events: none;
|
|
z-index: 2;
|
|
}
|
|
|
|
.floating-btn {
|
|
background-color: #007bff;
|
|
border: none;
|
|
box-shadow: 0 4px 8px #0003;
|
|
color: #fff;
|
|
display: none;
|
|
bottom: 0;
|
|
padding: 10px 20px;
|
|
font-size: 22px;
|
|
font-weight: bold;
|
|
border-radius: 50px 50px;
|
|
user-select: none;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
backdrop-filter: blur(5px);
|
|
display: none;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
|
|
.overlay-content {
|
|
transform: scale(0.8);
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.overlay-content.open {
|
|
transform: scale(1);
|
|
}
|
|
|
|
.close-btn {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 12px;
|
|
background: none;
|
|
border: none;
|
|
font-size: 18px;
|
|
color: #ccc;
|
|
user-select: none;
|
|
}
|
|
|
|
.prompt {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 10px;
|
|
background-color: #4CAF50;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
color: white;
|
|
font-size: 15px;
|
|
padding: 5px 10px;
|
|
z-index: 2050;
|
|
width: auto;
|
|
max-width: calc(100% - 40px);
|
|
transform: translateY(100%);
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.prompt.error {
|
|
background-color: #f44336;
|
|
}
|
|
|
|
.loading {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
color: #6E6E6E;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 24px;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.footer {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-bottom: 100px;
|
|
}
|
|
|
|
.uninstall-container {
|
|
padding: 8px;
|
|
width: calc(100% - 20px);
|
|
max-width: 900px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-radius: 12px;
|
|
border: 3px solid #FF3636;
|
|
box-sizing: border-box;
|
|
background-color: #F5F5F5;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
user-select: none;
|
|
}
|
|
|
|
.uninstall-container i {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.uninstall-container span {
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
color: #FF3636;
|
|
}
|
|
|
|
.uninstall-container.hidden-uninstall {
|
|
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;
|
|
z-index: 2000;
|
|
}
|
|
|
|
.permission-content {
|
|
background-color: #fff;
|
|
padding: 20px;
|
|
border-radius: 12px;
|
|
width: 80%;
|
|
max-width: 400px;
|
|
text-align: center;
|
|
}
|
|
|
|
.permission-content h2 {
|
|
color: #333;
|
|
margin-bottom: 20px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.permission-steps {
|
|
text-align: left;
|
|
}
|
|
|
|
.permission-steps ol {
|
|
padding: 0 25px;
|
|
}
|
|
|
|
.permission-steps li {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.ripple-element {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ripple {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
transform: scale(0);
|
|
opacity: 1;
|
|
animation: ripple-animation ease-out forwards;
|
|
pointer-events: none;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.ripple.end {
|
|
opacity: 0;
|
|
}
|
|
|
|
@keyframes ripple-animation {
|
|
to {
|
|
transform: scale(3);
|
|
}
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
body {
|
|
background-color: #121212;
|
|
color: #fff;
|
|
}
|
|
|
|
.uninstall-container {
|
|
background-color: #121212;
|
|
}
|
|
|
|
.uninstall-confirmation,
|
|
.permission-content {
|
|
background-color: #343434;
|
|
}
|
|
|
|
.permission-content h2,
|
|
.permission-steps p {
|
|
color: #fff;
|
|
}
|
|
|
|
.uninstall-confirmation-button {
|
|
background-color: #6E6E6E;
|
|
color: white;
|
|
}
|
|
} |