mirror of
https://github.com/anthonyaxenov/password-generator.git
synced 2024-11-22 05:14:43 +00:00
Fixed styles for disabled setting + personal footer
This commit is contained in:
parent
ab2d5719b6
commit
9024fd89a6
@ -28,9 +28,8 @@ button {
|
|||||||
|
|
||||||
.container {
|
.container {
|
||||||
margin: 40px 0;
|
margin: 40px 0;
|
||||||
width: 400px;
|
|
||||||
height: 600px;
|
|
||||||
padding: 10px 25px;
|
padding: 10px 25px;
|
||||||
|
width: 400px;
|
||||||
background: #0a0e31;
|
background: #0a0e31;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.45), 0 4px 8px rgba(0, 0, 0, 0.35), 0 8px 12px rgba(0, 0, 0, 0.15);
|
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.45), 0 4px 8px rgba(0, 0, 0, 0.35), 0 8px 12px rgba(0, 0, 0, 0.15);
|
||||||
@ -38,11 +37,23 @@ button {
|
|||||||
font-family: "sans-serif";
|
font-family: "sans-serif";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.footer {
|
||||||
|
text-align: center;
|
||||||
|
line-height: 3em;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer a,
|
||||||
|
.footer a:visited {
|
||||||
|
color: rgb(93 104 226);
|
||||||
|
}
|
||||||
|
|
||||||
.container h2.title {
|
.container h2.title {
|
||||||
font-size: 1.75rem;
|
font-size: 1.75rem;
|
||||||
margin: 10px -5px;
|
margin: 10px -5px;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.result {
|
.result {
|
||||||
@ -277,6 +288,14 @@ button {
|
|||||||
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.75);
|
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.75);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.settings .setting input:disabled + label:before, .settings .setting input:disabled + label:after {
|
||||||
|
cursor: not-allowed;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings .setting input:disabled + label:before {
|
||||||
|
background: #4f4f6a;
|
||||||
|
}
|
||||||
|
|
||||||
.btn.generate {
|
.btn.generate {
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
|
@ -40,6 +40,9 @@
|
|||||||
<label for="symbol">Include Symbols</label>
|
<label for="symbol">Include Symbols</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="footer">
|
||||||
|
<a href="https://github.com/anthonyaxenov/password-generator">GitHub</a> | <a href="https://axenov.dev">axenov.dev</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script src="js/script.js"></script>
|
<script src="js/script.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user