Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions bolt.css
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,15 @@ input[type="color"] {
border-radius: 3px;
}

input[type="file"]::file-selector-button {
color: var(--text);
background-color: var(--background-main);
padding: 6px 15px 6px 15px;
border: 1px solid transparent;
border-radius: var(--border-radius);
margin-right: 0.5rem;;
}

textarea {
font-family: inherit;
font-size: 1em;
Expand Down
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,10 @@ <h3 class="demo-header">form</h3>
<label for="date"> Date </label>
<input type="date" id="date" name="date" value="2006-01-02" />
</div>
<div class="form-example">
<label for="file"> Attachment </label>
<input type="file" id="file" name="file"/>
</div>
<div class="form-example">
<label for="surprise">
<input type="checkbox" id="surprise" name="surprise" value="" />
Expand Down