- Add session-aware login, logout and protected navigation. - Send cookie credentials for API and run-event requests with localized UI stories.
58 lines
1.1 KiB
CSS
58 lines
1.1 KiB
CSS
.root {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-2);
|
|
min-width: 0;
|
|
}
|
|
|
|
.button {
|
|
min-height: 44px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--space-2);
|
|
padding: var(--space-2) var(--space-3);
|
|
color: var(--color-text);
|
|
background: transparent;
|
|
border: var(--border-width) solid var(--color-border);
|
|
border-radius: var(--radius-md);
|
|
font: inherit;
|
|
font-size: var(--font-size-xs);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.button:hover:not(:disabled) {
|
|
background: var(--color-secondary);
|
|
}
|
|
|
|
.button:focus-visible,
|
|
.failure button:focus-visible {
|
|
outline: 2px solid var(--color-primary-text);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.button:disabled {
|
|
opacity: 0.55;
|
|
cursor: wait;
|
|
}
|
|
|
|
.failure {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
padding: var(--space-2);
|
|
color: var(--color-error-fg);
|
|
background: var(--color-error-bg);
|
|
border-radius: var(--radius-sm);
|
|
font-size: var(--font-size-xs);
|
|
}
|
|
|
|
.failure button {
|
|
min-height: 32px;
|
|
color: inherit;
|
|
background: transparent;
|
|
border: var(--border-width) solid currentColor;
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
}
|