Attendance/static/allpages.css

182 lines
3.1 KiB
CSS
Raw Permalink Normal View History

2021-09-18 07:04:31 -07:00
@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";
}
2021-09-09 06:29:31 -07:00
div.col .row .col {
border: 1px solid black;
2021-09-30 20:46:41 -07:00
display: inline-block;
word-break: break-word;
}
2021-09-18 04:26:06 -07:00
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;
}
2021-10-05 04:22:23 -07:00
div.needborder {
border: 1px solid black !important;
}
div.signatures .col .row {
2021-10-05 04:22:23 -07:00
border: 0;
}
div.forSign {
border: 1px solid black;
2021-09-14 06:20:29 -07:00
margin-left: auto;
margin-right: auto;
2021-10-19 07:30:49 -07:00
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%;
}
2021-09-12 02:39:09 -07:00
.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);
}
2021-09-12 02:39:09 -07:00
.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 {
2021-09-18 07:04:31 -07:00
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%);
2021-09-18 04:26:06 -07:00
}
.logout {
width: 40%;
margin-bottom: 10px;
margin-left: 30%;
}
button.logout {
margin-left: 0 !important;
2021-09-18 07:04:31 -07:00
}
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);
2021-09-23 07:21:59 -07:00
}
.grecaptcha-badge {
display: none;
}
.disclaimer {
color: rgb(160, 160, 160);
font-size: 0.7524em;
margin-bottom: 20px;
2021-10-03 07:33:53 -07:00
}
.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;
2021-10-04 04:13:17 -07:00
}
2021-10-19 07:30:49 -07:00
.signDiv button {
width: auto;
}
.submitButton {
width: 20vw;
min-width: auto;
}