Proyecto en colaboración con OPASO

main.css 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867
  1. /* Authors : Carlos C. Corrada-Bravo
  2. David J. Ortiz-Rivera
  3. Organization : Centro de Desarrollo y Consultoria Computacional
  4. Project : OPASO Material Registry
  5. File : main.css
  6. Description : Main styling for page, navbar and footer */
  7. *{
  8. box-sizing: border-box;
  9. }
  10. :root{
  11. --alt: #323940;
  12. --overflow: #000;
  13. --primary: #64b5f6;
  14. --secondary: #3651fc;
  15. --base: rgb(36,41,46);
  16. --overlay-dark: #2d2f34;
  17. --overlay-light: #383b40;
  18. --surface: rgb(44,44,46);
  19. }
  20. body,html,.content{
  21. width: 100%;
  22. height: 100%;
  23. display: block;
  24. overflow: hidden;
  25. }
  26. .content{
  27. overflow-y: auto;
  28. overflow-x: hidden;
  29. }
  30. .navbar{
  31. top: 0;
  32. width: 100%;
  33. height: 60px;
  34. display: block;
  35. position: relative;
  36. text-align: left;
  37. background-color: #060606;
  38. padding: 12.5px 10% !important;
  39. /* border-bottom: 1px solid rgb(52,53,54); */
  40. }
  41. .navbar-header{
  42. float: left;
  43. display: inline-block;
  44. }
  45. .navbar-title{
  46. color: #fbfbfb;
  47. font-size: 25px;
  48. font-weight: 700;
  49. text-transform: capitalize;
  50. }
  51. .navbar-title:hover{
  52. color: darkgray;
  53. text-decoration: none;
  54. }
  55. .link-wrapper{
  56. width: 85%;
  57. float: right;
  58. display: block;
  59. padding-left: 15px;
  60. }
  61. .navbar-nav{
  62. display: inline-block;
  63. transform: translateY(25%);
  64. }
  65. .nav-item{
  66. float: left;
  67. display: inline-block;
  68. }
  69. .nav-link{
  70. float: left;
  71. color: #969696;
  72. font-size: 15px;
  73. margin-right: 15px;
  74. text-decoration: none;
  75. display: inline-block;
  76. padding: 0px !important;
  77. }
  78. .nav-link:hover{
  79. color: #fbfbfb;
  80. }
  81. .current{
  82. color: #fbfbfb;
  83. }
  84. .um-wrapper{
  85. width: 200px;
  86. float: right;
  87. display: flex;
  88. cursor: pointer;
  89. position: relative;
  90. font-weight: bold;
  91. font-size: 15px;
  92. padding: 5px 15px;
  93. border-radius: 2.5px;
  94. border: 1px solid transparent;
  95. }
  96. .um-wrapper[aria-expanded=true]{
  97. border-bottom-left-radius: 0px;
  98. background-color: #060606;
  99. border: 1px solid rgb(52,53,54);
  100. }
  101. .user-menu{
  102. width: 100%;
  103. float: right;
  104. display: block;
  105. background-color: transparent;
  106. }
  107. .user{
  108. width: 100%;
  109. color: #fbfbfb;
  110. padding-left: 0px;
  111. padding-right: 0px;
  112. font-size: 15px;
  113. }
  114. .um-icons{
  115. float: right;
  116. transform: translateY(25%);
  117. }
  118. .dropdown-icon{
  119. color: darkgray;
  120. font-size: 12.5px;
  121. transform: translateY(50%);
  122. }
  123. nav .dropdown-menu{
  124. margin: 0%;
  125. width: 10%;
  126. top: 102.5%;
  127. left: -1.05px;
  128. padding: 0px;
  129. border-radius: 0px;
  130. border: 1px solid rgb(52,53,54);
  131. border-top: none;
  132. background-color: #060606;
  133. border-bottom-left-radius: 2.5px;
  134. border-bottom-right-radius: 2.5px;
  135. }
  136. .dropdown-divider{
  137. margin: 0px;
  138. border-top: 1.5px solid #272728;
  139. }
  140. nav .dropdown-item{
  141. cursor: pointer;
  142. color: lightgray;
  143. font-size: 13.5px;
  144. margin-bottom: 0px;
  145. padding: 7.5px 15px;
  146. border-radius: 0px !important;
  147. }
  148. .dropdown-item:last-child{
  149. border-bottom-left-radius: 2.5px !important;
  150. border-bottom-right-radius: 2.5px !important;
  151. }
  152. .dropdown-item:hover{
  153. color: #ffffff;
  154. background-color: #060606;
  155. }
  156. .main{
  157. width: 100%;
  158. padding: 2.5% 10%;
  159. display: inline-block;
  160. background-color: #fff;
  161. min-height: calc(100% - 60px);
  162. }
  163. .display{
  164. display: inline-block !important;
  165. }
  166. .hide{
  167. display: none !important;
  168. }
  169. .invalid{
  170. border: 1px solid rgb(220,53,69) !important;
  171. }
  172. .invalid-icon{
  173. color: var(--danger) !important;
  174. }
  175. .main-wrapper{
  176. width: 100%;
  177. padding: 0;
  178. display: none;
  179. min-height: 100%;
  180. }
  181. .header-wrapper{
  182. width: 100%;
  183. padding: 0px 0px 30px;
  184. display: inline-block;
  185. }
  186. .header{
  187. margin: 0;
  188. width: 100%;
  189. float: left;
  190. color: #202124;
  191. font-weight: 700;
  192. display: inline-block;
  193. text-transform: capitalize;
  194. }
  195. .table-wrapper{
  196. width: 100%;
  197. height: 100%;
  198. padding: 0px;
  199. overflow: auto;
  200. border-radius: 2.5px;
  201. display: inline-block;
  202. border: 1px solid rgb(52,53,54) !important;
  203. }
  204. .table{
  205. margin-bottom: 0%;
  206. position: relative;
  207. border-collapse: separate;
  208. border-spacing: 0px;
  209. }
  210. th{
  211. top: 0;
  212. z-index: 2;
  213. color: #202124;
  214. text-align: center;
  215. vertical-align: top;
  216. font-weight: normal;
  217. border: 1px solid rgb(52,53,54) !important;
  218. border-top: none !important;
  219. border-left: none !important;
  220. vertical-align: top !important;
  221. background-color: #e6e6e6;
  222. padding: 7.5px 10px 0px !important;
  223. }
  224. td{
  225. color: #202124;
  226. border: none;
  227. text-align: center;
  228. display: table-cell;
  229. word-wrap: break-word;
  230. text-overflow: ellipsis;
  231. padding: 3.5px 5px !important;
  232. border-top: 0 solid !important;
  233. border-bottom: 1px solid rgb(52,53,54) !important;
  234. border-right: 1px solid rgb(52,53,54) !important;
  235. }
  236. td,th{
  237. height: 30px;
  238. font-size: 13.125px;
  239. }
  240. td:last-child{
  241. border-right: 0px !important;
  242. }
  243. td[value=cas]{
  244. max-width: 200px;
  245. }
  246. td[value=type]{
  247. text-transform: capitalize;
  248. }
  249. td[value=sds],td[value=transaction]{
  250. width: 50px;
  251. }
  252. td[value=mat_name],td[value=man_name],td[value=location]{
  253. text-transform: capitalize;
  254. }
  255. td[value=capacity],td[value=total],td[value=quantity],td[value=uom]{
  256. text-align: right;
  257. }
  258. th[value=capacity],th[value=total],th[value=quantity],th[value=uom]{
  259. text-align: right;
  260. }
  261. td[value=mat_name]{
  262. text-align: left;
  263. color: rgb(58,132,247);
  264. padding-left: 15px !important;
  265. }
  266. th[value=person_name]{
  267. text-align: left;
  268. }
  269. .person-name{
  270. padding-left: 15px !important;
  271. }
  272. tbody tr:first-child td{
  273. border-top: 0px solid #e9e9e9 !important;
  274. }
  275. th:last-child{
  276. border-right: none !important;
  277. }
  278. tr:last-child td{
  279. border-bottom: 0px !important;
  280. }
  281. .option{
  282. border: none;
  283. cursor: pointer;
  284. background-color: transparent;
  285. font-size: 13.125px;
  286. }
  287. .option:hover{
  288. opacity: 0.80;
  289. transform: translateY(0.50px);
  290. transition: opacity 0.5s,transform 0.5s;
  291. }
  292. .alerts{
  293. bottom: 0%;
  294. left: 50%;
  295. opacity: 0;
  296. z-index: 9999;
  297. min-width: 325px;
  298. font-size: 14px;
  299. position: absolute;
  300. padding: 15px 15px 30px;
  301. will-change: transform,opacity;
  302. transform: translate(-50%,100%) scale(0.5);
  303. transition: transform 0.5s,opacity 0.25s ease-in-out;
  304. }
  305. .alert{
  306. margin: 0;
  307. width: 100%;
  308. color: #fff;
  309. padding: 15px;
  310. text-align: left;
  311. font-weight: normal;
  312. position: relative;
  313. border-radius: 2.5px;
  314. background-color: var(--base);
  315. box-shadow: 0 5px 15px rgba(0,0,0,0.25);
  316. }
  317. .message-icon-wrapper{
  318. display: block;
  319. }
  320. .message-icon{
  321. display: none;
  322. font-size: 30px;
  323. margin-bottom: 15px;
  324. }
  325. .alert-message{
  326. margin: 0;
  327. transform: translateY(-2.5%);
  328. font-family: "Noto Sans",sans-serif;
  329. }
  330. .alert-status{
  331. margin: 0;
  332. font-weight: bold;
  333. margin-bottom: 15px;
  334. display: inline-block;
  335. text-transform: capitalize;
  336. margin-right: 5px !important;
  337. font-family: "Noto Sans",sans-serif;
  338. }
  339. .alert p{
  340. margin: 0px;
  341. }
  342. .error,.failed,.warning{
  343. background-color: var(--danger);
  344. }
  345. .success{
  346. background-color: rgb(40,167,69);
  347. }
  348. .slide-up{
  349. opacity: 1;
  350. animation: opacity 0.25s,slide-up 0.5s ease-in-out;
  351. transform: translate(-50%,-15%) scale(1);
  352. }
  353. @keyframes slide-up{
  354. 0%{
  355. transform: translate(-50%,100%) scale(0.5);
  356. }
  357. 100%{
  358. transform: translate(-50%,-15%) scale(1);
  359. }
  360. }
  361. .button{
  362. border: none;
  363. color: white;
  364. cursor: pointer;
  365. border-radius: 5px;
  366. }
  367. .button:hover{
  368. box-shadow: none;
  369. filter: brightness(95%);
  370. }
  371. .option-cell{
  372. display: inline-flex;
  373. }
  374. .trans-cell{
  375. text-align: center;
  376. margin-right: 7.5px;
  377. }
  378. .action{
  379. color: #202124;
  380. border: none;
  381. font-size: 12.5px;
  382. margin-right: 5px;
  383. padding: 1.25px 5px;
  384. background-color: transparent;
  385. border-radius: 2.5px !important;
  386. }
  387. .action i,.option i{
  388. color: #202124;
  389. }
  390. .changes-wrapper{
  391. height: 50px;
  392. text-align: left;
  393. padding-top: 7.5px;
  394. }
  395. .entry-cell{
  396. position: relative;
  397. }
  398. .changes{
  399. color: #fff;
  400. border: none;
  401. cursor: pointer;
  402. border-radius: 5px;
  403. background-color: rgb(234,64,59);
  404. }
  405. .delete-wrapper{
  406. margin-top: 15px;
  407. }
  408. .delete{
  409. color: white;
  410. margin-right: 5px;
  411. background-color: rgb(68,135,243);
  412. }
  413. .changes:hover,.delete:hover,.cancel-delete:hover{
  414. opacity: 0.90;
  415. color: #eaeded;
  416. transition: opacity 0.50s,color 0.50s ease-in-out;
  417. }
  418. .slide-up{
  419. opacity: 1 !important;
  420. transition: opacity 1s ease-in-out;
  421. }
  422. p{
  423. margin: 0px;
  424. }
  425. .text:-webkit-autofill,
  426. .text:-webkit-autofill:hover,
  427. .text:-webkit-autofill:focus,
  428. .text:-webkit-autofill:active{
  429. border: 3px solid blue;
  430. background-color: #eaeded;
  431. -webkit-text-fill-color: gray !important;
  432. -webkit-box-shadow: 0 0 0 30px #eaeded inset !important;
  433. }
  434. .redir{
  435. color: #8cc2ff;
  436. }
  437. .redir:hover{
  438. text-decoration: none;
  439. }
  440. .submit-query{
  441. color: rgba(0,0,0,0.5);
  442. background-color: #eaeded;
  443. border: 1px solid lightgray;
  444. }
  445. .li-wrapper{
  446. display: block;
  447. margin-bottom: 1%;
  448. }
  449. .footer{
  450. width: 100%;
  451. height: 200px;
  452. display: block;
  453. margin-top: 0px;
  454. padding-top: 2.5%;
  455. padding-left: 10%;
  456. padding-right: 10%;
  457. background-color: #060606;
  458. }
  459. .footer *{
  460. color: #fff !important;
  461. }
  462. .copyright{
  463. font-size: 10px;
  464. font-weight: normal;
  465. }
  466. .copyright-wrapper{
  467. width: 100%;
  468. padding: 0px;
  469. text-align: right;
  470. }
  471. .fa-copyright{
  472. padding: 0px 5px;
  473. }
  474. .text-field{
  475. top: 0;
  476. z-index: 5;
  477. float: left;
  478. border: none;
  479. color: #383838;
  480. font-size: 14px;
  481. will-change: top;
  482. position: absolute;
  483. height: calc(100%);
  484. padding: 15px 3.75px;
  485. width: calc(92.5% - 30px);
  486. background-color: transparent;
  487. transition: top 0.5s ease-in-out;
  488. }
  489. .input-wrapper{
  490. width: 100%;
  491. height: 45px;
  492. position: relative;
  493. border-radius: 2.5px;
  494. margin-bottom: 10px;
  495. background-color: #fff;
  496. border: 1px solid rgb(218,220,224);
  497. }
  498. .actions{
  499. width: 100%;
  500. display: block;
  501. margin: 7.5px 0px;
  502. text-align: center;
  503. }
  504. .shrink-wrapper{
  505. padding-top: 12.5px;
  506. padding-bottom: 2.5px;
  507. }
  508. .text-field:focus .placeholder{
  509. background-color: #fff;
  510. }
  511. .action-btn{
  512. color: #fff;
  513. padding: 5px;
  514. font-size: 15px;
  515. display: inline-block;
  516. }
  517. .action-btn:hover{
  518. color: #fff;
  519. }
  520. #cancel{
  521. background-color: rgb(200,70,100);
  522. }
  523. .empty-field{
  524. border: 1px solid rgb(255,70,70) !important;
  525. }
  526. .required-field{
  527. color: rgb(255,70,70);
  528. }
  529. .fields-required{
  530. display: none;
  531. color: rgb(255,70,70);
  532. }
  533. .label-input-wrapper{
  534. display: block;
  535. margin-bottom: 2.5%;
  536. }
  537. a:hover{
  538. text-decoration: none;
  539. }
  540. .popover-content{
  541. display: none;
  542. }
  543. .search-form-wrapper{
  544. width: 250px;
  545. height: 31.25px;
  546. margin-left: 15px;
  547. display: inline-flex;
  548. }
  549. .search-form{
  550. width: 100%;
  551. float: left;
  552. font-size: 14px;
  553. border-radius: 2.5px;
  554. padding: 2.5px 7.5px;
  555. display: inline-block;
  556. color: #202124 !important;
  557. background-color: #fff;
  558. border: 1px solid rgb(218,220,224);
  559. }
  560. .processing{
  561. width: 100%;
  562. margin-top: 5px;
  563. margin-bottom: 5px;
  564. text-align: center;
  565. border-radius: 2.5px;
  566. display: inline-flex;
  567. }
  568. .processing-text{
  569. color: #202124;
  570. font-size: 14px;
  571. }
  572. .loader{
  573. width: 20px;
  574. height: 20px;
  575. margin-top: 2.5px;
  576. margin-left: 25px;
  577. border-radius: 50%;
  578. display: inline-block;
  579. border: 2.5px solid #fff;
  580. border-top: 2.5px solid #1a1a1b;
  581. animation: spin 2s linear infinite;
  582. }
  583. .wait{
  584. cursor: wait !important;
  585. }
  586. .search-form-submit{
  587. width: 15%;
  588. float: left;
  589. display: none;
  590. color: #202124;
  591. cursor: pointer;
  592. border-left: none;
  593. border-top-right-radius: 2.5px;
  594. border-bottom-right-radius: 2.5px;
  595. background-color: #fff;
  596. border: 1px solid rgb(218,220,224);
  597. border-left: 0px;
  598. }
  599. .clear-icon{
  600. font-size: 17.5px;
  601. transform: translateY(17.5%);
  602. }
  603. .active-form .clear-btn{
  604. display: inline-block;
  605. }
  606. .active-form .search-form{
  607. width: 85%;
  608. border-top-right-radius: 0;
  609. border-bottom-right-radius: 0;
  610. }
  611. .float-right{
  612. display: block;
  613. }
  614. .sort{
  615. cursor: pointer;
  616. }
  617. .sort-icon{
  618. margin-left: 5px;
  619. }
  620. .sort-alt{
  621. display: none;
  622. }
  623. .download-option{
  624. width: 100%;
  625. cursor: pointer;
  626. padding: 5px;
  627. display: inline-block;
  628. }
  629. .t-icon{
  630. font-size: 20px;
  631. }
  632. .download-option:hover{
  633. background-color: rgb(245,245,245);
  634. }
  635. .download{
  636. padding: 0;
  637. width: 35px;
  638. height: 31.25px;
  639. float: left;
  640. display: inline-block;
  641. margin-left: 15px;
  642. margin-right: 15px;
  643. }
  644. .download-btn{
  645. cursor: pointer;
  646. padding: 0;
  647. width: 35px;
  648. height: 31.25px;
  649. border-radius: 2.5px;
  650. text-align: center;
  651. display: inline-block ;
  652. }
  653. .download-icon{
  654. transform: translate(9%,10%);
  655. }
  656. .sub-header{
  657. margin-bottom: 5px;
  658. }
  659. .main-wrapper .total,.table-total{
  660. margin-top: 5px;
  661. text-align: right;
  662. padding-right: 5px;
  663. }
  664. @keyframes spin{
  665. 0%{
  666. transform: rotate(0deg);
  667. }
  668. 100%{
  669. transform: rotate(360deg);
  670. }
  671. }
  672. @media screen and (max-width: 991px){
  673. .navbar{
  674. height: auto;
  675. padding: 7.5px 0px;
  676. position: relative;
  677. display: inline-flex;
  678. border-bottom: 0.5px solid rgb(52,53,54);
  679. }
  680. .link-wrapper{
  681. width: 100%;
  682. padding: 0px;
  683. }
  684. .navbar-nav,.nav-item{
  685. width: 100%;
  686. }
  687. .nav-item{
  688. padding-left: 15px;
  689. }
  690. .nav-link{
  691. width: 100%;
  692. text-align: left;
  693. }
  694. .um-wrapper{
  695. right: 0;
  696. width: 100%;
  697. margin-top: 10px;
  698. padding: 5px 12.5px;
  699. position: relative;
  700. border-radius: 2.5px;
  701. }
  702. .header-wrapper{
  703. padding: 15px 0px 7.5px;
  704. }
  705. .float-right{
  706. width: 100%;
  707. }
  708. .download{
  709. margin: 15px 0px;
  710. width: 100%;
  711. }
  712. .download-btn{
  713. width: 100%;
  714. }
  715. .search-form-wrapper{
  716. width: 100%;
  717. margin: 15px 0px;
  718. }
  719. #add-material,#add{
  720. width: 100%;
  721. }
  722. .download-icon{
  723. transform: translate(25%,10%);
  724. }
  725. .large-field,.medium-field,.small-field,.extra-small-field{
  726. width: 100% !important;
  727. margin-left: 0 !important;
  728. margin-right: 0 !important;
  729. padding: 0 !important;
  730. }
  731. }