Files
firealerts/templates/assets/css/account.css
Nathan Woodburn 402e321396
All checks were successful
Build Docker / BuildImage (push) Successful in 1m50s
feat: Update styling and home page
2025-07-28 11:36:51 +10:00

277 lines
4.8 KiB
CSS

.account-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 0;
border-bottom: 1px solid rgba(255,255,255,0.1);
margin-bottom: 40px;
}
.account-header .logo a {
color: white;
text-decoration: none;
font-size: 2rem;
font-weight: bold;
text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.user-info {
display: flex;
align-items: center;
gap: 20px;
}
.user {
color: white;
font-weight: 500;
opacity: 0.9;
}
.alerts-section, .add-alerts-section {
margin-bottom: 60px;
}
.alerts-section h2, .add-alerts-section h2 {
color: white;
font-size: 2.5rem;
margin-bottom: 20px;
text-align: center;
}
.section-description {
color: rgba(255,255,255,0.8);
text-align: center;
font-size: 1.1rem;
margin-bottom: 40px;
}
.notifications-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 20px;
margin-bottom: 40px;
}
.notification-card {
background: rgba(30, 30, 46, 0.9);
border: 1px solid rgba(255,255,255,0.1);
border-radius: 12px;
padding: 24px;
box-shadow: 0 4px 15px rgba(0,0,0,0.3);
transition: transform 0.3s ease;
}
.notification-card:hover {
transform: translateY(-2px);
background: rgba(40, 40, 56, 0.9);
}
.notification-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 1px solid rgba(255,255,255,0.1);
}
.notification-header h3 {
color: white;
margin: 0;
font-size: 1.3rem;
}
.notification-type {
background: #667eea;
color: white;
padding: 4px 12px;
border-radius: 20px;
font-size: 0.85rem;
font-weight: 500;
}
.notification-details {
margin-bottom: 20px;
}
.detail-item {
display: flex;
justify-content: space-between;
margin-bottom: 8px;
}
.detail-item .label {
color: #b0b0b0;
font-weight: 500;
}
.detail-item .value {
color: white;
font-weight: 600;
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 200px;
}
.notification-actions {
text-align: right;
}
.delete-button {
background: #ff6b6b !important;
color: white !important;
padding: 8px 16px !important;
font-size: 0.9rem !important;
}
.delete-button:hover {
background: #ff5252 !important;
}
.empty-state {
text-align: center;
background: rgba(255,255,255,0.1);
border-radius: 20px;
padding: 60px 40px;
backdrop-filter: blur(10px);
border: 1px solid rgba(255,255,255,0.2);
}
.empty-icon {
font-size: 4rem;
margin-bottom: 20px;
}
.empty-state h3 {
color: white;
font-size: 1.8rem;
margin-bottom: 15px;
}
.empty-state p {
color: rgba(255,255,255,0.8);
font-size: 1.1rem;
}
.notification-forms {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
gap: 30px;
}
.notification-form-card {
background: rgba(30, 30, 46, 0.9);
border: 1px solid rgba(255,255,255,0.1);
border-radius: 16px;
padding: 30px;
box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.form-header h3 {
color: white;
margin-bottom: 20px;
font-size: 1.4rem;
}
.notification-form {
display: flex;
flex-direction: column;
}
.form-grid {
display: grid;
gap: 20px;
margin-bottom: 25px;
}
.form-group {
display: flex;
flex-direction: column;
}
.form-group label {
color: #e0e0e0;
font-weight: 600;
margin-bottom: 8px;
font-size: 0.95rem;
}
.form-group input {
padding: 12px 16px;
border: 2px solid rgba(255,255,255,0.2);
border-radius: 8px;
font-size: 1rem;
transition: border-color 0.3s ease;
background: rgba(45, 45, 65, 0.8);
color: white;
}
.form-group input:focus {
outline: none;
border-color: #667eea;
background: rgba(55, 55, 75, 0.9);
}
.form-group input::placeholder {
color: #888;
}
.form-note {
color: #b0b0b0;
font-size: 0.85rem;
margin-top: 5px;
line-height: 1.4;
}
.form-actions {
display: flex;
gap: 15px;
align-items: center;
flex-wrap: wrap;
}
.form-actions .button {
flex: 1;
min-width: 180px;
text-align: center;
padding: 12px 20px;
font-size: 1rem;
}
@media (max-width: 768px) {
.account-header {
flex-direction: column;
gap: 20px;
text-align: center;
}
.notifications-grid {
grid-template-columns: 1fr;
}
.notification-forms {
grid-template-columns: 1fr;
}
.form-actions {
flex-direction: column;
}
.form-actions .button {
width: 100%;
min-width: auto;
}
.alerts-section h2, .add-alerts-section h2 {
font-size: 2rem;
}
}
@media (max-width: 480px) {
.notification-form-card {
padding: 20px;
}
}