Face_Classify_frontend/app/src/App.css
2022-01-14 20:22:35 +07:00

512 lines
9.0 KiB
CSS

.App {
text-align: center;
}
.App-logo {
height: 40vmin;
pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
}
.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}
.App-link {
color: #61dafb;
}
@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.modal-size {
min-width: 50%
}
.modal-size-res {
min-width: 40%
}
.ant-upload-list-picture-card-container, .ant-upload.ant-upload-select-picture-card{
width: 95px!important;
height: 95px!important;
}
/* custome andt upload */
.ant-upload-list-item-actions .anticon-eye,.ant-upload-list-item-actions .ant-upload-list-item-card-actions-btn{
display: none;
}
.ant-upload-list-item-info {
cursor: pointer;
}
.ant-upload-list-item.ant-upload-list-item-done.ant-upload-list-item-list-type-picture-card, .ant-upload-list-item.ant-upload-list-item-error.ant-upload-list-item-list-type-picture-card {
padding: 0
}
.boder-right {
border-right: 1px solid rgb(242, 242, 242);
}
img.opacity_img_click {
opacity: 0.6;
}
img.opacity_img_click.active {
opacity: 1;
}
.img_check {
width: 100%;
height: 80px;
background-size: contain;
cursor: pointer;
}
.img_check_training {
width: 120px;
max-width: 100%;
height: 120px;
background-size: contain;
cursor: pointer;
}
.img-checkbox>span {
background: 0 0;
position: absolute;
top: 0px;
left: 0px;
right: 0;
bottom: 0;
margin: auto;
height: 100%;
width: 100%;
background-color: #9a9caf8c;
}
.img-checkbox>span:after {
border: solid #00c5dc;
}
.img-checkbox>span {
border: none;
}
.img-checkbox>input:checked~span {
border: none;
background-color: transparent;
}
.img-checkbox>span:after {
top: 50%;
left: 50%;
margin-left: 0px;
margin-top: -20px;
width: 15px;
height: 25px;
border-width: 0 2px 2px 0!important;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
/* pagination */
.pagination li a {
border-radius: 50%;
cursor: pointer;
display: inline-block;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-moz-justify-content: center;
-ms-justify-content: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-moz-align-items: center;
-ms-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
text-align: center;
vertical-align: middle;
height: 2.25rem;
min-width: 2.25rem;
vertical-align: middle;
padding: 0.5rem;
text-align: center;
position: relative;
font-size: 1rem;
line-height: 1rem;
font-weight: 400;
border: 0;
}
.pagination li.active a {
z-index: 1;
color: #fff;
background-color: #5867dd;
border-color: #5867dd;
}
.pagination li {
margin-left: 0.4rem;
}
.pagination li.disabled a {
color: #6c757d;
pointer-events: none;
cursor: auto;
background-color: #fff;
border-color: #dee2e6;
}
.pagination {
float: right;
}
button.close {
color: red;
border: 1px solid red;
display: flex;
justify-content: center;
width: 35px;
height: 30px;
background-color: red;
color: white;
}
button.close:hover {
color: white
}
.disable-btn-upload {
color: #00000040;
border-color: #d9d9d9;
background: #f5f5f5;
text-shadow: none;
box-shadow: none;
}
.disable-btn-upload:hover, .disable-btn-upload:focus {
color: #00000040;
border-color: #d9d9d9;
background: #f5f5f5;
text-shadow: none;
box-shadow: none;
}
.login__page {
background: url("/public/assets/images/bg1.jpeg") top left repeat;
background-color: #eee;
width: 100%;
background-size: cover;
bottom: 0;
background-repeat: cover;
background-position: center;
min-height: 100vh;
position: relative;
display: flex;
justify-content: center;
top: 0;
}
.login__page .login__form {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 100vh;
position: relative;
}
.login__page .login__form .login-form-button {
width: 100%;
}
.login__page .login__form .login__text {
margin-bottom: 30px;
font-weight: 800;
font-size: 30px;
color: #0695e2;
text-align: center;
}
.login__page .login__form .login__sec {
background: #d3d3d3 de;
padding: 50px 50px 30px 50px;
border-radius: 10px;
width: 400px;
}
.login__page .login__form .login__sec h2::after {
content: " ";
width: 100px;
height: 5px;
background: #0695e2;
display: block;
margin-top: 5px;
border-radius: 3px;
margin-left: auto;
margin-right: auto;
}
.login__page .login__form .login__sec .login__error {
margin-bottom: 20px;
}
.login__page .login__form .input__Cus {
padding: 10px 15px !important;
outline: none !important;
border: 1px solid transparent !important;
border-radius: 8px !important;
}
.login__page .login__form .login-form-button {
background-color: #0695e2 !important;
border-radius: 10px !important;
height: 50px !important;
font-weight: bold !important;
}
@media screen and (max-width: 1400px) {
.col_xxl-4 {
-webkit-box-flex: 0!important;
flex: 0 0 33.33333%!important;
max-width: 33.33333%!important;
}
.col_xxl-6 {
-webkit-box-flex: 0!important;
flex: 0 0 50%!important;
max-width: 50%!important;
}
}
/* .box {
position: relative;
display: block;
margin-bottom: 0.5rem;
border: 1px solid rgba(0, 0, 0, 0.125);
}
.box-block {
padding: 1.25rem;
} */
.ant-card-body {
padding: 10px!important;
}
@media (min-width: 768px) {
.hide_desktop {
display: none;
}
.modal-90w {
width: 90%;
max-width: none!important;
}
}
.carousel-control-next-icon, .carousel-control-prev-icon {
background-image: none;
}
.ant-image-mask-info {
display: none;
}
.percent-simular, .input-percent {
position: relative;
display: block;
}
.percent-simular::after {
content: '' attr(data-input);
position: absolute;
top: 6px;
left: 33px;
font-family: arial, helvetica, sans-serif;
font-size: 12px;
display: block;
color: rgba(0, 0, 0, 0.6);
font-weight: bold;
}
/* //dropzone */
.dropzone {
text-align: center;
padding: 20px;
border: 3px dashed #eeeeee;
background-color: #fafafa;
color: #bdbdbd;
cursor: pointer;
margin-bottom: 20px;
}
.accept {
border-color: #107c10 !important;
}
.reject {
border-color: #58b4ff !important;
}
@media (min-width: 1024px) {
.m-header {
height: 60px;
}
}
.login-block {
/* background-image: url("/img/Bg_login.jpg"); */
background-repeat: no-repeat;
background-size: cover;
float: left;
width: 100%;
padding: 50px 0;
margin-top: 150px;
}
.login-sec {
padding: 50px 30px 10px;
position: relative;
}
.login-sec .copy-text {
position: absolute;
width: 80%;
bottom: 20px;
font-size: 13px;
text-align: center;
}
.login-sec .copy-text i {
color: #feb58a;
}
.login-sec .copy-text a {
color: #e36262;
}
.login-sec h2 {
margin-bottom: 30px;
font-weight: 800;
font-size: 30px;
color: #0695e2;
}
.login-sec h2:after {
content: " ";
width: 100px;
height: 5px;
background: #0695e2;
display: block;
border-radius: 3px;
margin-top: 20px;
margin-left: auto;
margin-right: auto;
}
.login-sec ul li a {
padding: 8px !important;
border-top-right-radius: 3px !important;
border-top-left-radius: 3px !important;
}
.login-sec ul li a.active {
color: white !important;
}
.banner-sec {
background-size: cover;
min-height: 300px;
border-radius: 0 10px 10px 0;
padding: 0;
}
.banner-text {
width: 70%;
position: absolute;
bottom: 0px;
padding-left: 20px;
}
.banner-text h2 {
color: #fff;
font-weight: 600;
}
.banner-text h2:after {
content: " ";
width: 100px;
height: 5px;
background: #fff;
display: block;
margin-top: 20px;
border-radius: 3px;
}
.banner-text p {
color: #fff;
}
.container {
box-shadow: 0 1px 15px 1px rgba(69, 65, 78, 0.08);
background-color: #fff;
border-radius: 10px;
}
.container_form_infor {
box-shadow: 0 1px 15px 1px rgba(69, 65, 78, 0.08);
background-color: #fff;
border-radius: 10px;
}
.carousel-inner {
border-radius: 0 10px 10px 0;
}
.carousel-caption {
text-align: left;
left: 5%;
}
.btn-login {
background: #0695e2;
color: #fff;
font-weight: 600;
font-family: inherit !important;
}
/* Scrollbar Modal DashBoard styles */
.scroll::-webkit-scrollbar {
width: 5px;
height: 0px;
}
.scroll::-webkit-scrollbar-track {
box-shadow: inset 0 0 10px #bdc3d4;
border-radius: 10px;
}
.scroll::-webkit-scrollbar-thumb {
border-radius: 10px;
background: #9699a2c7;
box-shadow: inset 0 0 6px #00000020;
padding-left: 10px;
}
.scroll_customer_daily {
max-height: 700px;
overflow-y: scroll;
padding-right: 8px;
}
.scroll_customer_daily:hover {
overflow: overlay;
}
.scroll_customer_vip {
max-height: 100%;
overflow: hidden;
padding-right: 8px;
}
.scroll_customer_vip:hover {
overflow: overlay;
}
.scroll_staff {
max-height: 100%;
overflow: hidden;
padding-right: 8px;
}