All checks were successful
Docker Release Build / push_to_registry (push) Successful in 1m2s
199 lines
3.7 KiB
CSS
199 lines
3.7 KiB
CSS
:root {
|
|
--bg-color: #f5f5f5;
|
|
--text-color: #333;
|
|
--container-bg: white;
|
|
--button-bg: #007BFF;
|
|
--button-hover: #0056b3;
|
|
--copy-button-bg: #4CAF50;
|
|
--copy-button-hover: #45a049;
|
|
--password-bg: #f0f0f0;
|
|
--border-color: #ddd;
|
|
--shadow-color: rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.dark {
|
|
--bg-color: #121212;
|
|
--text-color: #e0e0e0;
|
|
--container-bg: #1e1e1e;
|
|
--button-bg: #2a7df4;
|
|
--button-hover: #1a5fb4;
|
|
--copy-button-bg: #4caf60;
|
|
--copy-button-hover: #3d8b40;
|
|
--password-bg: #2d2d2d;
|
|
--border-color: #444;
|
|
--shadow-color: rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
body {
|
|
font-family: 'Helvetica Neue', Arial, sans-serif;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
margin: 0;
|
|
background-color: var(--bg-color);
|
|
color: var(--text-color);
|
|
transition: background-color 0.3s, color 0.3s;
|
|
}
|
|
|
|
.container {
|
|
text-align: center;
|
|
background: var(--container-bg);
|
|
padding: 2rem;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 10px var(--shadow-color);
|
|
width: 50%;
|
|
min-width: 600px;
|
|
position: relative;
|
|
}
|
|
|
|
footer {
|
|
/* Fixierung am unteren Rand */
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
|
|
/* Ausdehnung */
|
|
width: 100%;
|
|
|
|
/* Design & Abstände */
|
|
background: var(--password-bg);
|
|
border-top: 1px solid #e0e0e0;
|
|
padding: 8px 16px;
|
|
|
|
/* Text-Ausrichtung */
|
|
text-align: left;
|
|
font-family: monospace; /* Monospace sieht für Versionen oft "technischer" aus */
|
|
font-size: 12px;
|
|
color: var(--text-color);
|
|
|
|
/* Sicherstellen, dass nichts drüber liegt */
|
|
z-index: 9999;
|
|
|
|
/* Padding in die Breite einrechnen */
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#password {
|
|
font-family: 'Courier New', Courier, monospace;
|
|
font-size: 1.2rem;
|
|
letter-spacing: 1px;
|
|
margin: 1rem auto;
|
|
padding: 0.8rem;
|
|
background: var(--password-bg);
|
|
border-radius: 4px;
|
|
border: 1px solid var(--border-color);
|
|
width: 90%;
|
|
word-break: break-all;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.buttons {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.copy-button {
|
|
background: var(--copy-button-bg);
|
|
color: white;
|
|
border: none;
|
|
padding: 0.6rem 1.2rem;
|
|
font-size: 1rem;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.copy-button:hover {
|
|
background: var(--copy-button-hover);
|
|
}
|
|
|
|
.renew-button {
|
|
background: var(--button-bg);
|
|
color: white;
|
|
border: none;
|
|
padding: 0.6rem 1.2rem;
|
|
font-size: 1rem;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.renew-button:hover {
|
|
background: var(--button-hover);
|
|
}
|
|
|
|
.code-link {
|
|
position: absolute;
|
|
top: 1rem;
|
|
left: 1rem;
|
|
font-size: 1.2rem;
|
|
color: var(--text-color);
|
|
opacity: 0.7;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.code-link:hover {
|
|
opacity: 1;
|
|
}
|
|
.help-link {
|
|
position: absolute;
|
|
top: 1rem;
|
|
right: 1rem;
|
|
font-size: 1.2rem;
|
|
color: var(--text-color);
|
|
opacity: 0.7;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.help-link:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
#toast {
|
|
visibility: hidden;
|
|
min-width: 150px;
|
|
background-color: var(--copy-button-bg);
|
|
color: white;
|
|
text-align: center;
|
|
border-radius: 4px;
|
|
padding: 0.5rem;
|
|
position: fixed;
|
|
top: 20px;
|
|
right: 20px;
|
|
z-index: 1;
|
|
font-size: 0.9rem;
|
|
box-shadow: 0 2px 10px var(--shadow-color);
|
|
}
|
|
|
|
#theme-toggle {
|
|
position: absolute;
|
|
top: 1rem;
|
|
left: 1rem;
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-color);
|
|
font-size: 1.2rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
pre {
|
|
font-family: 'Courier New', Courier, monospace;
|
|
background: var(--password-bg);
|
|
padding: 0.8rem;
|
|
border-radius: 4px;
|
|
color: var(--text-color);
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
a {
|
|
color: var(--button-bg);
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|