Files
Backend-Api/ServiceHost/wwwroot/ClientTheme/css/create-personel.css
2024-07-05 21:36:15 +03:30

961 lines
18 KiB
CSS

@media (max-width: 768px){
.content-page > .content .main-content {
width: 100%;
}
}
.ring {
transform: translate(0%,0%);
}
.modal-dialog:has(.details) {
width: 40% !important;
}
.tooltipfullBtns-container:hover .tooltipfullBtns,
a:hover .tooltipfullBtns,
.tooltipfullBtns-container:focus .tooltipfullBtns,
a:focus .tooltipfullBtns {
opacity: 1;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-o-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
}
.tooltipfullBtns {
opacity: 0;
z-index: 1;
color: #ffffff;
display: block;
font-size: 12px;
padding: 5px 10px;
border-radius: 15px;
text-align: center;
background: #fbb306;
border: 1px solid #fbb306;
box-shadow: 0 0 11px rgb(139 139 139 / 79%);
-webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
-o-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
-webkit-transform: scale(0);
-moz-transform: scale(0);
-o-transform: scale(0);
-ms-transform: scale(0);
transform: scale(0);
position: absolute;
right: -12px;
bottom: 40px;
white-space: nowrap;
}
.tooltipfullBtns:before, .tooltipfullBtns:after {
content: '';
border-left: 7px solid transparent;
border-right: 7px solid transparent;
border-top: 10px solid #fbb306;
position: absolute;
bottom: -10px;
left: 40%;
}
#employee-panel .content-fieldset {
position: relative;
margin-bottom: 10px;
background-color: #e5e5e5;
border: 1px solid #999797;
padding: 40px 20px;
border-radius: 10px;
padding-bottom: 60px;
}
#employee-panel legend.main-title {
position: absolute;
width: 200px;
font-size: larger;
left: 50%;
top: -18px;
margin-left: -100px;
text-align: center;
color: black;
border: 1px solid #00000030;
border-radius: 9px;
padding: 2px 0px;
background-color: #fff;
z-index: 10;
}
#employee-panel .num-td {
width: 15px;
max-width: 25px;
}
#employee-panel .pnum-td {
max-width: 35px;
}
#employee-panel .name-td {
max-width: 50px;
}
/*
#employee-panel .Lname-th {
max-width: 70px;
}*/
#employee-panel .pnum-th,
#employee-panel .code-th,
#employee-panel .insurance-th{
max-width: 2rem;
}
#employee-panel .name-th{
max-width: 5rem;
}
#employee-panel .op-th {
max-width: 15rem;
}
#employee-panel .code-td {
max-width: 25px;
}
#employee-panel .insurance-td {
max-width: 40px;
}
#employee-panel .op-td {
max-width: 100px;
}
.left-insurance, .left-contract {
background: #459ae0;
color: #ffffff;
width: 15rem;
height: 4.2rem;
box-shadow: 0 0 3px 0 black;
margin: 4px 0;
font-size: 11px;
display: flex;
justify-content: space-around;
align-items: center;
}
.left-insurance {
background: #459ae0;
}
.left-contract {
background-color: #e95a5a;
}
.left-contract i, .left-insurance i {
font-size: 22px;
margin: 0 0px 0 7px;
}
.left-contract:hover, .left-insurance:hover {
color: #ffffff;
}
/* Animation for appearing */
@keyframes buttonsContainerIn {
0% {
transform: translateX(-150px);
}
100% {
transform: translateX(0);
}
}
/* Animation for disappearing */
@keyframes buttonsContainerOut {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-150px);
}
}
.buttons-container.active {
opacity: 1;
animation: roadRunnerIn 0.3s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}
.buttons-container.reverse {
/*transform: translateX(-150px);*/
transition: opacity 0.3s ease-out;
animation: roadRunnerOut 0.2s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}
@keyframes roadRunnerIn {
0% {
transform: translateX(-150px) skewX(30deg) scaleX(1.3);
}
70% {
transform: translateX(30px) skewX(0deg) scaleX(.9);
}
100% {
transform: translateX(0px) skewX(0deg) scaleX(1);
}
}
@keyframes roadRunnerOut {
0% {
transform: translateX(0px) skewX(0deg) scaleX(1);
}
30% {
transform: translateX(-50px) skewX(0deg) scaleX(.9);
}
100% {
transform: translateX(-150px) skewX(30deg) scaleX(1.3);
}
}
.buttons-container {
opacity: 0;
display: none;
position: absolute;
background: #ffffffe0;
box-shadow: 0 0 6px 0px #939393;
flex-direction: column;
align-items: center;
padding: 10px 0px;
width: 17rem;
/*right: -10rem;*/
height: auto;
border-radius: 10px;
justify-content: center;
transform: translateX(-150px);
z-index: 99;
/*animation: roadRunnerIn .3s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;*/
}
/*@media (max-width: 1300px) {
.buttons-container {
right: -11rem;
}
}
@media (max-width: 1200px) {
.buttons-container {
right: -16rem;
}
}*/
@media (max-width: 768px) {
.buttons-container {
width: 6rem;
margin-bottom: 10px;
/*right: -5rem;*/
}
.left-insurance, .left-contract {
width: 4rem;
height: 4rem;
}
.left-insurance p , .left-contract p{
display:none;
}
.left-contract i, .left-insurance i {
font-size: 19px;
margin: 0;
}
}
.employee-operations {
background: #1e88b3;
color: #ffffff;
width: 14rem;
padding: 10px 0;
margin: 10px 0;
font-size: 12px;
position: relative;
border-radius: 8px !important;
}
.employee-operations:hover,
.employee-operations:focus,
.employee-operations:active {
background: #1482af;
color: white;
}
.employee-operations:before {
content: '';
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
position: absolute;
left: 139px;
top: 8px;
border-left: 13px solid #1e88b3;
}
.more-buttons.active .employee-operations:before {
opacity: 1;
}
.more-buttons .employee-operations:before {
opacity: 0;
}
@media(min-width: 1500px) {
#employee-panel .op-th {
max-width: 9rem;
}
#employee-panel .op-td {
max-width: 70px;
}
}
#employee-panel .main-dataTable tr:nth-child(even) td:nth-child(3), #employee-panel .main-dataTable tr:nth-child(even) td:nth-child(4) {
background-color: #d1edce;
}
#employee-panel .main-dataTable tr:nth-child(odd) td:nth-child(3), #employee-panel .main-dataTable tr:nth-child(odd) td:nth-child(4) {
}
#employee-panel .main-dataTable > tbody > tr > td {
padding: 0px 2px;
}
.operationBtns a i.fa-trash {
color: #f23a36;
transform: translate(-1px, -1px);
}
.operationBtns a i.fa-info-circle {
color: #26731c;
transform: translate(-1px, 0px);
}
.modal-dialog {
width: 55%;
margin: 30px auto;
}
@media (max-width: 1580px){
.modal-dialog {
width: 60%;
}
}
.modal .modal-dialog .modal-content {
border-radius: 18px;
min-height: 68rem;
background: #ebebeb;
}
@media (max-width: 1200px) {
.modal .modal-dialog .modal-content {
min-height: 80rem;
}
}
.form-box {
position: relative;
padding: 40px 20px;
top: 5rem;
border: 1px solid #d1d1d1;
position: relative;
border-radius: 1rem;
overflow: hidden;
min-height: 57rem;
}
.main-title {
position: absolute;
width: 17rem;
font-size: 1.7rem;
background-color: inherit;
left: 49%;
top: 7px;
margin-left: -100px;
text-align: center;
color: black;
border: 1px solid #00000030;
border-radius: 9px;
padding: 2px 0px;
}
.close {
margin-top: 12px;
margin-left: -19px;
font-size: 26px;
position: absolute;
right: 25px;
}
.form {
position: absolute;
font-size: 1.2rem;
}
.input-type {
padding: 0px 8px;
}
#employee-panel input[pattern] {
position: relative;
}
.nationality-type {
padding: 0.7px 4px;
}
.duty-condition {
position: relative;
top: -5px;
}
.loc-box {
margin-top: 10px;
}
.loc-text {
height: 182px;
}
.insInput {
background-color: #d4e9ff;
}
.insInputDate label{
font-size: 10px;
}
.content-fieldset {
width: 95%;
margin: auto;
}
.radio-sections {
padding: 15px 7px !important;
background: #ffffff6b;
border-radius: 7px;
border: 1px solid #0000004a;
display: flex;
flex-wrap: nowrap;
justify-content: space-evenly;
align-items: flex-start;
}
.form-box .form-group {
padding: 15px 0px;
}
.form1 .form-group {
justify-content: space-around;
}
.form1, .listForm1 {
margin-top: 30px;
width: 96%;
}
.form2, .listForm2 {
left: 3000px;
}
.steps {
display: flex;
width: 100%;
position: absolute;
top: 0px;
left: 0;
height: 42px;
border: 1px solid #36292947;
border-top-right-radius: 7px;
border-top-left-radius: 7px;
box-shadow: 0 2px 5px 0 rgb(104 106 106 / 49%), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.step {
padding: 7px;
text-align: center;
margin: 0 3px 0 3px;
width: 50%;
z-index: 9;
}
.progressBar {
position: absolute;
width: 50%;
background: linear-gradient(90deg, rgba(15,149,0,1) 0%, rgba(53,189,37,1) 18%, rgba(68,207,52,1) 47%, rgba(73,214,57,1) 82%, rgba(15,149,0,1) 100%);
height: 103%;
right: -1px;
top: -1px;
transition: 1s;
}
.progressBar:after {
content: '';
border-top: 20px solid transparent;
border-bottom: 20px solid transparent;
position: absolute;
left: -20px;
top: 0;
border-right: 20px solid #0f9500;
}
.form-box input[type="radio"] {
margin: 2px 0px;
}
.inputs-box {
float: left;
display: flex;
align-items: center;
}
.inputs {
padding: 10px;
}
.input {
border: 1px solid #0000004a;
border-radius: 7px;
padding: 7px;
width: 100%;
}
.input:focus {
box-shadow: 0 2px 5px 0 rgb(136 137 141), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
#save {
background-color: #0f9500;
color: white;
cursor: pointer;
}
#close {
background-color: white;
color: #323030;
}
.btn-modal {
padding: 1rem 0;
border-radius: 20px;
border: none;
font-size: 12px;
width: 9rem;
}
.btns {
position: absolute;
display: inline-flex;
bottom: 12px;
width: 100%;
justify-content: flex-end;
margin-right: 50px;
}
.btns-2 {
bottom: 15px;
margin-right: 17px;
}
.btn-modal.pre, .btn-modal.listPrev {
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
background-color: #c7c0c0ba;
color: #000000b8;
margin-left: -4px;
}
.btn-modal.next, .btn-modal.listNext {
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
margin-left: -4px;
border-right: 1px solid #817b7b;
background-color: white;
color: #1e88b3;
}
.btns-left {
float: left;
}
.btn-rounded {
border-radius: 2em;
padding: 6px 10px;
}
.form-footer-btns {
position: absolute;
bottom: 5px;
left: 35%;
}
.form-footer {
padding: 15px;
text-align: right;
float: left;
border-top: 0;
position: absolute;
bottom: -5px;
left: 5px;
}
#divEdit .form-footer {
bottom: 5px;
}
.btn:hover {
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.children-box {
position: relative;
display: flex;
flex-direction: column;
height: 22.6rem;
}
#children-container {
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: #f2f2f2 transparent;
direction: ltr;
border: 1px solid #9b97976e;
border-radius: 10px 10px 7px 7px;
padding: 10px 0;
background-color: #dbdadaba;
margin-top: 10px;
margin-bottom: 5px
}
#children {
border-collapse: separate !important;
position: relative;
top: -10px;
width: 100%;
background: whitesmoke;
text-align: center;
border-radius: 10px;
border: none !important;
margin-bottom: 0 !important;
}
#children th {
text-align: center;
color: white;
position: sticky;
top: -10px;
z-index: 20;
background-color: #404040;
font-size: 13px;
}
#children th, td {
padding: 8px;
}
#children th:nth-child(2n) {
border-left: 1px solid #fff;
}
#children tr:nth-child(2n) {
background-color: #e3e3e3;
}
#children th:nth-child(2n) {
border-left: 1px solid #fff;
}
#children td:nth-child(2n) {
border-left: 1px solid #fff;
border-right: 1px solid #9b979721;
}
#children td:nth-child(2n+1) {
border-left: 1px solid #9b979721;
display: flex;
flex-direction: row-reverse;
justify-content: center;
}
#children td {
text-align: center;
}
#children th:first-child {
border-radius: 7px 0px 0px 0px;
-moz-border-radius: 7px 0px 0px 0px;
-webkit-border-radius: 7px 0px 0px 0px;
}
#children th:last-child {
border-left: 1px solid #fff;
border-radius: 0px 7px 0 0;
-moz-border-radius: 0px 7px 0 0;
-webkit-border-radius: 0px 7px 0 0;
}
#children tbody tr {
min-height: 68px;
}
#children-container.hide-scrollbar::-webkit-scrollbar {
width: 0px;
}
#children-container::-webkit-scrollbar {
width: 7px;
height: 5px;
}
#children-container::-webkit-scrollbar-track {
background-color: #f2f2f2;
border-radius: 5px;
}
#children-container::-webkit-scrollbar-thumb {
background-color: #ccc;
border-radius: 5px;
}
#children-container::-webkit-scrollbar-thumb:hover {
background-color: #aaa;
}
.children-box .add {
cursor: pointer;
padding: 8px 6px;
border-radius: 16px;
border: 2px solid #0f9500;
background: white;
color: #0f9500;
font-size: 10px;
width: 9rem;
}
.trash {
color: #c91d1d;
font-size: 22px;
position: relative;
left: -7px;
top: 5px;
}
.add:hover {
background: #0f9500;
color: white;
border: 2px solid #0f9500;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.items, .items1 {
border: 1px solid #c7c7c7;
border-radius: 5px;
padding: 5px 0px;
background-color: white;
text-align: center;
}
.green {
background-color: #e0ffe0;
}
.modal-content2 {
background-color: whitesmoke;
border: 1px solid #a5a5a59e;
border-radius: 18px;
margin-top: 300px;
padding: 0px 30px;
}
.modal .modal-dialoge .modal-content2 .modal-body {
padding: 50px 20px;
font-size: 17px;
}
.modal-dialoge {
padding: 0px 180px;
}
.error-icon {
position: absolute;
left: 15px;
top: 34px;
font-size: 16px;
color: red;
}
.error-message {
font-size: 1rem;
color: red;
position: absolute;
}
.input-div {
display: flex;
}
.education {
height: 36px;
}
.errored , .patternMisMatch{
animation: shake 300ms;
box-shadow: inset 0 0 2px #eb3434, 0 0 5px #eb3434 !important;
border: 1px solid #eb3434 !important;
border-radius: 8px;
}
@media (max-width: 1550px) and (min-width:1441px) {
.education {
height: 33px;
}
}
@media (max-width: 1550px) {
.modal-content {
height: 680px !important;
}
.box {
font-size: 12px;
height: 575px;
top: 40px;
}
.inputs {
padding: 6px 8px;
}
.btn-modal {
font-size: 12px;
}
.main-title {
width: 185px;
font-size: 17px;
left: 52%;
top: 5px;
}
.trash {
font-size: 18px;
}
}
@media (max-width: 1440px) {
#progress:after {
border-top: 17px solid transparent;
border-bottom: 17px solid transparent;
}
.inputs {
padding: 8px 10px;
}
.education {
height: 29px;
}
.btn-modal {
font-size: 10px;
}
.main-title {
width: 169px;
font-size: 15px;
left: 53%;
top: 3px;
}
.radio-sections {
padding: 8px 5px !important;
display: flex;
align-items: center;
}
.nationality-type {
padding: 0px 2px;
}
.input-type {
padding: 0px 5px;
}
.duty-condition {
top: -9px;
}
.loc-box {
margin-top: 9px;
}
#children-container, .loc-text {
height: 136px;
}
#children th, td {
padding: 5px 8px;
}
#children th {
font-size: 11px;
}
}
@media (max-width: 1200px) {
.form-box {
min-height: 69rem;
}
.form1, .listForm1 {
width: 93%;
}
#employee-panel .name-th {
max-width: 55px;
}
#employee-panel .Lname-th {
max-width: 85px;
}
#employee-panel .code-th {
max-width: 55px;
}
#employee-panel .insurance-th {
max-width: 50px;
}
#employee-panel #datatable tbody tr td {
font-size: 1rem;
}
}
@media (max-width: 900px){
.modal-dialog {
width: 75%;
}
/* .operationBtns a {
width: 3.8rem;
height: 3.6rem;
}*/
#employee-panel .code-th {
max-width: 65px;
}
#employee-panel .Lname-th {
max-width: 75px;
}
.Lname-td .fulltext {
max-width: 68px;
}
}
@media (max-width: 768px){
.form-box {
min-height: 75rem;
padding: 40px 10px;
}
.modal .modal-dialog .modal-content {
min-height: 85rem;
}
.modal-dialog {
width: 90%;
}
.form {
font-size: 1rem;
}
.input-type {
padding: 0px 3px;
}
.loc-text {
height: 60px;
}
}
@media (max-width: 768px) and (min-width:490px ){
.Lname-td .fulltext {
max-width: 80px;
}
}
@media (max-width: 450px) {
.form-box {
min-height: 78rem;
}
.form-footer-btns {
left: 25%;
}
.name-td .fulltext {
max-width: 75px;
}
.modal .modal-dialog .modal-content {
min-height: 90rem;
}
}
@media (max-width: 390px) {
.name-td .fulltext {
max-width: 65px;
}
}