179 lines
2.9 KiB
SCSS
179 lines
2.9 KiB
SCSS
:host {
|
|
display: block;
|
|
}
|
|
|
|
.notificacoes-page {
|
|
width: 100%;
|
|
}
|
|
|
|
.wrap {
|
|
padding: 24px 0 32px;
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
padding: 0 16px;
|
|
}
|
|
|
|
.page-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 20px;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
|
|
h2 {
|
|
font-size: 24px;
|
|
font-weight: 800;
|
|
margin: 0 0 4px;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
color: rgba(17, 18, 20, 0.6);
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
|
|
.filters {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.filter-btn {
|
|
border: 1px solid rgba(0,0,0,0.08);
|
|
background: #fff;
|
|
padding: 8px 14px;
|
|
border-radius: 999px;
|
|
font-weight: 700;
|
|
font-size: 12px;
|
|
color: rgba(17, 18, 20, 0.7);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
|
|
&.active {
|
|
border-color: rgba(3, 15, 170, 0.4);
|
|
background: rgba(3, 15, 170, 0.08);
|
|
color: #030faa;
|
|
}
|
|
|
|
&.warning.active {
|
|
border-color: rgba(227, 61, 207, 0.45);
|
|
background: rgba(227, 61, 207, 0.12);
|
|
color: #8b2a7d;
|
|
}
|
|
|
|
&.danger.active {
|
|
border-color: rgba(239, 68, 68, 0.45);
|
|
background: rgba(239, 68, 68, 0.12);
|
|
color: #b91c1c;
|
|
}
|
|
|
|
&.neutral.active {
|
|
border-color: rgba(15, 23, 42, 0.35);
|
|
background: rgba(15, 23, 42, 0.08);
|
|
color: #0f172a;
|
|
}
|
|
}
|
|
|
|
.state {
|
|
padding: 12px 14px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.7);
|
|
border: 1px solid rgba(0,0,0,0.08);
|
|
font-weight: 700;
|
|
color: rgba(17, 18, 20, 0.6);
|
|
}
|
|
|
|
.state.warn {
|
|
color: #b45309;
|
|
}
|
|
|
|
.notifications-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.notification-card {
|
|
background: #fff;
|
|
border-radius: 16px;
|
|
border: 1px solid rgba(0,0,0,0.08);
|
|
padding: 16px;
|
|
box-shadow: 0 18px 36px rgba(0,0,0,0.08);
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
|
|
&:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 22px 44px rgba(0,0,0,0.12);
|
|
}
|
|
|
|
.card-info {
|
|
margin-top: 12px;
|
|
display: grid;
|
|
gap: 6px;
|
|
font-size: 13px;
|
|
color: rgba(17, 18, 20, 0.72);
|
|
|
|
strong {
|
|
color: rgba(17, 18, 20, 0.92);
|
|
}
|
|
}
|
|
}
|
|
|
|
.card-title {
|
|
margin-top: 10px;
|
|
font-weight: 800;
|
|
color: rgba(17, 18, 20, 0.92);
|
|
}
|
|
|
|
.card-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 4px 10px;
|
|
border-radius: 999px;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
background: rgba(3, 15, 170, 0.12);
|
|
color: #1f2937;
|
|
}
|
|
|
|
.tag.warn {
|
|
background: rgba(227, 61, 207, 0.16);
|
|
color: #8b2a7d;
|
|
}
|
|
|
|
.tag.danger {
|
|
background: rgba(239, 68, 68, 0.16);
|
|
color: #b91c1c;
|
|
}
|
|
|
|
.line-number {
|
|
font-size: 12px;
|
|
color: rgba(17, 18, 20, 0.55);
|
|
font-weight: 700;
|
|
}
|
|
|
|
|
|
.mark-read {
|
|
margin-top: 12px;
|
|
padding: 8px 12px;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(0,0,0,0.08);
|
|
background: #fff;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
}
|