Skripsi/static/style.css

150 lines
2.4 KiB
CSS

body {
background-color: #f8f9fa;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
min-height: 100vh;
padding: 20px 0;
display: flex;
flex-direction: column;
}
.logo {
max-width: 200px;
height: auto;
margin-bottom: 1rem;
}
.card {
border: none;
border-radius: 15px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.card-header {
border-radius: 15px 15px 0 0 !important;
background: linear-gradient(45deg, #2196F3, #1976D2) !important;
padding: 1.5rem;
}
.card-body {
padding: 2rem;
}
.form-control {
border-radius: 10px;
border: 1px solid #dee2e6;
padding: 12px;
font-size: 16px;
transition: all 0.3s ease;
}
.form-control:focus {
box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
border-color: #2196F3;
}
.btn-primary {
background: linear-gradient(45deg, #2196F3, #1976D2);
border: none;
padding: 12px 35px;
border-radius: 25px;
font-weight: 600;
transition: all 0.3s ease;
font-size: 1.1rem;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}
.progress {
height: 25px;
border-radius: 12px;
margin-bottom: 15px;
background-color: #e9ecef;
overflow: hidden;
}
.progress-bar {
border-radius: 12px;
transition: width 0.6s ease;
}
.progress-group {
margin-bottom: 1.5rem;
}
.progress-group label {
font-weight: 600;
color: #495057;
margin-bottom: 0.5rem;
}
.alert {
border-radius: 10px;
border: none;
padding: 1.25rem;
}
.alert-heading {
font-weight: 600;
margin-bottom: 0.5rem;
}
#sentiment {
font-size: 1.2em;
font-weight: 700;
}
/* Footer styles */
.footer {
margin-top: auto;
padding: 20px 0;
background: linear-gradient(45deg, #2196F3, #1976D2);
color: white;
}
.footer-text {
margin: 0;
font-size: 1.1rem;
font-weight: 500;
}
/* Animation for the result section */
#result {
animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Responsive adjustments */
@media (max-width: 768px) {
.container {
padding: 10px;
}
.card-body {
padding: 1.5rem;
}
.btn-primary {
width: 100%;
}
.logo {
max-width: 150px;
}
.footer-text {
font-size: 1rem;
}
}