mirror of
https://github.com/opelly27/WinStudentGoalTracker.git
synced 2026-05-20 02:57:36 +00:00
78 lines
1.3 KiB
SCSS
78 lines
1.3 KiB
SCSS
:host {
|
|
display: block;
|
|
width: 450px;
|
|
}
|
|
|
|
.card {
|
|
background: #fff;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
|
|
padding: 1.25rem 1.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.625rem;
|
|
cursor: pointer;
|
|
|
|
min-width: 0;
|
|
}
|
|
|
|
.card-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
margin: 0 -1.5rem -1rem;
|
|
padding: 0.5rem 1.5rem 0.5rem;
|
|
border-top: 1px solid #eee;
|
|
}
|
|
|
|
.footer-link {
|
|
font-size: 0.875rem;
|
|
color: #4f46e5;
|
|
cursor: pointer;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.footer-link:hover {
|
|
color: #4338ca;
|
|
}
|
|
|
|
.card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.category-badge {
|
|
padding: 0.2rem 0.6rem;
|
|
background: #eef2ff;
|
|
color: #4f46e5;
|
|
border-radius: 999px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.event-count {
|
|
font-size: 0.8125rem;
|
|
color: #888;
|
|
}
|
|
|
|
.title {
|
|
margin: 0;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: #111;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.description {
|
|
margin: 0;
|
|
font-size: 0.875rem;
|
|
color: #555;
|
|
line-height: 1.5;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
} |