simple navbar action
This commit is contained in:
@@ -330,3 +330,35 @@ html.theme-dark body {
|
||||
opacity: 1;
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
.nav-action {
|
||||
font: inherit;
|
||||
color: var(--td-brand-color);
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
|
||||
&.nav-action-icon {
|
||||
color: var(--td-text-color-primary, #333);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
&.danger {
|
||||
color: var(--td-error-color);
|
||||
}
|
||||
|
||||
&.nav-action-prominent {
|
||||
color: var(--td-brand-color, #0052d9);
|
||||
padding: .25rem .5rem;
|
||||
font-size: .95rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
color: var(--td-text-color-disabled);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user