mirror of
https://github.com/aaronleetw/Attendance.git
synced 2024-11-14 19:11:39 -08:00
182 lines
No EOL
3.1 KiB
CSS
Vendored
182 lines
No EOL
3.1 KiB
CSS
Vendored
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
|
|
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC&display=swap');
|
|
|
|
body {
|
|
font-family: "Lato", "Noto Sans TC", "Microsoft JhengHei", "sans-serif";
|
|
}
|
|
|
|
div.col .row .col {
|
|
border: 1px solid black;
|
|
display: inline-block;
|
|
word-break: break-word;
|
|
}
|
|
|
|
div.form-group .center {
|
|
position: relative;
|
|
height: 40px;
|
|
}
|
|
|
|
div.form-group .center label {
|
|
position: absolute;
|
|
top: 50%;
|
|
width: 100%;
|
|
transform: translate(-50%, -50%);
|
|
margin: 0;
|
|
}
|
|
|
|
div.signatures {
|
|
margin-top: 30px;
|
|
}
|
|
|
|
div.needborder {
|
|
border: 1px solid black !important;
|
|
}
|
|
|
|
div.signatures .col .row {
|
|
border: 0;
|
|
}
|
|
|
|
div.forSign {
|
|
border: 1px solid black;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
width: 56vw;
|
|
max-width: 100%;
|
|
height: 24vw;
|
|
position: relative;
|
|
-webkit-box-flex: 1;
|
|
-ms-flex: 1;
|
|
flex: 1;
|
|
}
|
|
|
|
div.forSign canvas {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.margin-bottom {
|
|
margin-bottom: 50px;
|
|
}
|
|
|
|
p.highlightAbs {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
p.highlightAbs.n-1 {
|
|
color: blue;
|
|
}
|
|
|
|
p.highlightAbs.n-2 {
|
|
color: red;
|
|
}
|
|
|
|
p.highlightAbs.n-3 {
|
|
color: rgb(15, 184, 0);
|
|
}
|
|
|
|
.margin-top {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
input[type="checkbox"].absent, input[type="checkbox"].late {
|
|
-webkit-appearance: initial;
|
|
appearance: initial;
|
|
background: rgb(207, 207, 207);
|
|
width: 20px;
|
|
height: 20px;
|
|
border: 1px solid black;
|
|
margin-top: 3px;
|
|
position: relative;
|
|
}
|
|
input[type="checkbox"].absent:checked {
|
|
background: red;
|
|
}
|
|
input[type="checkbox"].absent:checked:after {
|
|
content: "X";
|
|
color: white;
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
-webkit-transform: translate(-50%,-50%);
|
|
-moz-transform: translate(-50%,-50%);
|
|
-ms-transform: translate(-50%,-50%);
|
|
transform: translate(-50%,-50%);
|
|
}
|
|
input[type="checkbox"].late:checked {
|
|
background: rgb(15, 184, 0);
|
|
}
|
|
input[type="checkbox"].late:checked:after {
|
|
content: "𝜑";
|
|
color: #fff;
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
-webkit-transform: translate(-50%,-50%);
|
|
-moz-transform: translate(-50%,-50%);
|
|
-ms-transform: translate(-50%,-50%);
|
|
transform: translate(-50%,-50%);
|
|
}
|
|
|
|
.logout {
|
|
width: 40%;
|
|
margin-bottom: 10px;
|
|
margin-left: 30%;
|
|
}
|
|
|
|
button.logout {
|
|
margin-left: 0 !important;
|
|
}
|
|
|
|
div.showTime {
|
|
z-index: 1;
|
|
position:fixed;
|
|
padding: 10px;
|
|
font-size: 1.2em;
|
|
bottom:1em;
|
|
right:1em;
|
|
border:1px solid black;
|
|
color:rgb(77, 77, 77);
|
|
background:rgb(179, 255, 169);
|
|
}
|
|
|
|
.grecaptcha-badge {
|
|
display: none;
|
|
}
|
|
|
|
.disclaimer {
|
|
color: rgb(160, 160, 160);
|
|
font-size: 0.7524em;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.input-group-prepend .input-group-text, .input-group-append .input-group-text {
|
|
padding: 12px;
|
|
}
|
|
|
|
.toggle-password {
|
|
cursor: pointer;
|
|
}
|
|
|
|
label {
|
|
text-align: left;
|
|
}
|
|
|
|
.input-group.hasSmall {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
#chgPasswordForm .form-group {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
.signDiv button {
|
|
width: auto;
|
|
}
|
|
|
|
.submitButton {
|
|
width: 20vw;
|
|
min-width: auto;
|
|
} |