149 lines
2.3 KiB
CSS
149 lines
2.3 KiB
CSS
.notifications-container {
|
|
padding: 20px;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: rgba(10, 15, 24, 0.6);
|
|
}
|
|
|
|
.notifications-header {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.notifications-header h2 {
|
|
font-family: "Orbitron", sans-serif;
|
|
color: #fff;
|
|
letter-spacing: 2px;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.notifications-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
overflow-y: auto;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
.no-notifications {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 15px;
|
|
padding: 100px 0;
|
|
color: #4a5d75;
|
|
font-family: "Orbitron", sans-serif;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.no-notifications i {
|
|
font-size: 2rem;
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.notify-card {
|
|
display: flex;
|
|
align-items: center;
|
|
background: rgba(26, 38, 56, 0.5);
|
|
border-left: 3px solid #00d4ff;
|
|
padding: 15px;
|
|
gap: 15px;
|
|
backdrop-filter: blur(5px);
|
|
border-radius: 0 4px 4px 0;
|
|
animation: notify-slide-in 0.3s ease-out;
|
|
}
|
|
|
|
.notify-card.friend_request {
|
|
border-left-color: #00ff88;
|
|
}
|
|
.notify-card.crafting {
|
|
border-left-color: #ffd700;
|
|
}
|
|
.notify-card.system {
|
|
border-left-color: #ff3e3e;
|
|
}
|
|
|
|
.notify-icon {
|
|
width: 35px;
|
|
height: 35px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border-radius: 50%;
|
|
color: #fff;
|
|
}
|
|
|
|
.notify-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.notify-title-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.notify-content h4 {
|
|
margin: 0;
|
|
font-family: "Orbitron", sans-serif;
|
|
font-size: 12px;
|
|
color: #fff;
|
|
}
|
|
|
|
.notify-time {
|
|
font-size: 10px;
|
|
color: #4a5d75;
|
|
}
|
|
|
|
.notify-content p {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
color: #a0aec0;
|
|
}
|
|
|
|
.notify-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.action-btn {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: #fff;
|
|
padding: 6px 12px;
|
|
cursor: pointer;
|
|
font-family: "Orbitron", sans-serif;
|
|
font-size: 10px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.action-btn.accept {
|
|
background: #00ff88;
|
|
color: #000;
|
|
border: none;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.action-btn.dismiss {
|
|
width: 28px;
|
|
padding: 6px 0;
|
|
}
|
|
|
|
.action-btn:hover {
|
|
filter: brightness(1.2);
|
|
}
|
|
|
|
@keyframes notify-slide-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(30px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|