generated from nhcarrigan/template
style: give resource toggle the standard interactive button treatment
This commit is contained in:
@@ -123,20 +123,21 @@ body::before {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.resource-toggle {
|
.resource-toggle {
|
||||||
background: none;
|
background: rgba(255, 255, 255, 0.06);
|
||||||
border: none;
|
border: 1px solid rgba(147, 51, 234, 0.4);
|
||||||
border-radius: 0.4rem;
|
border-radius: 0.5rem;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
padding: 0.2rem 0.4rem;
|
padding: 0.3rem 0.6rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
transition: background 0.15s;
|
transition: background 0.2s, border-color 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.resource-toggle:hover {
|
.resource-toggle:hover {
|
||||||
background: rgba(255, 255, 255, 0.07);
|
background: rgba(147, 51, 234, 0.2);
|
||||||
|
border-color: var(--colour-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.resource-alert-dot {
|
.resource-alert-dot {
|
||||||
|
|||||||
Reference in New Issue
Block a user