Skip to content

Commit

Permalink
fix styles of input button
Browse files Browse the repository at this point in the history
  • Loading branch information
blackforestboi committed Jun 24, 2020
1 parent d5240e5 commit 6a0ea2a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions folder-select.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,20 @@ p {
height: 30px;
}

#folder-select {
width: 120px;
height: 30px;
color: white;
font-size: 15px;
cursor: pointer;
border: 2px solid #173766;
background-color: #173766;
border-radius: 5px;
}

.folder-select-bg {
width: 120px;
padding: 5px 10px;
height: 30px;
color: white;
font-size: 15px;
Expand Down
4 changes: 2 additions & 2 deletions folder-select.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<div class="pickFolder">
<div class="info">Pick a folder for your local backups.</div>
<div class="select-container">
<input type="file" id="folderSelect" nwdirectory directory />
<button class="folder-select-bg">Select Folder</button>
<input type="file" id="folderSelect" nwdirectory directory>
<label for="folderSelect" class="folder-select-bg">Select Folder</label>
</div>
<div class="pathBox">
<p class="info" id="pathPara"></p>
Expand Down

0 comments on commit 6a0ea2a

Please sign in to comment.