added password to upload form

This commit is contained in:
Danny Coates 2018-10-29 19:06:15 -07:00
parent 0e5202c470
commit 12e6eb1666
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
7 changed files with 153 additions and 17 deletions

View file

@ -67,6 +67,63 @@ progress::-webkit-progress-value {
box-shadow: 0 0 5rem 5rem white;
}
.checkbox {
@apply leading-normal;
@apply select-none;
}
.checkbox > input[type='checkbox'] {
@apply absolute;
@apply opacity-0;
}
.checkbox > label {
@apply cursor-pointer;
}
.checkbox > label::before {
@apply bg-blue-lightest;
@apply border;
@apply rounded-sm;
content: '';
height: 1.5rem;
width: 1.5rem;
margin-right: 0.5rem;
float: left;
}
.checkbox > label:hover::before {
@apply border-blue;
}
.checkbox > input:focus + label::before {
@apply border-blue;
}
.checkbox > input:checked + label::before {
background-image: url('../assets/lock.svg');
background-position: center;
background-size: 1.25rem;
background-repeat: no-repeat;
}
.checkbox > input:disabled + label {
cursor: auto;
}
.checkbox > input:disabled + label::before {
background-image: url('../assets/lock.svg');
background-position: center;
background-size: 1.25rem;
background-repeat: no-repeat;
cursor: auto;
}
#password-msg::after {
content: '\200b';
}
@screen md {
.main {
@apply flex-1;