Proyecto en colaboración con OPASO

laboratory.css 9.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637
  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 : laboratory.css
  6. Description : Styling for laboratory/inventory pages */
  7. .main-form{
  8. top: 0%;
  9. opacity: 0;
  10. width: 100%;
  11. height: 100%;
  12. text-align: center;
  13. padding: 105px 0;
  14. will-change: transform,opacity;
  15. transform: translateY(-100%);
  16. will-change: transform, opacity;
  17. transition: transform 0.5s,opacity 0.5s ease-in-out;
  18. }
  19. .form-shader{
  20. opacity: 0;
  21. z-index: -1;
  22. width: 100%;
  23. height: 100%;
  24. overflow: hidden;
  25. text-align: center;
  26. position: absolute;
  27. background-color: rgb(0,0,0,0.85);
  28. will-change: z-index,opacity;
  29. transition: z-index 0.25s, opacity 0.25s ease-in-out;
  30. }
  31. .t-form{
  32. display: none;
  33. }
  34. .c-form{
  35. display: block !important;
  36. }
  37. .alert-shader{
  38. width: 100%;
  39. height: 100%;
  40. z-index: 9998;
  41. position: absolute;
  42. background-color: rgb(0,0,0,0.25);
  43. }
  44. .alert-wrapper{
  45. opacity: 0;
  46. z-index: -1;
  47. width: 100%;
  48. height: 100%;
  49. position: absolute;
  50. text-align: center;
  51. will-change: opacity;
  52. background-color: rgb(0,0,0,0.85);
  53. /* transition: opacity 0.15s ease-in-out; */
  54. }
  55. .query-btn{
  56. cursor: pointer;
  57. padding: 0px 5px;
  58. border-radius: 0px;
  59. color: #202124;
  60. border-bottom: 2px solid transparent;
  61. }
  62. .query-btn:hover{
  63. color: #060606;
  64. border-bottom: 2px solid #060606;
  65. transition: border-bottom 0.5s ease-in-out;
  66. }
  67. .confirm-header{
  68. text-align: left;
  69. padding: 7.5px 15px;
  70. background-color: #fff;
  71. border-bottom: 1px solid rgb(218,220,224);
  72. }
  73. .submit-usage{
  74. margin-top: 5%;
  75. color: darkgray;
  76. }
  77. .confirm-alert{
  78. top: 50%;
  79. margin: auto;
  80. height: 175px;
  81. overflow: auto;
  82. z-index: 9999;
  83. color: #202124;
  84. max-width: 300px;
  85. position: relative;
  86. border-radius: 2.5px;
  87. display: inline-block;
  88. background-color: #fff;
  89. transform: translateY(-50%);
  90. border: 1px solid rgb(218,220,224);
  91. }
  92. .query-actions{
  93. right: 15px;
  94. bottom: 15px;
  95. position: absolute;
  96. }
  97. .mi-wrapper{
  98. padding: 5px 15px;
  99. display: inline-block;
  100. }
  101. .confirm-message{
  102. color: #202124;
  103. text-align: left;
  104. }
  105. .form-wrapper{
  106. width: 275px;
  107. margin: auto;
  108. z-index: 9999;
  109. position: relative;
  110. border-radius: 2.5px;
  111. background-color: #fff;
  112. border: 1px solid rgb(218,220,224);
  113. }
  114. .main-form{
  115. top: 0%;
  116. opacity: 0;
  117. width: 100%;
  118. height: 100%;
  119. text-align: center;
  120. padding: 105px 10% 15px;
  121. will-change: transform,opacity;
  122. transform: translateY(-100%);
  123. will-change: transform, opacity;
  124. transition: transform 0.5s,opacity 0.5s ease-in-out;
  125. }
  126. .actions-cell{
  127. width: 150px;
  128. }
  129. .form-header{
  130. float: left;
  131. font-size: 20px;
  132. color: #202124;
  133. display: inline-block;
  134. text-transform: capitalize;
  135. }
  136. .close-icon{
  137. float: right;
  138. cursor: pointer;
  139. color: darkgray;
  140. display: inline-block;
  141. }
  142. .form{
  143. width: 100%;
  144. text-align: center;
  145. }
  146. .add-form,.edit-form{
  147. top: 0%;
  148. opacity: 0;
  149. width: 100%;
  150. height: 100%;
  151. text-align: center;
  152. position: absolute;
  153. padding: 105px 10% 15px;
  154. will-change: transform,opacity;
  155. transform: translateY(-100%);
  156. will-change: transform, opacity;
  157. transition: transform 0.5s,opacity 0.5s ease-in-out;
  158. }
  159. .add-form-wrapper,.edit-form-wrapper{
  160. border-radius: 2.5px;
  161. background-color: #fff;
  162. border: 1px solid rgb(218,220,224);
  163. }
  164. .add-form-body,.edit-form-body{
  165. width: 100%;
  166. overflow-y: auto;
  167. }
  168. .add-form-body-wrapper,.edit-form-body-wrapper{
  169. width: 100%;
  170. }
  171. #add-submit,#edit-submit{
  172. float: right;
  173. }
  174. .form-body{
  175. padding: 7.5px 15px 0px;
  176. }
  177. .form-header-wrapper,.add-form-header-wrapper,.edit-form-header-wrapper{
  178. width: 100%;
  179. display: inline-block;
  180. padding: 10px 15px 0px;
  181. border-bottom: 1px solid rgb(218,220,224);
  182. }
  183. .li-wrapper{
  184. width: 100%;
  185. float: left;
  186. margin-bottom: 1%;
  187. display: inline-block;
  188. }
  189. .control-wrapper{
  190. float: right;
  191. text-align: left;
  192. position: relative;
  193. display: inline-block;
  194. }
  195. .text-field{
  196. height: 30px;
  197. width: 155px;
  198. float: right;
  199. padding: 7.5px;
  200. color: #202124;
  201. text-align: right;
  202. position: relative;
  203. border-radius: 2.5px;
  204. margin-bottom: 7.5px;
  205. display: inline-block;
  206. background-color: #fff;
  207. border: 1px solid rgb(218,220,224) !important;
  208. }
  209. .label{
  210. float: left;
  211. color: #202124;
  212. font-size: 15px;
  213. padding-right: 5px;
  214. display: inline-block;
  215. transform: translateY(25%);
  216. }
  217. .form-actions{
  218. width: 100%;
  219. padding: 0 15px 15px;
  220. display: inline-block;
  221. }
  222. .person-name{
  223. text-align: left;
  224. }
  225. .personnel-row:last-child td{
  226. border-bottom: 0px solid rgb(34,40,45) !important;
  227. }
  228. .personnel,.personnel-wrapper{
  229. width: 450px;
  230. }
  231. .personnel{
  232. border-radius: 2.5px;
  233. border: 1px solid rgb(52,53,54) !important;
  234. }
  235. .access-level{
  236. text-transform: capitalize;
  237. }
  238. .transaction-label{
  239. text-transform: capitalize;
  240. }
  241. .empty-field{
  242. border: 1px solid #fd351d;
  243. }
  244. .required-field{
  245. color: rgb(255,70,70);
  246. }
  247. .fields-required{
  248. display: none;
  249. color: rgb(255,70,70);
  250. }
  251. .add-material{
  252. float: left;
  253. height: 31.25px;
  254. font-size: 15px;
  255. padding: 2.5px 7.5px;
  256. display: inline-flex;
  257. color: #202124;
  258. border-radius: 2.5px !important;
  259. background-color: #fff;
  260. border: 1px solid rgb(218,220,224) !important;
  261. }
  262. .add-material:hover{
  263. color: #202124;
  264. }
  265. .add-material-icon{
  266. font-size: 13.25px;
  267. transform: translateY(25%);
  268. }
  269. .add-text{
  270. float: left;
  271. margin-left: 7.5px;
  272. transform: translateY(1.25px);
  273. }
  274. .add-li-wrapper,.edit-li-wrapper{
  275. text-align: left;
  276. position: relative;
  277. margin-right: 15px;
  278. display: inline-block;
  279. }
  280. .add-li-wrapper .text-field,.edit-li-wrapper .text-field{
  281. height: 35px;
  282. text-align: left;
  283. }
  284. .add-li-wrapper label,.edit-li-wrapper label{
  285. display: block;
  286. color: #202124;
  287. }
  288. .field-warning{
  289. top: 50%;
  290. right: 5.5%;
  291. display: none;
  292. position: absolute;
  293. color: rgb(255,243,205);
  294. transform: translateY(25%);
  295. }
  296. .material-input{
  297. width: 100%;
  298. height: 35px;
  299. float: left;
  300. color: #202124;
  301. padding: 7.5px;
  302. text-align: left;
  303. position: relative;
  304. border-radius: 5px;
  305. margin-bottom: 15px;
  306. display: inline-block;
  307. background-color: #fff;
  308. border: 1px solid rgb(218,220,224);
  309. }
  310. .add-material{
  311. cursor: pointer;
  312. }
  313. .form-actions{
  314. text-align: right;
  315. }
  316. .slide-right{
  317. animation: slide-right 0.5s ease-in-out;
  318. transform: translateX(0%);
  319. }
  320. .details{
  321. float: left;
  322. width: 100%;
  323. text-align: left;
  324. padding: 7.5px 15px;
  325. display: inline-block;
  326. border-top: 1px solid rgb(218,220,224);
  327. }
  328. .details:first-child{
  329. border-top: none;
  330. }
  331. .details-header{
  332. color: #202124;
  333. }
  334. .add-form-actions,.edit-form-actions{
  335. width: 100%;
  336. text-align: right;
  337. display: inline-block;
  338. padding: 15px 15px 7.5px;
  339. }
  340. .medium-field{
  341. width: 25%;
  342. }
  343. .large-field{
  344. width: 27.5%;
  345. }
  346. .small-field{
  347. width: 6.25%;
  348. }
  349. .extra-small-field{
  350. width: 3.5%;
  351. }
  352. .number-field{
  353. width: 7.5%;
  354. }
  355. input[name=capacity],input[name=quantity]{
  356. text-align: right;
  357. }
  358. input[name=state],input[name=type]{
  359. text-align: center;
  360. }
  361. .quantity{
  362. margin-left: 5px;
  363. }
  364. .uom{
  365. margin-left: 20px;
  366. }
  367. .ghs-description,.hazard-description]{
  368. display: none;
  369. }
  370. .material-link{
  371. font-size: 12.5px;
  372. margin-left: 15px;
  373. }
  374. .float-right{
  375. float: right;
  376. display: inline-block;
  377. }
  378. .hidden-entry{
  379. display: none;
  380. }
  381. .select-form{
  382. width: 100%;
  383. height: 31.25px;
  384. padding: 7.5px 0px;
  385. margin-right: 15px;
  386. display: inline-block;
  387. text-align: right !important;
  388. transform: translateY(-3.75px);
  389. }
  390. .select-header{
  391. font-size: 12.5px;
  392. margin-right: 7.5px;
  393. display: inline-block;
  394. }
  395. .material{
  396. cursor: pointer;
  397. }
  398. td[value=mat_name]{
  399. cursor: pointer;
  400. }
  401. .material-data-icon-wrapper{
  402. padding: 15px;
  403. }
  404. .material-data-shader{
  405. left: 0;
  406. top: 0;
  407. z-index: 9999;
  408. width: 100%;
  409. height: 100%;
  410. position: absolute;
  411. will-change: transform;
  412. transform: translateX(-100%);
  413. background-color: rgba(0,0,0,0);
  414. transition: all 0.25s ease-in-out;
  415. }
  416. .material-data-wrapper{
  417. left: 0;
  418. top: 0px;
  419. width: 300px;
  420. height: 100%;
  421. background-color: #fff;
  422. border-right: 1px solid rgb(52,53,54);
  423. }
  424. .material-data-row *{
  425. color: #060606;
  426. }
  427. .material-data-row,.material-name-wrapper{
  428. width: 100%;
  429. padding: 5px 15px;
  430. display: inline-block;
  431. word-break: break-all;
  432. }
  433. .material-data-row{
  434. padding-left: 30px;
  435. }
  436. .material-name-wrapper{
  437. border-bottom: 1px solid rgb(52,53,54);
  438. }
  439. .material-name{
  440. float: left;
  441. color: #060606;
  442. width: initial;
  443. display: inline-block;
  444. }
  445. .material-data-text{
  446. color: #060606;
  447. }
  448. .shader{
  449. background-color: rgba(0,0,0,0.5);
  450. transition: all 0.25s ease-in-out;
  451. }
  452. .edit-link{
  453. float: left;
  454. margin-left: 5px;
  455. font-size: 13.125px;
  456. transform: translateY(-2.5%);
  457. }
  458. .table-sub-header{
  459. width: initial;
  460. display: inline-block;
  461. }
  462. .sub-header-wrapper{
  463. width: 100%;
  464. display: inline-block;
  465. }
  466. .hide-material-data-icon{
  467. float: right;
  468. cursor: pointer;
  469. display: inline-block;
  470. color: darkgray;
  471. }
  472. span[value=sds] *{
  473. color: rgb(58,132,247);
  474. }
  475. .fade-in{
  476. opacity: 1;
  477. z-index: 9999;
  478. transition: transform 0.25s,opacity 0.25s ease-in-out;
  479. }
  480. .quick-fade-in{
  481. opacity: 1;
  482. z-index: 9999;
  483. transition: opacity 0.125s ease-in-out;
  484. }
  485. .slide-down{
  486. opacity: 1;
  487. z-index: 9999;
  488. transform: translateY(0%);
  489. transition: transform 0.5s,opacity 0.5s ease-in-out;
  490. }
  491. .slide-right{
  492. transform: translateX(0%);
  493. transition: transform 0.25s ease-in-out;
  494. }
  495. .sds{
  496. cursor: pointer;
  497. color: rgb(5,125,255);
  498. }
  499. td[value=ghs]{
  500. max-width: 150px;
  501. }
  502. .edit{
  503. resize: both;
  504. left: 0px;
  505. top: 0px;
  506. z-index: 5;
  507. width: 100%;
  508. height: 100%;
  509. padding: 2.5px;
  510. transition: none;
  511. text-align: inherit;
  512. position: absolute;
  513. border: 1px solid rgb(102,103,104);
  514. }
  515. @media screen and (max-width: 991px){
  516. .material-data-shader{
  517. z-index: 9999;
  518. }
  519. .material-data-wrapper{
  520. top: 0px;
  521. width: 90%;
  522. height: 100%;
  523. }
  524. .personnel,.personnel-wrapper{
  525. width: 100%;
  526. }
  527. .add-form input,.edit-form input{
  528. text-align: left;
  529. }
  530. .add-form,.edit-form{
  531. padding: 15px;
  532. overflow-y: auto;
  533. }
  534. }