1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-10-16 05:37:28 +00:00

Make input[type="url"] behave as an input field

Fixes #72.
This commit is contained in:
Steffo 2024-03-30 18:57:50 +01:00
parent 32c6a7a564
commit 92a3d6b2f8
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0
2 changed files with 7 additions and 1 deletions

View file

@ -1515,6 +1515,12 @@ Contents
<input type="tel" placeholder="Telephone">
</label>
</p>
<p>
<label>
Website
<input type="url" placeholder="htcpcp://kitchen.localdomain/brew">
</label>
</p>
<p>
<label>
Birthday

View file

@ -96,7 +96,7 @@
@modifier-magenta: ~":where(.magenta)";
@input: ~":where(input, textarea, select, button)";
@input-field: ~':where(input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="datetime-local"], input[type="date"], input[type="time"])';
@input-field: ~':where(input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="datetime-local"], input[type="date"], input[type="time"], input[type="url"])';
@input-area: ~":where(textarea)";
@input-select: ~":where(select:not([multiple]))";
@input-multiselect: ~":where(select[multiple])";