blob: 3f32b2b350d118e91a307a6f80fb9358f112dfb5 [file] [log] [blame]
Dixsie Wolmersbb45d022019-08-27 11:22:00 -05001/**
2 * Used for file upload "choose file" button
3 * Markup (example for certificate upload)
4 <label>
5 <input
6 id="upload_{{cert.Description + cert.Id}}"
7 type="file"
8 file="cert.file"
9 class="input-file" />
10 <span class="btn btn-secondary">Choose file</span>
11 </label>
12*/
13
14.input-file {
15 width: 0.1px;
16 height: 0.1px;
17 opacity: 0;
18 overflow: hidden;
19 position: absolute;
20 z-index: -1;
21}
22
23.input-file:focus + span {
24 outline: 0.2rem solid $box-shadow-color;
25}