Rename disinclude to exclude and style as soft badge
This commit is contained in:
parent
d0fd394fbd
commit
573a249580
3 changed files with 39 additions and 17 deletions
|
|
@ -571,6 +571,8 @@ code {
|
|||
|
||||
.card-badges {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
|
|
@ -623,20 +625,40 @@ code {
|
|||
border: 1px solid #cbd5e1;
|
||||
}
|
||||
|
||||
.btn-exclude,
|
||||
.btn-disinclude {
|
||||
background: transparent;
|
||||
border: 1px solid #cbd5e1;
|
||||
color: var(--text-muted);
|
||||
font-size: 0.7rem;
|
||||
font-family: inherit;
|
||||
font-size: 0.725rem;
|
||||
font-weight: 600;
|
||||
line-height: inherit;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 1px 6px;
|
||||
border-radius: 4px;
|
||||
background: #f1f5f9;
|
||||
color: #64748b;
|
||||
border: 1px solid #e2e8f0;
|
||||
cursor: pointer;
|
||||
transition: all 0.15s ease;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.btn-exclude:hover,
|
||||
.btn-disinclude:hover {
|
||||
background: #f1f5f9;
|
||||
color: var(--text-main);
|
||||
border-color: #94a3b8;
|
||||
background: #e2e8f0;
|
||||
color: #334155;
|
||||
border-color: #cbd5e1;
|
||||
}
|
||||
|
||||
.btn-exclude:active,
|
||||
.btn-disinclude:active {
|
||||
background: #cbd5e1;
|
||||
}
|
||||
|
||||
.btn-exclude:focus-visible,
|
||||
.btn-disinclude:focus-visible {
|
||||
outline: 2px solid var(--primary);
|
||||
outline-offset: 1px;
|
||||
}
|
||||
|
||||
.assignment-card.is-excluded {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue