/* Authors : Carlos C. Corrada-Bravo David J. Ortiz-Rivera Organization : Centro de Desarrollo y Consultoria Computacional Project : OPASO Material Registry File : laboratory.css Description : Styling for laboratory/inventory pages */ .main-form{ top: 0%; opacity: 0; width: 100%; height: 100%; text-align: center; padding: 105px 0; will-change: transform,opacity; transform: translateY(-100%); will-change: transform, opacity; transition: transform 0.5s,opacity 0.5s ease-in-out; } .form-shader{ opacity: 0; z-index: -1; width: 100%; height: 100%; overflow: hidden; text-align: center; position: absolute; background-color: rgb(0,0,0,0.85); will-change: z-index,opacity; transition: z-index 0.25s, opacity 0.25s ease-in-out; } .t-form{ display: none; } .c-form{ display: block !important; } .alert-shader{ width: 100%; height: 100%; z-index: 9998; position: absolute; background-color: rgb(0,0,0,0.25); } .alert-wrapper{ opacity: 0; z-index: -1; width: 100%; height: 100%; position: absolute; text-align: center; will-change: opacity; background-color: rgb(0,0,0,0.85); /* transition: opacity 0.15s ease-in-out; */ } .query-btn{ cursor: pointer; padding: 0px 5px; border-radius: 0px; color: #202124; border-bottom: 2px solid transparent; } .query-btn:hover{ color: #060606; border-bottom: 2px solid #060606; transition: border-bottom 0.5s ease-in-out; } .confirm-header{ text-align: left; padding: 7.5px 15px; background-color: #fff; border-bottom: 1px solid rgb(218,220,224); } .submit-usage{ margin-top: 5%; color: darkgray; } .confirm-alert{ top: 50%; margin: auto; height: 175px; overflow: auto; z-index: 9999; color: #202124; max-width: 300px; position: relative; border-radius: 2.5px; display: inline-block; background-color: #fff; transform: translateY(-50%); border: 1px solid rgb(218,220,224); } .query-actions{ right: 15px; bottom: 15px; position: absolute; } .mi-wrapper{ padding: 5px 15px; display: inline-block; } .confirm-message{ color: #202124; text-align: left; } .form-wrapper{ width: 275px; margin: auto; z-index: 9999; position: relative; border-radius: 2.5px; background-color: #fff; border: 1px solid rgb(218,220,224); } .main-form{ top: 0%; opacity: 0; width: 100%; height: 100%; text-align: center; padding: 105px 10% 15px; will-change: transform,opacity; transform: translateY(-100%); will-change: transform, opacity; transition: transform 0.5s,opacity 0.5s ease-in-out; } .actions-cell{ width: 150px; } .form-header{ float: left; font-size: 20px; color: #202124; display: inline-block; text-transform: capitalize; } .close-icon{ float: right; cursor: pointer; color: darkgray; display: inline-block; } .form{ width: 100%; text-align: center; } .add-form,.edit-form{ top: 0%; opacity: 0; width: 100%; height: 100%; text-align: center; position: absolute; padding: 105px 10% 15px; will-change: transform,opacity; transform: translateY(-100%); will-change: transform, opacity; transition: transform 0.5s,opacity 0.5s ease-in-out; } .add-form-wrapper,.edit-form-wrapper{ border-radius: 2.5px; background-color: #fff; border: 1px solid rgb(218,220,224); } .add-form-body,.edit-form-body{ width: 100%; overflow-y: auto; } .add-form-body-wrapper,.edit-form-body-wrapper{ width: 100%; } #add-submit,#edit-submit{ float: right; } .form-body{ padding: 7.5px 15px 0px; } .form-header-wrapper,.add-form-header-wrapper,.edit-form-header-wrapper{ width: 100%; display: inline-block; padding: 10px 15px 0px; border-bottom: 1px solid rgb(218,220,224); } .li-wrapper{ width: 100%; float: left; margin-bottom: 1%; display: inline-block; } .control-wrapper{ float: right; text-align: left; position: relative; display: inline-block; } .text-field{ height: 30px; width: 155px; float: right; padding: 7.5px; color: #202124; text-align: right; position: relative; border-radius: 2.5px; margin-bottom: 7.5px; display: inline-block; background-color: #fff; border: 1px solid rgb(218,220,224) !important; } .label{ float: left; color: #202124; font-size: 15px; padding-right: 5px; display: inline-block; transform: translateY(25%); } .form-actions{ width: 100%; padding: 0 15px 15px; display: inline-block; } .person-name{ text-align: left; } .personnel-row:last-child td{ border-bottom: 0px solid rgb(34,40,45) !important; } .personnel,.personnel-wrapper{ width: 450px; } .personnel{ border-radius: 2.5px; border: 1px solid rgb(52,53,54) !important; } .access-level{ text-transform: capitalize; } .transaction-label{ text-transform: capitalize; } .empty-field{ border: 1px solid #fd351d; } .required-field{ color: rgb(255,70,70); } .fields-required{ display: none; color: rgb(255,70,70); } .add-material{ float: left; height: 31.25px; font-size: 15px; padding: 2.5px 7.5px; display: inline-flex; color: #202124; border-radius: 2.5px !important; background-color: #fff; border: 1px solid rgb(218,220,224) !important; } .add-material:hover{ color: #202124; } .add-material-icon{ font-size: 13.25px; transform: translateY(25%); } .add-text{ float: left; margin-left: 7.5px; transform: translateY(1.25px); } .add-li-wrapper,.edit-li-wrapper{ text-align: left; position: relative; margin-right: 15px; display: inline-block; } .add-li-wrapper .text-field,.edit-li-wrapper .text-field{ height: 35px; text-align: left; } .add-li-wrapper label,.edit-li-wrapper label{ display: block; color: #202124; } .field-warning{ top: 50%; right: 5.5%; display: none; position: absolute; color: rgb(255,243,205); transform: translateY(25%); } .material-input{ width: 100%; height: 35px; float: left; color: #202124; padding: 7.5px; text-align: left; position: relative; border-radius: 5px; margin-bottom: 15px; display: inline-block; background-color: #fff; border: 1px solid rgb(218,220,224); } .add-material{ cursor: pointer; } .form-actions{ text-align: right; } .slide-right{ animation: slide-right 0.5s ease-in-out; transform: translateX(0%); } .details{ float: left; width: 100%; text-align: left; padding: 7.5px 15px; display: inline-block; border-top: 1px solid rgb(218,220,224); } .details:first-child{ border-top: none; } .details-header{ color: #202124; } .add-form-actions,.edit-form-actions{ width: 100%; text-align: right; display: inline-block; padding: 15px 15px 7.5px; } .medium-field{ width: 25%; } .large-field{ width: 27.5%; } .small-field{ width: 6.25%; } .extra-small-field{ width: 3.5%; } .number-field{ width: 7.5%; } input[name=capacity],input[name=quantity]{ text-align: right; } input[name=state],input[name=type]{ text-align: center; } .quantity{ margin-left: 5px; } .uom{ margin-left: 20px; } .ghs-description,.hazard-description]{ display: none; } .material-link{ font-size: 12.5px; margin-left: 15px; } .float-right{ float: right; display: inline-block; } .hidden-entry{ display: none; } .select-form{ width: 100%; height: 31.25px; padding: 7.5px 0px; margin-right: 15px; display: inline-block; text-align: right !important; transform: translateY(-3.75px); } .select-header{ font-size: 12.5px; margin-right: 7.5px; display: inline-block; } .material{ cursor: pointer; } td[value=mat_name]{ cursor: pointer; } .material-data-icon-wrapper{ padding: 15px; } .material-data-shader{ left: 0; top: 0; z-index: 9999; width: 100%; height: 100%; position: absolute; will-change: transform; transform: translateX(-100%); background-color: rgba(0,0,0,0); transition: all 0.25s ease-in-out; } .material-data-wrapper{ left: 0; top: 0px; width: 300px; height: 100%; background-color: #fff; border-right: 1px solid rgb(52,53,54); } .material-data-row *{ color: #060606; } .material-data-row,.material-name-wrapper{ width: 100%; padding: 5px 15px; display: inline-block; word-break: break-all; } .material-data-row{ padding-left: 30px; } .material-name-wrapper{ border-bottom: 1px solid rgb(52,53,54); } .material-name{ float: left; color: #060606; width: initial; display: inline-block; } .material-data-text{ color: #060606; } .shader{ background-color: rgba(0,0,0,0.5); transition: all 0.25s ease-in-out; } .edit-link{ float: left; margin-left: 5px; font-size: 13.125px; transform: translateY(-2.5%); } .table-sub-header{ width: initial; display: inline-block; } .sub-header-wrapper{ width: 100%; display: inline-block; } .hide-material-data-icon{ float: right; cursor: pointer; display: inline-block; color: darkgray; } span[value=sds] *{ color: rgb(58,132,247); } .fade-in{ opacity: 1; z-index: 9999; transition: transform 0.25s,opacity 0.25s ease-in-out; } .quick-fade-in{ opacity: 1; z-index: 9999; transition: opacity 0.125s ease-in-out; } .slide-down{ opacity: 1; z-index: 9999; transform: translateY(0%); transition: transform 0.5s,opacity 0.5s ease-in-out; } .slide-right{ transform: translateX(0%); transition: transform 0.25s ease-in-out; } .sds{ cursor: pointer; color: rgb(5,125,255); } td[value=ghs]{ max-width: 150px; } .edit{ resize: both; left: 0px; top: 0px; z-index: 5; width: 100%; height: 100%; padding: 2.5px; transition: none; text-align: inherit; position: absolute; border: 1px solid rgb(102,103,104); } @media screen and (max-width: 991px){ .material-data-shader{ z-index: 9999; } .material-data-wrapper{ top: 0px; width: 90%; height: 100%; } .personnel,.personnel-wrapper{ width: 100%; } .add-form input,.edit-form input{ text-align: left; } .add-form,.edit-form{ padding: 15px; overflow-y: auto; } }