/********** * GLOBAL * **********/ *{ padding: 0; margin: 0; box-sizing: border-box; font-size: 1rem; font-family: "Manrope", sans-serif; } :root{ --pr-color: red; --sc-color: white; --tr-color: black; --fr-color: #d6d6d6; --fv-color: #f2f2f2; --sx-color: #c7000ab8; --sv-color: #900007; --row-color: #f8dee0; --dark-pr-color: #353535; --dark-sc-color: #38383845; --dark-row-color: #000000bd; } body{ width: 50rem; /* width: 47rem; */ } /********* * TABLE * *********/ table{ border-collapse: collapse; width: 100%; } table:after { /* content: "30 days free Trial"; text-transform: uppercase; position: fixed; color: var(--sc-color); font-weight: bold; top: 40px; letter-spacing: 2.3px; left: -70px; rotate: -45deg; font-size: 0.7rem; background: #00e300d9; width: 250px; padding: 0.3rem; display: flex; align-items: center; justify-content: center; z-index: 99; */ } thead{ background: var(--pr-color); color: var(--sc-color); position: sticky; top: 136px; z-index: 50; } td, th { padding: 0.9rem 1rem; } tbody tr{ border-top: 1px solid var(--fr-color); }tbody tr td { border: 0 !important; text-align: center; } tfoot { position: sticky; bottom: 0; z-index: 999; } /***************** * TABLE HEADING * *****************/ .logo_container { position: sticky; background: var(--tr-color); color: var(--sc-color); padding: 1rem 1.5rem; display: flex; flex-direction: row; justify-content: space-between; align-items: center; /* position: relative; */ top: 0; z-index: 99; }.logo_container:after { content: "Beta 2.0"; color: var(--sc-color); position: absolute; left: 175px; bottom: 25px; background: var(--pr-color); width: 60px; display: flex; align-content: center; justify-content: center; flex-wrap: wrap; font-size: 0.7rem; font-weight: 700; border-radius: 5rem; } .logo_container img{ width: 8rem; } /* date selector */ .date-container{ display: flex; align-items: center; justify-content: space-between; min-width: 17rem; background: var(--sv-color); height: 2.3rem; border-radius: 5rem; padding: 0 0.5rem; }.date-container #datetime { display: flex; align-items: center; justify-content: center; color: var(--tr-color); background: var(--sc-color); font-size: 0.9rem; font-weight: 800; min-width: 13rem; min-height: 1.6rem; border-radius: 5rem; }.date-container .date-buttons { border: none; background: var(--sc-color); color: var(--tr-color); border-radius: 5rem; padding: 0.1rem 0.7rem; cursor: pointer; } #reset_date { margin: 0 0.4rem; } .date-picker{ padding: 0.1rem 1rem 0.1rem 1.3rem; border: none; border-radius: 5rem; position: absolute; right: 32px; min-width: 13rem; } /*************************** * ADDITIONAL FEATURES ROW * ***************************/ /* container */ .additional_features { display: flex; align-items: center; justify-content: space-around; padding: 1rem 2rem 0.8rem; background: var(--tr-color); border-bottom: 1px solid var(--sc-color); } /* login btn */ .additional_features a{ background: var(--sx-color); border-radius: 2rem; display: inline-flex; height: 2.25rem; width: 7.7rem; text-decoration: none; color: var(--sc-color); display: flex; justify-content: center; align-items: center; text-transform: uppercase; }.additional_features a span{ position: relative; left: -0.6rem; font-size: 0.8rem; font-weight: 600; background: var(--tr-color); padding: 0.35rem 1.3rem 0.4rem; border-radius: 5rem; }.additional_features a i { font-size: 1rem; position: relative; right: 0rem; top: -1px; opacity: 0.4; } /* checkboxes */ .checkbox-btn { width: 100px; height: 36px; position: relative; } .checkbox { position: relative; z-index: 2; width: 100% !important; height: 100% !important; background: var(--pr-color); margin: 0; padding: 0; cursor: pointer; opacity: 0; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .toggler { background: var(--pr-color); position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; background-color: var(--sx-color); line-height: 1; color: var(--sc-color); transition: background-color 0.15s ease-out; border-radius: 2px; text-transform: uppercase; font-size: 12px; font-weight: 700; } .checkbox-btn--rounded .toggler { border-radius: 40px; } .toggler::before { display: flex; align-items: center; justify-content: center; position: absolute; top: 4px; left: 4px; bottom: 4px; padding: 0 12px; border-radius: 2px; /* background-color: var(--pr-color); */ background-color: var(--sc-color); color: var(--tr-color); content: attr(data-label-unchecked); transition: all 0.15s ease-out; min-width: 32px; } .checkbox-btn--rounded .toggler::before { border-radius: 40px; } .checkbox:hover + .toggler { background-color: #ff0013b5; } .checkbox:active + .toggler::before { padding: 0 20px; } .checkbox:checked + .toggler::before { background-color: var(--tr-color); color: var(--sc-color); content: attr(data-label-checked); left: calc(100% - 4px); transform: translateX(-100%); } /* mensa reminde */ .mensa_reminder{ width: 110px; }.mensa_reminder::after { content: "\f0f3"; color: var(--sc-color); font-family: 'FontAwesome'; position: absolute; top: 10px; left: 15px; }.mensa_reminder::before { content: "\f1f6"; font-family: 'FontAwesome'; position: absolute; right: 14px; top: 8.8px; color: var(--sc-color); } /* dataentry reminde */ .dataentry_reminder{ width: 140px; }.dataentry_reminder::after { content: "\f0f3"; color: var(--sc-color); font-family: 'FontAwesome'; position: absolute; top: 10px; left: 15px; }.dataentry_reminder::before { content: "\f1f6"; font-family: 'FontAwesome'; position: absolute; right: 14px; top: 8.8px; color: var(--sc-color); } /* dark light mode */ .dark_light_mode{ width: 100px; }.dark_light_mode .toggler{ /* font-family: 'FontAwesome' !important; */ /* font-size: 1rem; */ }.dark_light_mode::after { content: "\f186"; color: var(--sc-color); font-family: 'FontAwesome'; position: absolute; top: 10px; left: 15px; }.dark_light_mode::before { content: "\f185"; font-family: 'FontAwesome'; position: absolute; right: 14px; top: 8.8px; color: var(--sc-color); } /*************** * COLS WIDTHS * ***************/ th:nth-child(3), th:nth-child(4), th:nth-child(5) { width: 5rem; } th:nth-child(6), th:nth-child(7){ width: 1rem; } /**************** * HOURS INPUTS * ****************/ input[type="checkbox"] { /* width: 53px; */ width: 0px; } .project_code, .project_name { font-size: 0.9rem; } .project_code{ position: relative; /* cursor: move; */ padding-left: 1.5rem; padding-right: 0.5rem; }.project_code:before { content: "\f142\f142"; font-size: 0.7rem; font-family: 'FontAwesome'; position: absolute; left: 11px; top: 40.5%; color: #878787; } .project_name{ font-weight: 700; text-transform: uppercase; font-size: 0.87rem; }.data_input { border: 1px solid var(--fr-color); padding: 0.6rem; width: 85%; } input.project_code_input.data_input { position: absolute; left: 9px; width: 9rem; margin-top: -1.4rem; }input.project_input.data_input { position: absolute; left: 162px; /* width: 9.6rem; */ width: 12.6rem; margin-top: -1.4rem; } .save_btn { color: var(--sc-color); background: var(--pr-color); border: none; width: 26.2rem; height: 43px; margin-top: -22px; position: absolute; right: 0.5rem; z-index: 2; cursor: pointer; } .hours_selector{ width: 4.5rem; border: 1px solid var(--fr-color); border-radius: 3rem; padding: 0.2rem 0.8rem; padding-right: 0; font-size: 0.9rem; font-weight: 400; text-align: center; } .add_project { /* text-align: center; */ text-align: start; background: var(--tr-color); }.add_project button { background: var(--pr-color); outline: none; border: none; width: 180px; height: 35px; /* border-radius: 0.4rem; */ color: var(--sc-color); font-size: 1.6rem; cursor: pointer; transition: all .3s ease; border-radius: 5rem; }.add_project button:hover { background: var(--pr-color); } .Totalh { background: var(--tr-color); color: var(--sc-color); text-align: center; } /*********** * ACTIONS * ***********/ .delete_checkbox::after { /* content: "\f1f8"; */ content: "x"; font-size: 0.8rem !important; font-weight: 600; font-family: 'FontAwesome'; background: var(--pr-color); color: var(--sc-color); cursor: pointer; position: relative; top: 0.08rem; right: 0.6rem; border: none !important; height: 1.8rem !important; width: 1.8rem !important; } /* .edit_checkbox::after { content: "\f044"; font-size: 1rem; font-weight: 600; font-family: 'FontAwesome'; color: var(--pr-color); cursor: pointer; position: relative; right: 0.7rem; } */ .data_entry_link::after { content: "\f08e"; font-size: 0.9rem; font-weight: 600; font-family: 'FontAwesome'; color: var(--pr-color); cursor: pointer; position: relative; right: 0.9rem; } .data_entry_link::after, .delete_checkbox::after{ font-size: 0.7rem; display: inline-flex; height: 24px; width: 24px; /* background: var(--tr-color); */ border: 2px solid var(--pr-color); align-items: center; justify-content: center; border-radius: 50%; transition: all .3s ease; }.data_entry_link::after{ background: var(--pr-color); color: var(--sc-color); cursor: pointer; }.data_entry_link:hover::after{ background: var(--tr-color); border-color: var(--tr-color); color: var(--sc-color); }.delete_checkbox:hover::after{ background: var(--tr-color); } .reset_h_fields { position: relative; top: 0.13rem; right: 1.3rem; border: none; color: var(--sc-color); background: var(--pr-color); height: 1.8rem; width: 1.8rem; border-radius: 4rem; transition: all .3s ease; }.reset_h_fields i { font-size: 0.9rem; }.reset_h_fields:hover{ cursor: pointer; background: var(--tr-color); } /********************** * DEACTIVATE ACTIONS * **********************/ tbody tr{ /* background: #900209; color: var(--sc-color); */ background: var(--row-color); color: var(--tr-color); } tbody tr input[type="checkbox"] { pointer-events: none; cursor: not-allowed; }.delete_checkbox::after{ background-color: var(--fv-color); border-color: var(--fv-color); color: var(--dark-sc-color); } .dnone_actions{ background: var(--sc-color); color: var(--tr-color); } .dnone_actions .data_entry_link, .dnone_actions .reset_h_fields{ pointer-events: none; cursor: not-allowed; } .dnone_actions .reset_h_fields, .dnone_actions .data_entry_link::after{ background-color: var(--fv-color); border-color: var(--fv-color); color: var(--dark-sc-color); } .dnone_actions .delete_checkbox{ pointer-events: initial; cursor: pointer; }.dnone_actions .delete_checkbox::after{ border: 2px solid var(--pr-color); background: var(--pr-color); color: var(--sc-color); } /*********** * BUTTONS * ***********/ /* #edit_date{ background: none; color: var(--sc-color); padding: 0.1rem .5rem; border: none; } */ button:disabled { cursor: crosshair; } button:disabled { cursor: not-allowed; opacity: 0.6; background: #585858 !important; } /**************** * TABLE FOOTER * ****************/ .Adhoc_send { background: var(--tr-color); }.Adhoc_send button { background: var(--pr-color); border: none; height: 2.2rem; width: 7.2rem; border-radius: 5rem; color: var(--sc-color); position: relative; overflow: hidden; }#send_btn:after { /* content: "VIP"; position: absolute; font-weight: bold; bottom: 9px; letter-spacing: 2.3px; right: -50px; rotate: 45deg; font-size: 0.6rem; background: gold; width: 145px; border-radius: 1rem; color: var(--tr-color); */ content: "SOON"; position: absolute; font-weight: bold; bottom: 12px; letter-spacing: 2.3px; right: -50px; rotate: 45deg; font-size: 0.5rem; background: var(--pr-color); color: var(--sc-color); width: 145px; border-radius: 1rem; }#send_btn:disabled { cursor: not-allowed; opacity: 1; color: grey; background: #58585882 !important; } /****************************** * ADDITIONAL ACCESS BLOCKING * ******************************/ .block_access_mssg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 99999; background: var(--tr-color); color: var(--sc-color); display: flex; justify-content: center; align-items: center; flex-direction: column; } .block_access_mssg h2 { font-size: 1.4rem; margin-bottom: 1rem; width: 25rem; text-align: center; } .block_access_mssg a{ font-size: 1rem; font-weight: 700; color: var(--sc-color); text-decoration: none; height: 2.5rem; width: 10rem; padding: 1.2rem; display: flex; align-items: center; justify-content: center; background: var(--pr-color); border: 2px solid var(--pr-color); border-radius: 5rem; transition: all .3s ease; }.block_access_mssg a:hover{ background: transparent; border-color: var(--sc-color); } /************* * DARK MODE * *************/ .dark-mode .date-container #datetime, .dark-mode .date-container .date-buttons{ background: var(--tr-color); color: var(--sc-color); } .dark-mode thead tr th { background: var(--tr-color) !important; } .dark-mode tr, .dark-mode .search_row, .dark-mode .fa-magnifying-glass, .dark-mode .save_btn, .dark-mode .add_project button { background: var(--sv-color) !important; color: var(--sc-color) !important; } .dark-mode tr.dnone_actions td{ /* background: var(--tr-color); */ background: var(--dark-row-color); color: var(--sc-color); } /* .dark-mode .search_row, .dark-mode .date-container, .dark-mode .checkbox, .dark-mode .toggler { background: #3c3c3c !important; } */ .dark-mode .dnone_actions .reset_h_fields, .dark-mode .dnone_actions .data_entry_link::after { background-color: var(--dark-pr-color); border-color: var(--dark-pr-color); color: #ffffff45; }.dark-mode .dnone_actions .delete_checkbox::after{ background-color: var(--pr-color); border-color: var(--pr-color); color: var(--sc-color); }.dark-mode .delete_checkbox::after { background-color: #680005; border-color: var(--dark-pr-color); color: #ff959545; } /* tr td, .hours_selector{ background: var(--tr-color); color: var(--sc-color); } */ .search_row { position: sticky; top: 65px; background: var(--pr-color); display: flex; padding: 1rem 0; border-bottom: 1px solid var(--sc-color); border-top: 1px solid var(--sc-color); z-index: 99; } #search_project { border: none; padding: 0.5rem 2rem; width: 70%; border-radius: 6rem; margin: auto; }#search_project:focus-visible { outline: 3px solid var(--pr-color); } /**************** * TABLE EFFECT * ****************/ tbody tr { position: sticky; top: 210px; /* box-shadow: 1px 1px 20px 0px #00000021; */ /* z-index: 999; */ z-index: 98; } .dnone_actions { position: static; z-index: 888; } /***************** * NATALE EFFECT * *****************/ .search_row i::after { content: ""; width: 80px; height: 80px; /* background-image: url('https://png.pngtree.com/png-clipart/20201209/original/pngtree-side-profile-of-wearing-a-long-haivar(--pr-color)-santa-hat-png-image_5663661.jpg'); */ /* background-image: url('/icon.png'); */ position: absolute; z-index: 1599; top: -35px; right: -35px; background-size: contain; background-repeat: no-repeat; background-position: center; } /**************************************** * STYLES FOR POPUP WHILE UPDATING DATE * ****************************************/ .popup { position: fixed; bottom: 70px; right: 7px; background-color: rgba(0, 0, 0, 0.8); color: var(--sc-color); padding: 20px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); display: none; /* Hidden by default */ opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.5s; z-index: 999; /* Ensure it's on top */ } .popup.show { display: block; opacity: 1; transform: translateY(0); } .popup-content { display: flex; justify-content: space-between; align-items: center; } #popupMessage { font-size: 16px; margin-right: 20px; } .close-btn { background-color: transparent; color: var(--sc-color); font-size: 18px; border: none; cursor: pointer; } .close-btn:hover { color: #ff6347; /* Change color on hover */ } /* Animation for showing the popup */ @keyframes popupSlideIn { 0% { transform: translateY(20px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }