Password-Generator
unknown
css
2 years ago
3.7 kB
12
Indexable
body {
margin: 0px;
padding: 0px;
background-color: #16111A;
font-family: 'Roboto Mono', monospace;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
h1 {
color: #ffffff;
margin-top: 50px;
}
.container-password {
width: 350px;
height: 50px;
background-color: #2D2039;
display: flex;
justify-content: space-between;
align-items: center;
}
#generatedPassword {
color: #ffffff;
letter-spacing: 1px;
font-size: 16px;
font-weight: 400;
margin-left: 15px;
display: flex;
width: 80%;
justify-content: center;
}
#copy {
width: 8%;
margin-right: 15px;
}
.container-option {
width: 350px;
height: 400px;
background-color: #2D2039;
display: flex;
margin-top: 30px;
flex-direction: column;
}
.item-character {
width: 350px;
height: 50px;
display: flex;
justify-content: space-between;
flex-direction: row;
color:#ffffff;
align-items: center;
margin-top: 15px;
}
.charLength {
font-size: 12px;
letter-spacing: 1px;
font-weight: 400;
margin-left: 15px;
}
#lengthCounter {
font-size: 16px;
letter-spacing: 1px;
font-weight: 400;
margin-right: 15px;
}
#charRange {
width: 350px;
margin-left: 15px;
margin-right: 15px;
}
input[type="range"] {
-webkit-appearance: none;
outline: none;
width: 320px;
height: 16px;
background: #2D2039;
border-radius: 20px;
box-shadow: inset 0 0 5px rgba(45,32,57,0);
overflow: hidden;
cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
height: 16px;
width: 16px;
border-radius: 50%;
background: #ffffff;
box-shadow: -410px 0 0 400px #A638F6;
}
.container-checkbox {
display: flex;
align-items: flex-start;
color: #ffffff;
flex-direction: column;
margin-left: 15px;
margin-top: 25px;
letter-spacing: 1px;
}
label {
font-size: 14px;
}
.item-checkbox {
display: flex;
align-items: center;
justify-content: center;
margin-top: 4px;
}
input[type="checkbox"] {
appearance: none;
border: 1px solid #ffffff;
width: 13px;
height: 13px;
margin-right: 10px;
cursor: pointer;
}
input[type="checkbox"]:checked {
background-color: #A638F6;
height: 13px;
width: 13px;
border: 0 solid;
background-image: url(checkmark.svg);
background-size: 15px;
}
.container-strength {
width: 310px;
height: 60px;
background-color: #A638F6;
border-radius: 1px;
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 30px;
margin-left: 5px;
}
.text-strength {
font-size: 12px;
font-weight: 200;
margin-left: 20px;
}
.strength-bars {
width: 60px;
height: 40px;
margin-right: 20px;
display: flex;
}
.bar {
width: 10px;
height: 40px;
display: flex;
flex-direction: row;
align-items: center;
border: 1px solid #ffffff;
margin-left: 5px;
}
#btn {
width: 310px;
height: 60px;
margin-left: 6px;
border-radius: 1px;
margin-top: 20px;
border: none;
color: #ffffff;
background-color: #A638F6;
letter-spacing: 1px;
font-weight: 300;
cursor: pointer;
}
#btn:hover {
box-shadow: 0 8px 10px 0 rgba(0,0,0,0.15);
transition: 0.3s;
border: 2px solid #A638F6
}
Editor is loading...