Attendance/static/allpages.css
2021-12-12 18:38:10 +08:00

224 lines
No EOL
3.7 KiB
CSS

@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";
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-smooth: always;
}
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);
}
.afterSelButton {
margin-top: 0;
}
.modal-footer>.row {
width: 70%;
}
.modal-footer>.row .col {
border: 0 !important;
}
.modal-footer>.row button {
margin-right: 10px;
margin-top: 0;
}
.margin-top {
margin-top: 20px;
}
.nomargin-top {
margin-top: 0;
}
.nmb {
margin-bottom: 0;
}
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;
}
div.ds {
margin-top: 20px;
}
div.dsboard .col, .noborder {
border: 0 !important;
}
div.container {
text-align: center;
}
button {
width: 100%;
margin-top: 10px;
}
.text-red {
color: red;
}