1
0
mirror of https://github.com/kognise/water.css.git synced 2025-08-12 08:04:13 +02:00

Add fieldset example. Move some existing fields into the fieldset.

This commit is contained in:
Lee Garkusha
2019-10-01 21:48:35 -04:00
parent 1b4fdf7253
commit 40f0829b97
26 changed files with 115 additions and 30 deletions

View File

@@ -363,6 +363,16 @@ textarea:disabled {
color: #a9a9a9;
}
fieldset {
border: 1px #0096bfab solid;
border-radius: 6px;
}
legend {
font-size: 0.9em;
font-weight: 600;
}
input[type='range'] {
margin: 10px 0;
padding: 10px 0;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

10
dist/dark.css vendored
View File

@@ -324,6 +324,16 @@ textarea:disabled {
color: var(--form-placeholder);
}
fieldset {
border: 1px var(--focus) solid;
border-radius: 6px;
}
legend {
font-size: 0.9em;
font-weight: 600;
}
input[type='range'] {
margin: 10px 0;
padding: 10px 0;

2
dist/dark.css.map vendored

File diff suppressed because one or more lines are too long

2
dist/dark.min.css vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -289,6 +289,16 @@ textarea:disabled {
color: var(--form-placeholder);
}
fieldset {
border: 1px var(--focus) solid;
border-radius: 6px;
}
legend {
font-size: 0.9em;
font-weight: 600;
}
input[type='range'] {
margin: 10px 0;
padding: 10px 0;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -363,6 +363,16 @@ textarea:disabled {
color: #949494;
}
fieldset {
border: 1px #0096bfab solid;
border-radius: 6px;
}
legend {
font-size: 0.9em;
font-weight: 600;
}
input[type='range'] {
margin: 10px 0;
padding: 10px 0;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

10
dist/light.css vendored
View File

@@ -324,6 +324,16 @@ textarea:disabled {
color: var(--form-placeholder);
}
fieldset {
border: 1px var(--focus) solid;
border-radius: 6px;
}
legend {
font-size: 0.9em;
font-weight: 600;
}
input[type='range'] {
margin: 10px 0;
padding: 10px 0;

2
dist/light.css.map vendored

File diff suppressed because one or more lines are too long

2
dist/light.min.css vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -289,6 +289,16 @@ textarea:disabled {
color: var(--form-placeholder);
}
fieldset {
border: 1px var(--focus) solid;
border-radius: 6px;
}
legend {
font-size: 0.9em;
font-weight: 600;
}
input[type='range'] {
margin: 10px 0;
padding: 10px 0;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -100,6 +100,10 @@
<h3>Form elements</h3>
<form>
<fieldset>
<legend>Fieldset</legend>
<label for='email'>Email</label>
<input
type='email'
@@ -108,6 +112,22 @@
placeholder='john.doe@gmail.com'
/>
<label for='password'>Password</label>
<input
type='password'
name='password'
id='password'
placeholder='password'
/>
<p>
<input type='checkbox' name='remember' id='remember' checked />
<label for='remember'>Remember me</label>
</p>
<input type='submit' />
</fieldset>
<label for='id'>User id (read only)</label>
<input readonly name='id' id='id' value='04D6H89Z' />
@@ -166,11 +186,6 @@
<label for='volume'>Volume</label>
<input type='range' id='start' name='volume' id='volume' min='0' max='11' />
</div>
<input type='checkbox' name='remember' id='remember' checked />
<label for='remember'>Remember me</label>
<input type='submit' />
</form>
<h3>Code</h3>

View File

@@ -135,3 +135,13 @@ textarea:disabled {
::placeholder {
color: var(--form-placeholder);
}
fieldset {
border: 1px var(--focus) solid;
border-radius: 6px;
}
legend {
font-size: 0.9em;
font-weight: 600;
}