- reopen the run events stream with backoff when the browser closes it for good (Firefox drops quiet connections after a network change) - enable notifications when the permission is granted outside the bell, unless turned off explicitly - follow permission changes made in the browser's site settings - highlight the bell while notifications are on
49 lines
1.0 KiB
CSS
49 lines
1.0 KiB
CSS
.btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
height: 28px;
|
|
padding: 0;
|
|
background: none;
|
|
border: var(--border-width) solid var(--color-border);
|
|
border-radius: var(--radius-md);
|
|
color: var(--color-text-muted);
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
transition: background var(--transition), color var(--transition), border-color var(--transition);
|
|
}
|
|
|
|
.btn:hover {
|
|
background: var(--color-bg-subtle);
|
|
color: var(--color-text);
|
|
border-color: var(--color-text-muted);
|
|
}
|
|
|
|
.btn:active {
|
|
background: var(--color-secondary);
|
|
color: var(--color-secondary-fg);
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.btn:disabled:hover {
|
|
background: none;
|
|
color: var(--color-text-muted);
|
|
border-color: var(--color-border);
|
|
}
|
|
|
|
.btn[aria-pressed='true'] {
|
|
background: var(--color-primary);
|
|
border-color: var(--color-primary);
|
|
color: var(--color-primary-fg);
|
|
}
|
|
|
|
.btn[aria-pressed='true']:hover {
|
|
background: var(--color-primary-hover);
|
|
border-color: var(--color-primary-hover);
|
|
}
|