solutions/frontend/style.css

182 lines
4.1 KiB
CSS
Executable File

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;
}
}
input[type="file"] {
margin: 10px 0;
padding: 10px;
color: #ffffff;
background-color: #221;
border: 2px solid #ff00ff; /* Neon-like border */
border-radius: 5px;
outline: none;
text-align: center;
cursor: pointer;
transition: background-color 0.3s, transform 0.3s;
}
input[type="file"]::file-selector-button {
background-color: #ff00ff; /* Neon button color */
color: #000;
border: none;
padding: 10px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
input[type="file"]::file-selector-button:hover {
background-color: #ff00aa; /* Hover effect */
}
input[type="file"]:hover {
background-color: #332244; /* Hover effect on the input field */
transform: scale(1.05); /* Slight zoom effect on hover */
}
.nav-buttons {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
.nav-button {
padding: 10px 20px;
margin: 0 10px;
background-color: #221;
color: #ffffff;
text-decoration: none;
border: 2px solid #ff00ff; /* Neon-like border */
border-radius: 5px;
transition: background-color 0.3s, transform 0.3s;
cursor: pointer;
}
.nav-button:hover {
background-color: #332244; /* Hover effect */
transform: scale(1.1); /* Slight zoom effect on hover */
}
.nav-button.active {
background-color: #ff00ff; /* Active button color */
}