Files
Tricky-Addon-Update-Target-…/module/webui/styles/boot_hash.css
2025-02-21 02:06:03 +08:00

111 lines
2.0 KiB
CSS

.boot-hash-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.5);
z-index: 1200;
justify-content: center;
align-items: center;
opacity: 0;
visibility: hidden;
transition: opacity 0.2s ease, visibility 0.2s ease;
}
.boot-hash-card {
position: fixed;
top: 10%;
left: 50%;
transform: translateX(-50%);
width: calc(90% - 60px);
max-width: 300px;
background-color: #fff;
border-radius: 18px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
z-index: 1200;
padding: 30px;
display: none;
flex-direction: column;
gap: 15px;
opacity: 0;
transition: opacity 0.2s ease;
}
.boot-hash-overlay.show {
visibility: visible;
opacity: 1;
}
.boot-hash-card.show {
display: flex;
opacity: 1;
}
.boot-hash-title {
width: 100%;
font-size: 26px;
text-align: center;
user-select: none;
}
.boot-hash-value {
width: 100%;
height: 100px;
font-size: 16px;
background-color: #FFF;
border: 1px solid #ccc;
border-radius: 10px;
box-sizing: border-box;
position: relative;
overflow: hidden;
}
.input-box {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
padding: 10px;
font-size: 16px;
border-radius: 9px;
box-sizing: border-box;
background-color: transparent;
outline-color: #007bff;
}
.boot-hash-button-container {
display: flex;
justify-content: center;
margin-top: 10px;
}
.boot-hash-save-button {
width: 50%;
padding: 12px;
border: none;
border-radius: 12px;
font-size: 18px;
font-weight: bold;
background-color: #007bff;
color: white;
position: relative;
overflow: hidden;
user-select: none;
}
@media (prefers-color-scheme: dark) {
.boot-hash-card {
background-color: #343434;
}
.input-box {
color: #fff;
}
.boot-hash-value {
background-color: #343434;
border: 1px solid #6E6E6E;
}
}