Added ability to set input age for pesel generator. No additional checks implemented - min < max or starting age of 1800. Someday...
This commit is contained in:
@@ -56,7 +56,7 @@ body {
|
||||
padding: .2em;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
|
||||
|
||||
&:hover {
|
||||
background: rgba( 0, 0, 0, 0.30 );
|
||||
}
|
||||
@@ -124,7 +124,7 @@ body {
|
||||
input[type="text"] {
|
||||
margin-top: 1em;
|
||||
width: 210px;
|
||||
min-width: 0px;
|
||||
min-width: 0;
|
||||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
padding: 0 0.7em;
|
||||
@@ -147,6 +147,41 @@ input[type="text"] {
|
||||
}
|
||||
}
|
||||
|
||||
input[type="number"] {
|
||||
-moz-appearance:textfield; /* Firefox */
|
||||
margin: auto 0;
|
||||
width: 37px;
|
||||
min-width: 0;
|
||||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
padding: 0 0.1em;
|
||||
letter-spacing: 1px;
|
||||
font-size: 0.8em;
|
||||
height: 1.5em;
|
||||
color: white;
|
||||
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
box-shadow: 0 8px 32px 0 rgba( 0, 38, 135, 0.37 );
|
||||
border-radius: 3px;
|
||||
border: 1px solid rgba( 255, 255, 255, 0.20 );
|
||||
}
|
||||
|
||||
input::-webkit-outer-spin-button,
|
||||
input::-webkit-inner-spin-button {
|
||||
display: none;
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.titleBarText {
|
||||
width: 20px;
|
||||
color: white;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
letter-spacing: 2px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
img {
|
||||
cursor: pointer;
|
||||
filter: invert(100%);
|
||||
@@ -156,4 +191,4 @@ img {
|
||||
box-shadow: 0 8px 32px 0 rgba(255, 217, 120, 0.37);
|
||||
border-radius: 3px;
|
||||
border: 1px solid rgba(0, 0, 0, 0.10);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user