/* Authors : Carlos C. Corrada-Bravo David J. Ortiz-Rivera Organization : Centro de Desarrollo y Consultoria Computacional Project : OPASO Material Registry File : main.css Description : Main styling for page, navbar and footer */ *{ box-sizing: border-box; } :root{ --alt: #323940; --overflow: #000; --primary: #64b5f6; --secondary: #3651fc; --base: rgb(36,41,46); --overlay-dark: #2d2f34; --overlay-light: #383b40; --surface: rgb(44,44,46); } body,html,.content{ width: 100%; height: 100%; display: block; overflow: hidden; } .content{ overflow-y: auto; overflow-x: hidden; } .navbar{ top: 0; width: 100%; height: 60px; display: block; position: relative; text-align: left; background-color: #060606; padding: 12.5px 10% !important; /* border-bottom: 1px solid rgb(52,53,54); */ } .navbar-header{ float: left; display: inline-block; } .navbar-title{ color: #fbfbfb; font-size: 25px; font-weight: 700; text-transform: capitalize; } .navbar-title:hover{ color: darkgray; text-decoration: none; } .link-wrapper{ width: 85%; float: right; display: block; padding-left: 15px; } .navbar-nav{ display: inline-block; transform: translateY(25%); } .nav-item{ float: left; display: inline-block; } .nav-link{ float: left; color: #969696; font-size: 15px; margin-right: 15px; text-decoration: none; display: inline-block; padding: 0px !important; } .nav-link:hover{ color: #fbfbfb; } .current{ color: #fbfbfb; } .um-wrapper{ width: 200px; float: right; display: flex; cursor: pointer; position: relative; font-weight: bold; font-size: 15px; padding: 5px 15px; border-radius: 2.5px; border: 1px solid transparent; } .um-wrapper[aria-expanded=true]{ border-bottom-left-radius: 0px; background-color: #060606; border: 1px solid rgb(52,53,54); } .user-menu{ width: 100%; float: right; display: block; background-color: transparent; } .user{ width: 100%; color: #fbfbfb; padding-left: 0px; padding-right: 0px; font-size: 15px; } .um-icons{ float: right; transform: translateY(25%); } .dropdown-icon{ color: darkgray; font-size: 12.5px; transform: translateY(50%); } nav .dropdown-menu{ margin: 0%; width: 10%; top: 102.5%; left: -1.05px; padding: 0px; border-radius: 0px; border: 1px solid rgb(52,53,54); border-top: none; background-color: #060606; border-bottom-left-radius: 2.5px; border-bottom-right-radius: 2.5px; } .dropdown-divider{ margin: 0px; border-top: 1.5px solid #272728; } nav .dropdown-item{ cursor: pointer; color: lightgray; font-size: 13.5px; margin-bottom: 0px; padding: 7.5px 15px; border-radius: 0px !important; } .dropdown-item:last-child{ border-bottom-left-radius: 2.5px !important; border-bottom-right-radius: 2.5px !important; } .dropdown-item:hover{ color: #ffffff; background-color: #060606; } .main{ width: 100%; padding: 2.5% 10%; display: inline-block; background-color: #fff; min-height: calc(100% - 60px); } .display{ display: inline-block !important; } .hide{ display: none !important; } .invalid{ border: 1px solid rgb(220,53,69) !important; } .invalid-icon{ color: var(--danger) !important; } .main-wrapper{ width: 100%; padding: 0; display: none; min-height: 100%; } .header-wrapper{ width: 100%; padding: 0px 0px 30px; display: inline-block; } .header{ margin: 0; width: 100%; float: left; color: #202124; font-weight: 700; display: inline-block; text-transform: capitalize; } .table-wrapper{ width: 100%; height: 100%; padding: 0px; overflow: auto; border-radius: 2.5px; display: inline-block; border: 1px solid rgb(52,53,54) !important; } .table{ margin-bottom: 0%; position: relative; border-collapse: separate; border-spacing: 0px; } th{ top: 0; z-index: 2; color: #202124; text-align: center; vertical-align: top; font-weight: normal; border: 1px solid rgb(52,53,54) !important; border-top: none !important; border-left: none !important; vertical-align: top !important; background-color: #e6e6e6; padding: 7.5px 10px 0px !important; } td{ color: #202124; border: none; text-align: center; display: table-cell; word-wrap: break-word; text-overflow: ellipsis; padding: 3.5px 5px !important; border-top: 0 solid !important; border-bottom: 1px solid rgb(52,53,54) !important; border-right: 1px solid rgb(52,53,54) !important; } td,th{ height: 30px; font-size: 13.125px; } td:last-child{ border-right: 0px !important; } td[value=cas]{ max-width: 200px; } td[value=type]{ text-transform: capitalize; } td[value=sds],td[value=transaction]{ width: 50px; } td[value=mat_name],td[value=man_name],td[value=location]{ text-transform: capitalize; } td[value=capacity],td[value=total],td[value=quantity],td[value=uom]{ text-align: right; } th[value=capacity],th[value=total],th[value=quantity],th[value=uom]{ text-align: right; } td[value=mat_name]{ text-align: left; color: rgb(58,132,247); padding-left: 15px !important; } th[value=person_name]{ text-align: left; } .person-name{ padding-left: 15px !important; } tbody tr:first-child td{ border-top: 0px solid #e9e9e9 !important; } th:last-child{ border-right: none !important; } tr:last-child td{ border-bottom: 0px !important; } .option{ border: none; cursor: pointer; background-color: transparent; font-size: 13.125px; } .option:hover{ opacity: 0.80; transform: translateY(0.50px); transition: opacity 0.5s,transform 0.5s; } .alerts{ bottom: 0%; left: 50%; opacity: 0; z-index: 9999; min-width: 325px; font-size: 14px; position: absolute; padding: 15px 15px 30px; will-change: transform,opacity; transform: translate(-50%,100%) scale(0.5); transition: transform 0.5s,opacity 0.25s ease-in-out; } .alert{ margin: 0; width: 100%; color: #fff; padding: 15px; text-align: left; font-weight: normal; position: relative; border-radius: 2.5px; background-color: var(--base); box-shadow: 0 5px 15px rgba(0,0,0,0.25); } .message-icon-wrapper{ display: block; } .message-icon{ display: none; font-size: 30px; margin-bottom: 15px; } .alert-message{ margin: 0; transform: translateY(-2.5%); font-family: "Noto Sans",sans-serif; } .alert-status{ margin: 0; font-weight: bold; margin-bottom: 15px; display: inline-block; text-transform: capitalize; margin-right: 5px !important; font-family: "Noto Sans",sans-serif; } .alert p{ margin: 0px; } .error,.failed,.warning{ background-color: var(--danger); } .success{ background-color: rgb(40,167,69); } .slide-up{ opacity: 1; animation: opacity 0.25s,slide-up 0.5s ease-in-out; transform: translate(-50%,-15%) scale(1); } @keyframes slide-up{ 0%{ transform: translate(-50%,100%) scale(0.5); } 100%{ transform: translate(-50%,-15%) scale(1); } } .button{ border: none; color: white; cursor: pointer; border-radius: 5px; } .button:hover{ box-shadow: none; filter: brightness(95%); } .option-cell{ display: inline-flex; } .trans-cell{ text-align: center; margin-right: 7.5px; } .action{ color: #202124; border: none; font-size: 12.5px; margin-right: 5px; padding: 1.25px 5px; background-color: transparent; border-radius: 2.5px !important; } .action i,.option i{ color: #202124; } .changes-wrapper{ height: 50px; text-align: left; padding-top: 7.5px; } .entry-cell{ position: relative; } .changes{ color: #fff; border: none; cursor: pointer; border-radius: 5px; background-color: rgb(234,64,59); } .delete-wrapper{ margin-top: 15px; } .delete{ color: white; margin-right: 5px; background-color: rgb(68,135,243); } .changes:hover,.delete:hover,.cancel-delete:hover{ opacity: 0.90; color: #eaeded; transition: opacity 0.50s,color 0.50s ease-in-out; } .slide-up{ opacity: 1 !important; transition: opacity 1s ease-in-out; } p{ margin: 0px; } .text:-webkit-autofill, .text:-webkit-autofill:hover, .text:-webkit-autofill:focus, .text:-webkit-autofill:active{ border: 3px solid blue; background-color: #eaeded; -webkit-text-fill-color: gray !important; -webkit-box-shadow: 0 0 0 30px #eaeded inset !important; } .redir{ color: #8cc2ff; } .redir:hover{ text-decoration: none; } .submit-query{ color: rgba(0,0,0,0.5); background-color: #eaeded; border: 1px solid lightgray; } .li-wrapper{ display: block; margin-bottom: 1%; } .footer{ width: 100%; height: 200px; display: block; margin-top: 0px; padding-top: 2.5%; padding-left: 10%; padding-right: 10%; background-color: #060606; } .footer *{ color: #fff !important; } .copyright{ font-size: 10px; font-weight: normal; } .copyright-wrapper{ width: 100%; padding: 0px; text-align: right; } .fa-copyright{ padding: 0px 5px; } .text-field{ top: 0; z-index: 5; float: left; border: none; color: #383838; font-size: 14px; will-change: top; position: absolute; height: calc(100%); padding: 15px 3.75px; width: calc(92.5% - 30px); background-color: transparent; transition: top 0.5s ease-in-out; } .input-wrapper{ width: 100%; height: 45px; position: relative; border-radius: 2.5px; margin-bottom: 10px; background-color: #fff; border: 1px solid rgb(218,220,224); } .actions{ width: 100%; display: block; margin: 7.5px 0px; text-align: center; } .shrink-wrapper{ padding-top: 12.5px; padding-bottom: 2.5px; } .text-field:focus .placeholder{ background-color: #fff; } .action-btn{ color: #fff; padding: 5px; font-size: 15px; display: inline-block; } .action-btn:hover{ color: #fff; } #cancel{ background-color: rgb(200,70,100); } .empty-field{ border: 1px solid rgb(255,70,70) !important; } .required-field{ color: rgb(255,70,70); } .fields-required{ display: none; color: rgb(255,70,70); } .label-input-wrapper{ display: block; margin-bottom: 2.5%; } a:hover{ text-decoration: none; } .popover-content{ display: none; } .search-form-wrapper{ width: 250px; height: 31.25px; margin-left: 15px; display: inline-flex; } .search-form{ width: 100%; float: left; font-size: 14px; border-radius: 2.5px; padding: 2.5px 7.5px; display: inline-block; color: #202124 !important; background-color: #fff; border: 1px solid rgb(218,220,224); } .processing{ width: 100%; margin-top: 5px; margin-bottom: 5px; text-align: center; border-radius: 2.5px; display: inline-flex; } .processing-text{ color: #202124; font-size: 14px; } .loader{ width: 20px; height: 20px; margin-top: 2.5px; margin-left: 25px; border-radius: 50%; display: inline-block; border: 2.5px solid #fff; border-top: 2.5px solid #1a1a1b; animation: spin 2s linear infinite; } .wait{ cursor: wait !important; } .search-form-submit{ width: 15%; float: left; display: none; color: #202124; cursor: pointer; border-left: none; border-top-right-radius: 2.5px; border-bottom-right-radius: 2.5px; background-color: #fff; border: 1px solid rgb(218,220,224); border-left: 0px; } .clear-icon{ font-size: 17.5px; transform: translateY(17.5%); } .active-form .clear-btn{ display: inline-block; } .active-form .search-form{ width: 85%; border-top-right-radius: 0; border-bottom-right-radius: 0; } .float-right{ display: block; } .sort{ cursor: pointer; } .sort-icon{ margin-left: 5px; } .sort-alt{ display: none; } .download-option{ width: 100%; cursor: pointer; padding: 5px; display: inline-block; } .t-icon{ font-size: 20px; } .download-option:hover{ background-color: rgb(245,245,245); } .download{ padding: 0; width: 35px; height: 31.25px; float: left; display: inline-block; margin-left: 15px; margin-right: 15px; } .download-btn{ cursor: pointer; padding: 0; width: 35px; height: 31.25px; border-radius: 2.5px; text-align: center; display: inline-block ; } .download-icon{ transform: translate(9%,10%); } .sub-header{ margin-bottom: 5px; } .main-wrapper .total,.table-total{ margin-top: 5px; text-align: right; padding-right: 5px; } @keyframes spin{ 0%{ transform: rotate(0deg); } 100%{ transform: rotate(360deg); } } @media screen and (max-width: 991px){ .navbar{ height: auto; padding: 7.5px 0px; position: relative; display: inline-flex; border-bottom: 0.5px solid rgb(52,53,54); } .link-wrapper{ width: 100%; padding: 0px; } .navbar-nav,.nav-item{ width: 100%; } .nav-item{ padding-left: 15px; } .nav-link{ width: 100%; text-align: left; } .um-wrapper{ right: 0; width: 100%; margin-top: 10px; padding: 5px 12.5px; position: relative; border-radius: 2.5px; } .header-wrapper{ padding: 15px 0px 7.5px; } .float-right{ width: 100%; } .download{ margin: 15px 0px; width: 100%; } .download-btn{ width: 100%; } .search-form-wrapper{ width: 100%; margin: 15px 0px; } #add-material,#add{ width: 100%; } .download-icon{ transform: translate(25%,10%); } .large-field,.medium-field,.small-field,.extra-small-field{ width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; padding: 0 !important; } }