Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4199 from uswds/jm-tile-add-bg
USWDS - Checkbox + Radio: create background color variable.
- Loading branch information
Showing
5 changed files
with
252 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<fieldset class="usa-fieldset"> | ||
<legend class="usa-legend">Select any historical figure</legend> | ||
<div class="usa-checkbox"> | ||
<input class="usa-checkbox__input usa-checkbox__input--tile" id="check-historical-truth-2" type="checkbox" name="historical-figures-2" value="sojourner-truth" checked> | ||
<label class="usa-checkbox__label" for="check-historical-truth-2">Sojourner Truth <span class="usa-checkbox__label-description">This is optional text that can be used to describe the label in more detail.</span></label> | ||
</div> | ||
<div class="usa-checkbox"> | ||
<input class="usa-checkbox__input usa-checkbox__input--tile" id="check-historical-douglass-2" type="checkbox" name="historical-figures-2" value="frederick-douglass"> | ||
<label class="usa-checkbox__label" for="check-historical-douglass-2">Frederick Douglass</label> | ||
</div> | ||
<div class="usa-checkbox"> | ||
<input class="usa-checkbox__input usa-checkbox__input--tile" id="check-historical-washington-2" type="checkbox" name="historical-figures-2" value="booker-t-washington"> | ||
<label class="usa-checkbox__label" for="check-historical-washington-2">Booker T. Washington</label> | ||
</div> | ||
<div class="usa-checkbox"> | ||
<input class="usa-checkbox__input usa-checkbox__input--tile" id="check-historical-carver-2" type="checkbox" name="historical-figures-2" value="george-washington-carver" disabled> | ||
<label class="usa-checkbox__label" for="check-historical-carver-2">George Washington Carver</label> | ||
</div> | ||
</fieldset> | ||
|
||
<div class="checkbox-tests margin-top-4"> | ||
<fieldset class="usa-fieldset"> | ||
<legend class="usa-legend">Select any historical figure</legend> | ||
<div class="usa-checkbox"> | ||
<input class="usa-checkbox__input usa-checkbox__input--tile" id="check-historical-truth-3" type="checkbox" name="historical-figures-3" value="sojourner-truth" checked> | ||
<label class="usa-checkbox__label" for="check-historical-truth-3">Sojourner Truth <span class="usa-checkbox__label-description">This is optional text that can be used to describe the label in more detail.</span></label> | ||
</div> | ||
<div class="usa-checkbox"> | ||
<input class="usa-checkbox__input usa-checkbox__input--tile" id="check-historical-douglass-3" type="checkbox" name="historical-figures-3" value="frederick-douglass"> | ||
<label class="usa-checkbox__label" for="check-historical-douglass-3">Frederick Douglass</label> | ||
</div> | ||
<div class="usa-checkbox"> | ||
<input class="usa-checkbox__input usa-checkbox__input--tile" id="check-historical-washington-3" type="checkbox" name="historical-figures-3" value="booker-t-washington"> | ||
<label class="usa-checkbox__label" for="check-historical-washington-3">Booker T. Washington</label> | ||
</div> | ||
<div class="usa-checkbox"> | ||
<input class="usa-checkbox__input usa-checkbox__input--tile" id="check-historical-carver-3" type="checkbox" name="historical-figures-3" value="george-washington-carver" disabled> | ||
<label class="usa-checkbox__label" for="check-historical-carver-3">George Washington Carver</label> | ||
</div> | ||
</fieldset> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
preview: "@uswds-form" | ||
preview: "@uswds-framed" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.