Introduce a data-driven global settings modal opened from a gear button in the bottom-left of the dashboard, with a grouped left menu and a right content pane. Sections are placeholders for now. - Add a settings size (sm:max-w-6xl) to the modal host - Add app/config/settings.js describing the section groups - Add the global settings container, nav, nav item, and section components - Add the bottom-left settings button and wire it to the dashboard - Make nav items full-width blocks and give buttons the hand cursor app-wide - Cover the container and the button with integration tests
39 lines
1.2 KiB
CSS
39 lines
1.2 KiB
CSS
@import 'tailwindcss';
|
|
|
|
/* Browsers render <button> with the default arrow cursor. Interactive controls
|
|
should read as clickable, so restore the hand cursor app-wide. Explicit
|
|
`cursor-*` utilities (e.g. the native-select controls) still win by
|
|
specificity where a control intentionally opts out. */
|
|
button {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* @theme { */
|
|
/* --font-sans: Helvetica, "Liberation Sans", "Nimbus Sans", sans-serif; */
|
|
/* } */
|
|
|
|
/* Soft edge instead of a solid border: a light highlight along the top, a
|
|
shade along the bottom, and a hairline all around. Painted as an overlay so
|
|
it sits on top of full-bleed (maskable) icons, and semi-transparent so it
|
|
reads regardless of the icon's colors. The `icon-edge-no-highlight`
|
|
modifier drops the top highlight for icons where it reads as a stray gleam. */
|
|
.icon-edge {
|
|
position: relative;
|
|
}
|
|
|
|
.icon-edge::after {
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: inherit;
|
|
box-shadow:
|
|
inset 0 1px 0 var(--icon-edge-top, rgb(255 255 255 / 40%)),
|
|
inset 0 -1px 0 rgb(0 0 0 / 20%),
|
|
inset 0 0 0 1px rgb(255 255 255 / 10%);
|
|
content: '';
|
|
pointer-events: none;
|
|
}
|
|
|
|
.icon-edge-no-highlight::after {
|
|
--icon-edge-top: transparent;
|
|
}
|