diff options
| author | Fuwn <[email protected]> | 2024-01-04 23:54:07 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-04 23:55:12 -0800 |
| commit | 13735f9cf2a6e490128ca49c2fb6343074d26256 (patch) | |
| tree | 8551c2ee8a574d3db43cd687c17de255e8f8c809 /src/app.css | |
| parent | refactor(badges): move ui to card (diff) | |
| download | due.moe-13735f9cf2a6e490128ca49c2fb6343074d26256.tar.xz due.moe-13735f9cf2a6e490128ca49c2fb6343074d26256.zip | |
feat(badges): disable download if too many
Diffstat (limited to 'src/app.css')
| -rw-r--r-- | src/app.css | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/app.css b/src/app.css index d6e507e5..4ee2049d 100644 --- a/src/app.css +++ b/src/app.css @@ -110,6 +110,25 @@ button:active { transform: scale(0.975); } +input:disabled, +select:disabled, +button:disabled { + cursor: not-allowed; + opacity: 0.5; +} + +input:disabled:hover, +select:disabled:hover, +button:disabled:hover { + background-color: var(--base0C); +} + +input:disabled:active, +select:disabled:active, +button:disabled:active { + transform: scale(1); +} + .small-button { transform: scale(0.875); } |