diff options
author | bptato <nincsnevem662@gmail.com> | 2023-12-11 10:45:41 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-12-11 10:45:41 +0100 |
commit | d2451e51ede8a733c22fbe0b285ccb341e272b16 (patch) | |
tree | 1b118439904ec2591655968a7ce4912e3bea6ffb /res | |
parent | 6b9db7e8d77c3ce68558f45f9162121a13a96a2b (diff) | |
download | chawan-d2451e51ede8a733c22fbe0b285ccb341e272b16.tar.gz |
css: add case-insensitive matching
Also case-sensitive, but for now that is the same as normal matching...
Diffstat (limited to 'res')
-rw-r--r-- | res/ua.css | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/res/ua.css b/res/ua.css index 207968b6..71b3273b 100644 --- a/res/ua.css +++ b/res/ua.css @@ -113,7 +113,7 @@ input { color: red; } -input[type="hidden"] { +input[type="hidden" i] { display: none; } @@ -129,28 +129,28 @@ input::after { color: initial; } -input[type="radio"]::before { +input[type="radio" i]::before { content: '('; text-decoration: none; color: initial; } -input[type="radio"]::after { +input[type="radio" i]::after { content: ')'; text-decoration: none; color: initial; } -input:is([type="text"], [type="password"], [type="search"], [type="file"], - [type="url"], [type="email"], [type="tel"]) { +input:is([type="text" i], [type="password" i], [type="search" i], [type="file" i], + [type="url" i], [type="email" i], [type="tel" i]) { text-decoration: underline; } -input:is([type="submit"], [type="button"], [type="reset"])::before { +input:is([type="submit" i], [type="button" i], [type="reset" i])::before { color: red; } -input:is([type="submit"], [type="button"], [type="reset"])::after { +input:is([type="submit" i], [type="button" i], [type="reset" i])::after { color: red; } |