id_card_generator/assets/style.css
2023-06-17 17:48:14 +05:30

474 lines
9.4 KiB
CSS

body{
margin:0;
padding:0;
font-family:'DM Sans',sans-serif;
font-weight:400;
color:#191919;
letter-spacing: .5px;
font-size:15px ;
}
p, div, h1, h2, h3, h4, h5, h6, button, select, input[type="text"], input[type="tel"], input[type="email"]{
font-family:'DM Sans',sans-serif;
font-weight:400;
}
img{
height: auto;
max-width: 100%;
}
.menu-dropdown {
position: relative;
display: inline-block;
padding:10px;
cursor:pointer;
}
.menu-dropdown i{
font-size:25px;
}
.menu-dropdown .dropdown-content {
display: none;
position: absolute;
right:0;
background-color: #f9f9f9;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
min-width: 180px;
}
.menu-dropdown:hover .dropdown-content {
display: block;
}
.menu-dropdown ul{
list-style-type:none;
margin:0;
padding:0;
text-align:left;
}
.menu-dropdown li{
border-bottom: 1px solid #eee;
}
.menu-dropdown li:last-child{
border-bottom-width:0;
}
.menu-dropdown a{
display: block;
text-decoration: none;
padding:10px 15px;
color:#000;
}
.menu-dropdown a:hover{
color:#e5692f;
}
.blue-btn{
background: #2d7baa;
color: #fff;
padding: 10px 15px;
display: inline-block;
border-radius: 5px;
margin: 10px;
text-decoration: none;
border-width:0;
text-align:center;
}
.blue-btn:hover{
background:#e5692f;
color:#fff;
}
.submit-btn{
width:200px;
}
/*Table*/
.custom-table{
border-collapse: collapse;
width:100%;
}
.custom-table tbody {
display:block;
height:405px;
overflow-y:auto;
}
.custom-table thead, .custom-table tbody tr {
display:table;
width:100%;
table-layout:fixed;
}
.custom-table th, .custom-table td, .custom-table{
border:1px solid #eee;
}
.custom-table th{
background:#525252;
color:#fff;
font-weight: 500;
text-transform:uppercase;
}
.custom-table td{
border-left-width:0;
border-right-width:0;
}
.custom-table th, .custom-table td {
text-align:center;
padding: 8px;
word-wrap: break-word;
}
.custom-table tr:hover {
background-color: #f5f5f5;
}
.custom-table .action-btn a{
padding: 10px;
font-size: 13px;
color: #000;
}
.custom-table .action-btn a:hover{
color:#e5692f;
}
.heading-style{
position: relative;
margin-bottom:35px;
}
.heading-style:after{
content: '';
position: absolute;
left: 0;
bottom:-10px;
background: #f1460c;
width:50px;
height: 2px;;
}
.edit-btn{
display: inline-block;
text-decoration: none;
background:#767676;
padding:5px 15px;
color:#fff;
}
.edit-btn:hover{
background:#f1460c;
color:#fff;
}
::-webkit-scrollbar-track {
background-color: #f5f5f5;
}
::-webkit-scrollbar-thumb {
background-color: #797a7c;
border-radius: 15px;
height: 5px;
}
::-webkit-scrollbar {
width: 8px;
background-color: #f5f5f5;
}
.footer{
background: #525252;
text-align: center;
padding: 10px;
color: #fff;
margin-top: 30px;
}
.error{
color:red;
}
input[type="text"], input[type="tel"], input[type="email"], input[type="password"], input[type="url"], select{
background:#e3e3e3;
color:#000;
padding:5px 10px;
width:100%;
height:50px;
border:1px solid #b3b3b3;
margin-bottom:20px;
border-radius:5px;
}
.form-design{
max-width:900px;
margin:0 auto;
}
.form-design label{
display:block;
font-size:20px;
margin-bottom:8px;
}
.form-design .col-sm-6, .form-design .col-sm-5{
margin-bottom:15px;
}
.field-pair {
margin-bottom: 20px;
}
.remove-btn {
margin-left: 10px;
}
.mx-w{
max-width: 800px;
margin:0 auto;
}
.barcode-img{
border:1px solid #ddd;
margin-left:15px;
}
/*Employee Preview*/
.idcard-section{
max-width:450px;
margin:0 auto;
padding:10px;
position: relative;
}
.idcard-section .employee-name, .idcard-section .designation, .idcard-section .company-name{
font-family:'Montserrat',sans-serif;
font-weight:700;
}
.employee-details .details, .emp-btn button, .emp-btn a{
font-family:'Montserrat',sans-serif;
font-weight:500;
}
.emp-btn a{
color:#ffffff;
text-decoration: none;
}
.idcard-section .employee-name{
font-weight:700;
}
.idcard-section::before{
content:'';
position:absolute;
top:0;
left:0;
right:0;
bottom:0;
z-index:-1;
background: linear-gradient(to right, #2d7baa,#80bc42,#e5692f);
}
.idcard-section .idcard-inner-section{
background-image:url(images/Abstract-BG.jpg);
background-size:cover;
background-repeat:no-repeat;
padding:25px 15px;
}
.profile-photo{
border-radius:50%;
position: relative;
max-width:150px;
height: 150px;
margin:30px auto 0 auto;
padding:3px 3px 0;
background: linear-gradient(to right, #2d7baa,#80bc42,#e5692f);
overflow: hidden;
}
.profile-photo img{
border-radius:50%;
}
.company-logo{
text-align:center;
}
.company-logo img{
height:80px;
}
.employee-name, .designation, .company-name{
text-align:center;
text-transform:capitalize;
}
.employee-name{
font-size:26px;
margin:15px 0 0;
}
.designation{
font-size:20px;
margin:5px 0;
}
.company-name{
font-size:19px;
}
.employee-details{
margin:30px auto 0 auto;
font-size:15px;
max-width:370px;
}
.employee-details>div{
display:flex;
align-items:center;
margin-bottom:13px;
}
.employee-details .icon{
width:35px;
line-height:10px;
}
.employee-details .details{
flex-basis:90%;
max-width:90%;
font-size:14px;
line-height:20px;
}
.employee-details .details a{
text-decoration:none;
color:#858585;
}
.employee-details .details a:hover{
color:#e5692f;
}
.employee-details img{
width:22px;
}
.employee-details .icon img {
width:17px;
}
.emp-btn{
justify-content: space-between;
max-width:280px;
margin:30px auto 0 auto;
}
.emp-btn .button{
display: flex;
align-items: center;
border-radius:50px;
border-width:0;
background: linear-gradient(to right, #2d7baa,#80bc42);
padding:10px 25px 10px 20px;
color:#fff;
font-size:17px;
text-transform:uppercase;
}
.emp-btn .button:hover{
cursor:pointer;
background: linear-gradient(to right, #80bc42, #2d7baa);
}
.emp-btn img{
margin-right:2px;
}
.login-section{
background-color: #ffffff;
box-shadow:5px 5px 40px 0 rgba(0,0,0,0.2);
max-width: 450px;
margin:0 auto;
border-radius: 5px;
}
.login-section #toggle-password{
top: 42px!important;;
}
.table-scroll{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
#for_numrows{
display:none!important;
}
#for_filter_by label{
width:65px;
}
#for_filter_by select, #for_filter_by input{
height:40px;
}
#for_filter_by{
display: flex!important;
flex-basis: 40%;
align-items:center;
margin-top: -68px;
}
#filter_by{
margin: 0 15px;
}
#filter_by{
width:180px;
}
#for_filter_by input{
margin-bottom:0;
width:300px;
}
#pagesControllers{
margin: 30px auto 30px auto;
text-align:center;
}
#pagesControllers .pagecontroller{
padding: 7px 15px;
margin: 0 3px;
border: 1px solid #8d8c8c;
}
#pagesControllers .pagecontroller.currentPage{
background:#525252;
color:#fff;
border-color:#525252;
}
.deactivated-employees-list{
min-height: 86vh;
}
.deactivated-employees-list #for_filter_by{
margin-top: -38px!important;
margin-bottom: 20px!important;
}
.deactivated-employees-list .blue-btn{
margin:0;
}
.show-hide{
position: relative;
}
.show-hide #toggle-password, .show-hide #toggle-password1, .show-hide #toggle-password2{
right: 25px;
position: absolute;
top: 55px;
}
.deactivate-btn a:hover{
color: #60bf00!important;
}
.deactivate-btn a.delete:hover{
color: #bf0d00!important;
}
.emppreview .idcard-section .designation{
margin:0!important;
}
.emplive-view .profile-photo{
height: 153px!important;
}
.empview-section .profile-photo{
height:153px;
}
@media (min-width: 999px){
.empview-section{
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.empview-section .idcard-section{
width:450px;
}
}
@media (min-height:600px) and (max-width: 999px){
.empview-section .idcard-inner-section{
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
.empview-section .idcard-inner-section .idcard-inner-bg{
min-width:90%;
}
}
.success-message{
color: #498b07;
font-size: 20px;
font-weight: 500;
background: #fafff5;
border: 1px solid #498b07;
padding: 5px;
margin-bottom: 25px;
text-align: center;
}
.alert-message{
color: #ff0000;
font-size: 20px;
font-weight: 500;
background: #fdeeee;
border: 1px solid #ff0000;
padding: 5px;
margin-bottom: 25px;
text-align: center;
}