123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867 |
- /* 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;
- }
- }
|