solutions/frontend/style.css

121 lines
2.8 KiB
CSS
Raw Normal View History

2023-12-05 01:31:41 +00:00
body {
background: url('img/bg.png') no-repeat center center fixed;
background-size: cover;
font-family: 'Courier New', Courier, monospace;
color: #ffffff; /* Adjusted for better visibility against the new background */
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
overflow: hidden;
position: relative;
}
.container {
text-align: center;
padding: 20px;
border: 1px solid #ffffff; /* Adjusted color for visibility */
border-radius: 10px;
background: rgba(0, 0, 0, 0.8); /* Slightly transparent for background visibility */
z-index: 2;
position: relative;
}
input[type="text"] {
margin: 10px 0;
padding: 10px;
border: 1px solid #ffffff; /* Adjusted for visibility */
border-radius: 5px;
background-color: #000000; /* Darker background for better contrast */
color: #ffffff;
}
button {
cursor: pointer;
padding: 10px 20px;
background-color: #ff00ff; /* Neon-like color for synthwave style */
color: #ffffff;
border: none;
border-radius: 5px;
font-size: 1em;
transition: background-color 0.3s;
}
button:hover {
background-color: #ff00aa; /* Slightly different color for hover effect */
}
h2 {
color: #ffffff;
text-shadow: 0 0 10px #ff00ff; /* Neon-like glow effect */
}
.loading-indicator {
display: none;
border: 5px solid #f3f3f3; /* Light grey */
border-top: 5px solid #ff00ff; /* Synthwave style color */
border-radius: 50%;
width: 50px;
height: 50px;
animation: spin 1s linear infinite;
margin: 20px auto;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.indicator {
display: none;
font-size: 4em; /* Increased size */
line-height: 100px; /* Same as height for vertical centering */
width: 100px;
height: 100px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
margin: auto;
}
.success-indicator {
color: #00ff00; /* Green for success */
border: 2px solid #00ff00; /* Green circle */
animation: drawCheck 2s ease-in-out forwards; /* Animation for drawing */
}
.failure-indicator {
color: #ff0000; /* Red for failure */
border: 2px solid #ff0000; /* Red circle */
animation: fadeInOut 2s ease-in-out;
}
@keyframes fadeInOut {
0%, 100% { opacity: 0; }
50% { opacity: 1; }
}
@keyframes drawCheck {
0% {
width: 0;
height: 0;
border-radius: 0;
opacity: 0;
}
50% {
width: 100px;
height: 100px;
border-radius: 50%;
opacity: 1;
}
100% {
width: 100px;
height: 100px;
border-radius: 50%;
opacity: 1;
}
}