mirror of
https://github.com/JoshiCodes/knock.git
synced 2026-12-04 15:29:40 +01:00
Move to GitHub: CI, release workflow and script; cursor and hover states
- ci.yml checks frontend types and build, core tests and that app and CLI compile on every push and pull request - release.yml publishes a GitHub release with notes and checksums for tags; scripts/release.sh bumps the version everywhere, tags and pushes - The Gitea workflow is gone; PKGBUILDs download from GitHub - Every clickable element shows the pointer and has a hover state; disabled controls show not-allowed - Dev-only fake backend (open the dev server with ?mock) for design work - README: docs link, install per platform, development, releasing
This commit is contained in:
+36
-2
@@ -141,8 +141,42 @@
|
||||
font-family: var(--ck-font-mono);
|
||||
font-weight: 500;
|
||||
}
|
||||
button {
|
||||
cursor: default;
|
||||
/* Everything clickable shows the hand; disabled controls say so. */
|
||||
button,
|
||||
a[href],
|
||||
select,
|
||||
summary,
|
||||
[role='button'],
|
||||
[role='tab'],
|
||||
[role='treeitem'],
|
||||
[role='radio'],
|
||||
[role='switch'],
|
||||
[role='menuitem'],
|
||||
[role='option'],
|
||||
input[type='checkbox'],
|
||||
input[type='radio'],
|
||||
label:has(> input[type='checkbox']),
|
||||
label:has(> input[type='radio']) {
|
||||
cursor: pointer;
|
||||
}
|
||||
button:disabled,
|
||||
select:disabled,
|
||||
input:disabled,
|
||||
[aria-disabled='true'] {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
input:not([type='checkbox']):not([type='radio']),
|
||||
textarea {
|
||||
cursor: text;
|
||||
}
|
||||
button,
|
||||
[role='tab'],
|
||||
[role='treeitem'] {
|
||||
transition:
|
||||
background-color 90ms ease,
|
||||
color 90ms ease,
|
||||
border-color 90ms ease,
|
||||
opacity 90ms ease;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user