Files
ihrm/static/css/style.css

905 lines
17 KiB
CSS

@font-face {
font-family: "Material Icons";
font-style: normal;
font-weight: 400;
src: url("../fonts/material_icons.woff2") format("woff2");
}
.material-icons {
font-family: "Material Icons";
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: "liga";
-webkit-font-smoothing: antialiased;
}
@font-face {
font-family: 'Material Symbols Outlined';
font-style: normal;
font-weight: 400;
src: url("../fonts/material_icons_outlined.woff2") format('woff2');
}
.material-symbols-outlined {
font-family: 'Material Symbols Outlined';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased;
}
.note-modal-backdrop {
z-index: 1020;
}
.note-editing-area {
background-color: white;
}
.oh-activity-sidebar__body {
overflow-y: auto !important;
min-height: calc(100% - 90px) !important;
max-height: calc(110% - 90px) !important;
}
#mainNav {
padding: 0 !important;
}
.oh-modal__close--custom {
border: none;
background: none;
font-size: 1.5rem;
opacity: 0.7;
position: absolute;
top: 25px;
right: 15px;
cursor: pointer;
-webkit-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}
ul.errorlist {
color: #d9534f;
background-color: #f0d8d8;
border-color: #d6e9c6;
padding: 15px;
margin-bottom: 20px;
border: 1px solid transparent;
border-radius: 4px;
}
ul:not(.ul) {
list-style-type: none;
}
ion-icon {
pointer-events: none;
}
.row-status--purple {
border-left: 4px solid rgba(128, 128, 128, 0.482);
border-radius: 5px;
}
.row-status--cyan {
border-left: 4px solid cyan;
border-radius: 5px;
}
.row-status--yellow {
border-left: 4px solid yellowgreen;
border-radius: 5px;
}
.row-status--red {
border-left: 4px solid red;
border-radius: 5px;
}
.row-status--black {
border-left: 4px solid black;
border-radius: 5px;
}
.row-status--gray {
border-left: 4px solid gray;
border-radius: 5px;
}
.row-status--orange {
border-left: 4px solid orange;
border-radius: 5px;
}
.row-status--gray {
border-left: 4px solid gray;
border-radius: 5px;
}
.row-status--yellow {
border-left: 4px solid yellowgreen;
border-radius: 5px;
}
.row-status--blue {
border-left: 4px solid rgb(103, 171, 238);
border-radius: 5px;
}
form label {
font-weight: 700;
}
.oh-modal .oh-modal__dialog-title {
font-weight: 600;
color: #4f4a4a;
}
.flexbox {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.flexbox>div {
width: 300px;
height: 300px;
-webkit-box-flex: 0;
-ms-flex: 0 0 25%;
flex: 0 0 25%;
border: 1px solid rgba(255, 255, 255, 0.1);
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
overflow: hidden;
}
.triple-spinner {
display: block;
position: relative;
width: 125px;
height: 125px;
border-radius: 50%;
border: 4px solid transparent;
border-top: 4px solid #FF5722;
-webkit-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
}
.triple-spinner::before,
.triple-spinner::after {
content: "";
position: absolute;
border-radius: 50%;
border: 4px solid transparent;
}
.triple-spinner::before {
top: 5px;
left: 5px;
right: 5px;
bottom: 5px;
border-top-color: #FF9800;
-webkit-animation: spin 3s linear infinite;
animation: spin 3.5s linear infinite;
}
.triple-spinner::after {
top: 15px;
left: 15px;
right: 15px;
bottom: 15px;
border-top-color: #FFC107;
-webkit-animation: spin 1.5s linear infinite;
animation: spin 1.75s linear infinite;
}
@-webkit-keyframes spin {
-webkit-from {
-webkit-transform: rotate(0deg);
-ms-transform: rotate(0deg);
transform: rotate(0deg);
}
-webkit-to {
-webkit-transform: rotate(360deg);
-ms-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@-webkit-keyframes spin {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes spin {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
.oh-titlebar__tag.filter-field {
border: solid 1px #ff450033;
}
.oh-titlebar__tag--custom {
background-color: rgba(255, 68, 0, 0.543) !important;
color: white;
}
.loader-container {
position: relative;
width: 120px;
height: 120px;
margin-left: 199px;
}
.loader {
border: 10px solid #f3f3f3;
border-radius: 50%;
border-top: 10px solid #a4a3a3;
width: 100%;
height: 100%;
-webkit-animation: spin 2s linear infinite;
/* Safari */
animation: spin 2s linear infinite;
}
.loader-text {
position: absolute;
top: 52%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 15px;
font-weight: bold;
color: #000;
}
/* Safari */
@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
}
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.oh-accordion-meta__header .oh-accordion-meta__title {
font-weight: 600;
}
.exclude-accordion-style {
cursor: pointer;
}
.panel {
display: none;
background-color: white;
overflow: hidden;
}
.perm-accordion {
border: 1px solid #6c757d1c !important;
margin: 0 0 2px 0 !important;
width: -100%;
}
.app-permissions {
background-color: rgba(242, 249, 255, 0.586);
}
.perm-accordion-active {
background-color: rgba(215, 233, 251, 0.621) !important;
}
.perm-accordion-active:hover {
background-color: rgba(215, 233, 251, 0.408) !important;
}
.arrow-up::before {
content: '\21D1';
font-size: 15px;
display: inline-block;
margin-right: 5px;
}
.arrow-down::before {
content: '\21D3';
font-size: 15px;
display: inline-block;
margin-right: 5px;
}
.arrow-up-down::before {
content: '\21C5';
font-size: 15px;
display: inline-block;
margin-right: 5px;
}
.oh-activity-sidebar__header {
position: relative;
}
.delete-all-link {
position: absolute;
color: rgb(63 124 242);
top: -5px;
right: 10px;
margin: 10px;
cursor: pointer;
}
.oh-sticky-table__right {
position: sticky;
right: 0;
background-color: #fff;
}
.select2-container .select2-selection.select2-selection--multiple {
padding: 5px !important;
max-height: 90px !important;
overflow: hidden;
overflow-y: scroll;
}
@media screen and (max-width: 575.98px) {
.at-work-seconds {
font-size: 10px;
}
#attendance-activity-container .oh-btn {
padding: 0.5rem 0.2rem;
}
.oh-pagination {
margin-bottom: 10px;
}
}
.oh-main__topbar {
padding-bottom: 1rem;
}
.oh-inner-sidebar-content {
padding-top: 0;
}
.hydrated:not(.close-icon) {
margin-right: 4px;
}
.required-star::after {
content: "*";
padding-left: 5px;
color: #000000;
}
.oh-navbar {
z-index: 15 !important;
}
.swal2-actions {
direction: rtl;
}
.oh-dropdown__menu {
z-index: 15
}
.chart_close_button {
display: none;
}
.oh-card-dashboard:hover .chart_close_button {
display: block;
}
.animated-background {
animation-duration: 2s;
animation-fill-mode: forwards;
animation-iteration-count: infinite;
animation-name: placeHolderShimmer;
animation-timing-function: linear;
background-color: #f6f7f8;
background: linear-gradient(to right, #eeeeee9c -58%, #e4e4e496 18%, #eeeeee61 33%);
background-size: 800px 64px;
height: 300px;
position: relative;
}
@keyframes placeHolderShimmer {
0% {
background-position: -800px 0
}
100% {
background-position: 800px 0
}
}
.d-inline {
display: inline !important;
}
.d-none {
display: none !important;
}
.oh-sidebar__company {
position: sticky;
top: 0;
left: 0;
backdrop-filter: blur(8px);
z-index: 9 !important;
}
.note-modal-backdrop {
display: none !important;
}
.lastTh {
position: sticky;
right: 0;
background-color: #ffff !important;
z-index: 2;
width: 160px;
@media (max-width: 768px) {
position: unset;
}
}
.fixed-table td {
line-height: 1;
}
.lastTd {
position: sticky;
right: 0;
z-index: 2;
width: 160px;
overflow: scroll;
scrollbar-width: none !important;
padding: 4px !important;
@media (max-width: 768px) {
position: unset;
}
}
.oh-tabs__tab--active {
border-right: solid 1px #dddddd !important;
}
.row-dropdown:hover {
border: solid 1px #dddddddd !important;
}
.custom-radio-container input[type="radio"] {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}
/* New radio button style */
.custom-radio-checkmark {
width: 18px;
height: 18px;
background-color: #eee;
border-radius: 50%;
border: 2px solid #ccc;
display: inline-block;
position: relative;
cursor: pointer;
}
/* Selected radio */
.custom-radio-container input[type="radio"]:checked+.custom-radio-checkmark {
background-color: red;
border-color: red;
}
/* White center */
.custom-radio-checkmark::after {
content: "";
position: absolute;
display: none;
}
.custom-radio-container input[type="radio"]:checked+.custom-radio-checkmark::after {
display: block;
width: 10px;
height: 10px;
background: white;
border-radius: 50%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.oh-modal_close--custom {
border: none;
background: none;
font-size: 1.5rem;
opacity: 0.7;
position: absolute;
top: 25px;
right: 15px;
}
.oh-inner-sidebar__link {
cursor: pointer;
}
.oh-inner-sidebar__link--active {
border: solid 1px;
border-radius: 5px;
}
#c {
position: absolute;
top: 0;
left: 0;
width: 100%;
/* Make sure the canvas fills the modal */
height: 100%;
z-index: 1000;
/* Ensure it's above the blurred background */
pointer-events: none;
/* Ensure clicks pass through to underlying content */
height: 100%;
z-index: 1000;
pointer-events: none;
}
#profile-view .oh-general__tab {
margin-bottom: 15px;
}
#profile-view .resign-status {
background: #73bbe12b;
font-size: 0.8rem;
padding: 4px 8px;
border-radius: 10px;
margin-bottom: 6px;
font-weight: 600;
color: #357579;
}
#profile-view .enlarge-image-container {
display: none;
position: fixed;
top: 40%;
left: 40%;
transform: translate(-50%, -50%);
width: 30%;
height: 50%;
z-index: 9999;
}
#profile-view .enlarge-image-container img {
max-width: 100%;
height: auto;
border-radius: 5%;
}
#profile-view .oh-sticky-table {
max-height: 50vh;
}
#profile-view .oh-modal_close--custom {
border: none;
background: none;
font-size: 1.5rem;
opacity: 0.7;
position: absolute;
top: 25px;
right: 15px;
}
#profile-view .oh-tabs__tablist .oh-tabs__tab--active:nth-last-child(2) {
border-right: 1px solid hsl(213deg, 22%, 84%);
}
#profile-view .custom-dialog {
max-width: 1000px;
max-height: 800px;
}
#profile-view .file-validation {
color: #4f5bd9;
background-color: #d8e7f0;
border-color: #d6e9c6;
padding: 15px;
border: 1px solid transparent;
border-radius: 4px;
}
#profile-view .oh-not-found {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 50vh;
opacity: 0.5;
}
#profile-view .editable-input:read-only {
color: hsl(0, 0%, 11%);
background-color: transparent;
border: none;
height: 100%;
border: 1px solid transparent;
}
#profile-view .editable-input:read-only:hover {
border: 1px solid hsl(213, 22%, 84%);
}
#profile-view .file-upload {
margin-top: 6px !important;
width: 34px !important;
height: 34px !important;
font-size: 1.75rem !important;
}
#profile-view .file-upload {
margin-top: 6px !important;
width: 34px !important;
height: 34px !important;
font-size: 1.75rem !important;
}
.oh-offboarding-card {
height: 450px !important;
}
.display-justify-center {
display: flex !important;
justify-content: space-between !important;
align-items: center !important;
}
#ObjectiveDetailedViewContainer .avatars {
display: flex;
padding: 8px 10px 8px 10px;
}
#ObjectiveDetailedViewContainer .avatars__item {
background-color: #596376;
border: 2px solid white;
border-radius: 100%;
color: #ffffff;
display: block;
font-family: sans-serif;
font-size: 12px;
font-weight: 100;
height: 26px;
width: 26px;
line-height: 17px;
text-align: center;
transition: margin 0.1s ease-in-out;
overflow: hidden;
margin-left: -10px;
}
#ObjectiveDetailedViewContainer .avatars__item:first-child {
z-index: 5;
}
#ObjectiveDetailedViewContainer .avatars__item:nth-child(2) {
z-index: 4;
}
#ObjectiveDetailedViewContainer .avatars__item:nth-child(3) {
z-index: 3;
}
#ObjectiveDetailedViewContainer .avatars__item:nth-child(4) {
z-index: 2;
}
#ObjectiveDetailedViewContainer .avatars__item:nth-child(5) {
z-index: 1;
}
#ObjectiveDetailedViewContainer .avatars__item:last-child {
z-index: 0;
}
#ObjectiveDetailedViewContainer .avatars__item img {
width: 100%;
}
#ObjectiveDetailedViewContainer .avatars:hover .avatars__item {
margin-right: 10px;
}
#ObjectiveDetailedViewContainer .select2-container .select2-selection.select2-selection--multiple {
padding: 5px !important;
max-height: 70px !important;
overflow: hidden;
overflow-y: scroll;
}
#ObjectiveDetailedViewContainer .search-highlight {
background-color: rgba(255, 68, 0, 0.076);
}
#ObjectiveDetailedViewContainer #enlargeImageContainer {
position: absolute;
left: -300px;
top: 100px;
height: 200px;
width: 200px;
}
.oh-custom-select {
width: 90%;
color: hsl(0, 0%, 11%);
background-color: transparent;
height: 100%;
border: 1px solid transparent;
}
.oh-dot--color-completed {
background-color: #21c06b
}
.oh-dot--color-stuck {
background-color: #ff0400
}
.oh-dot--color-in_progress {
background-color: #3398db
}
.oh-dot--color-todo {
background-color: #e3b75f80
}
.d-flex-justify-between {
display: flex !important;
justify-content: space-between !important;
align-items: center !important;
}
#faqContainer .oh-faq__item-body {
background: #e9dfec9c;
opacity: 0.7;
}
.oh-faq__tag {
border-radius: 10px;
font-weight: 600;
}
#faqContainer .oh-faq__item-body {
max-height: 0;
transition: max-height 0.3s ease, padding 0.3s ease;
overflow-y: auto;
}
#faqContainer .oh-faq__item--show .oh-faq__item-body {
max-height: 200px;
/* Adjust the max-height as needed */
}
#faqContainer .oh-title_faq__main-header {
width: 70%;
}
#faqContainer .oh-select-faq {
width: 12%;
}
#faqContainer .oh-select-faq,
.oh-select-faq:last-child,
.oh-faq__input-search {
margin: 1rem 0;
}
#faqContainer h1.oh-main__titlebar-title {
margin-bottom: 0;
}
#faqContainer .oh-faq_search--icon {
top: 17px;
}
.truncated-text {
position: relative;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.truncated-text::after {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: linear-gradient(to bottom,
rgba(255, 255, 255, 0),
rgba(255, 255, 255, 1) 80%);
pointer-events: none;
}
#faqContainer .oh-faq_search--icon{
top:17px;
}
.swal2-styled.swal2-confirm{
background-color: rgb(0, 128, 0);
}
.swal2-styled.swal2-cancel{
background-color : rgb(221, 51, 51);
}