mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 13:10:21 +08:00
145 lines
3.1 KiB
HTML
145 lines
3.1 KiB
HTML
<div class="container">
|
|
<p>Password Generator</p>
|
|
<div class="wrapper">
|
|
<div class="input-box">
|
|
<input disabled="" type="text">
|
|
<span>Copy</span>
|
|
</div>
|
|
<div class="pass-settings">
|
|
<label class="title">Password Settings</label>
|
|
<ul class="options">
|
|
<li class="option">
|
|
<input checked="" id="lowercase" type="checkbox">
|
|
<label for="lowercase">Lowercase (a-z)</label>
|
|
</li>
|
|
<li class="option">
|
|
<input id="uppercase" type="checkbox">
|
|
<label for="uppercase">Uppercase (A-Z)</label>
|
|
</li>
|
|
<li class="option">
|
|
<input id="numbers" type="checkbox">
|
|
<label for="numbers">Numbers (0-9)</label>
|
|
</li>
|
|
<li class="option">
|
|
<input id="symbols" type="checkbox">
|
|
<label for="symbols">Symbols (!-$^+)</label>
|
|
</li>
|
|
<li class="option">
|
|
<input id="exc-duplicate" type="checkbox">
|
|
<label for="exc-duplicate">Exclude Duplicate</label>
|
|
</li>
|
|
<li class="option">
|
|
<input id="spaces" type="checkbox">
|
|
<label for="spaces">Include Spaces</label>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<button class="generate-btn">Generate Password</button>
|
|
</div>
|
|
</div>
|
|
|
|
<style>
|
|
/* From Uiverse.io by mi-series - Tags: material design, minimalist, form, checkbox, password, minimal, #button, password generator */
|
|
.container {
|
|
width: 450px;
|
|
background: #8C92BB;
|
|
border-radius: 8px;
|
|
box-shadow: 0 10px 20px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.container p {
|
|
font-weight: 600;
|
|
font-size: 1.31rem;
|
|
padding: 1rem 1.75rem;
|
|
border-bottom: 1px solid #858BB2;
|
|
}
|
|
|
|
.wrapper {
|
|
margin: 1.25rem 1.75rem;
|
|
}
|
|
|
|
.wrapper .input-box {
|
|
position: relative;
|
|
}
|
|
|
|
.input-box input {
|
|
width: 100%;
|
|
height: 53px;
|
|
color: #858BB2;
|
|
background: #858BB2;
|
|
font-size: 1.06rem;
|
|
font-weight: 500;
|
|
border-radius: 4px;
|
|
letter-spacing: 1.4px;
|
|
border: 1px solid #000;
|
|
padding: 0 2.85rem 0 1rem;
|
|
}
|
|
|
|
.input-box span {
|
|
position: absolute;
|
|
right: 13px;
|
|
cursor: pointer;
|
|
line-height: 53px;
|
|
color: #000;
|
|
}
|
|
|
|
.input-box span:hover {
|
|
color: #46495E!important;
|
|
}
|
|
|
|
.wrapper .pass-settings {
|
|
margin: 1.56rem 0 1.25rem;
|
|
}
|
|
|
|
.pass-settings .options {
|
|
display: flex;
|
|
list-style: none;
|
|
flex-wrap: wrap;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.pass-settings .options .option {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 1rem;
|
|
width: calc(100% / 2);
|
|
}
|
|
|
|
.options .option:first-child input {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.options .option input {
|
|
height: 16px;
|
|
width: 16px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.options .option label {
|
|
cursor: pointer;
|
|
color: #000;
|
|
padding-left: 0.63rem;
|
|
}
|
|
|
|
.pass-settings input[type='checkbox'] {
|
|
accent-color: #46496E;
|
|
}
|
|
|
|
.wrapper .generate-btn {
|
|
width: 100%;
|
|
color: #000;
|
|
border: none;
|
|
outline: none;
|
|
cursor: pointer;
|
|
background: #46496E;
|
|
font-size: 1.06rem;
|
|
padding: 0.94rem 0;
|
|
border-radius: 5px;
|
|
text-transform: uppercase;
|
|
margin: 0.94rem 0 1.3rem;
|
|
}
|
|
|
|
.wrapper .generate-btn:hover {
|
|
background: #46495E;
|
|
}
|
|
</style>
|