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: option to add system app
This commit is contained in:
128
module/webui/styles/system_app.css
Normal file
128
module/webui/styles/system_app.css
Normal file
@@ -0,0 +1,128 @@
|
||||
.add-system-app-overlay {
|
||||
display: none;
|
||||
position: fixed;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
z-index: 2000;
|
||||
transition: opacity 0.2s ease;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.add-system-app-card {
|
||||
position: fixed;
|
||||
display: flex;
|
||||
margin-top: 15%;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: calc(90vw - 60px);
|
||||
max-width: 400px;
|
||||
padding: 30px;
|
||||
background-color: #fff;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.add-system-app-title {
|
||||
font-size: 24px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.add-system-app-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.add-system-app-content input {
|
||||
width: 100%;
|
||||
padding: 15px;
|
||||
background-color: #F5F5F5;
|
||||
border: 1px solid #ccc;
|
||||
outline-color: #007bff;
|
||||
border-radius: 10px;
|
||||
box-sizing: border-box;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.add-system-app-button {
|
||||
margin-top: 10px;
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
background-color: #007bff;
|
||||
color: white;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.current-system-app-list {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.current-system-app-list-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
width: 100%;
|
||||
max-height: 40vh;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.system-app-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
border-bottom: 1px solid #ccc;
|
||||
padding: 10px;
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.system-app-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.remove-system-app-button {
|
||||
flex-shrink: 0;
|
||||
margin-left: 10px;
|
||||
background-color: #e84d4d;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.add-system-app-card {
|
||||
background-color: #343434;
|
||||
}
|
||||
|
||||
.add-system-app-content input {
|
||||
background-color: #232323;
|
||||
color: #fff;
|
||||
border: 1px solid #6E6E6E;
|
||||
}
|
||||
|
||||
.system-app-item {
|
||||
border-bottom: 1px solid #6E6E6E;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user