Proyecto en colaboración con OPASO

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599
  1. /* Authors : Carlos C. Corrada-Bravo
  2. David J. Ortiz-Rivera
  3. José A. Quiñones-Flores
  4. Organization : Centro de Desarrollo y Consultoria Computacional
  5. Project : OPASO Material Registry
  6. File : main.css
  7. Description : Main styling for page, navbar and footer. */
  8. /* html,body,row - sizing/font */
  9. body,html{
  10. width: 100%;
  11. height: 100%;
  12. font-family: Futura, Trebuchet MS, Arial, sans-serif; font-size: 15px;
  13. }
  14. /* Include padding and borders to element width and height. */
  15. *{
  16. box-sizing: border-box;
  17. }
  18. /* content - styling/sizing, handle content overflow */
  19. .content{
  20. width: 100%;
  21. height: 100%;
  22. display: block;
  23. overflow: hidden;
  24. margin-left: 0%;
  25. background-color: #ffffff;
  26. }
  27. /* main - sizing/content overflow */
  28. .main{
  29. height: 92%;
  30. padding-left: 5%;
  31. padding-right: 5%;
  32. }
  33. /* header-wrapper - formatting */
  34. .header-wrapper{
  35. margin-top: 1%;
  36. margin-bottom: 1%;
  37. }
  38. /* header - styling/formatting */
  39. .header{
  40. display: inline-block;
  41. padding: 7.5px;
  42. padding-left: 0px;
  43. color: #282828;
  44. text-transform: capitalize;
  45. }
  46. .inventory{
  47. width: 100%;
  48. height: 85%;
  49. overflow: auto;
  50. display: inline-block;
  51. border-radius: 5px;
  52. background-color: #eaeded;
  53. /* animation-fill-mode: both; */
  54. }
  55. .inventory-row{
  56. }
  57. .inventory-col:first-child{
  58. /* border-right: 1px solid black;
  59. */}
  60. .table{
  61. height: 100%;
  62. width: 100%;
  63. color: #282828;
  64. border: 5px solid rgba(0, 128, 255, 0.0) !important;
  65. margin-bottom: 0%;
  66. position: relative;
  67. z-index:0;
  68. font-size: 15px;
  69. }
  70. .options{
  71. font-size: 14px;
  72. border: none;
  73. cursor: pointer;
  74. background-color: transparent;
  75. }
  76. .no-padding{
  77. padding: 0px;
  78. }
  79. .options:hover{
  80. opacity: 0.75;
  81. transition: opacity 0.5s;
  82. }
  83. .fa-minus-square{
  84. color: #fd351d ;
  85. }
  86. .fa-copy{
  87. color: white;
  88. }
  89. .fa-pen{
  90. color: #3f5efb ;
  91. }
  92. th{
  93. text-align: center;
  94. }
  95. thead{
  96. }
  97. .t-row{
  98. height: 25%;
  99. width: 100%;
  100. display: flex;
  101. animation: alternate_color ease-in-out;
  102. animation-iteration-count: infinite;
  103. animation-duration: 4s;
  104. }
  105. tr{
  106. width: 100%;
  107. }
  108. td { max-width: 300px; /* position: relative; */ z-index:1;
  109. padding: 7.5px;/*
  110. white-space: nowrap;
  111. overflow: hidden; */
  112. word-wrap: break-word;
  113. text-overflow: ellipsis;
  114. border: none;
  115. /* vertical-align: bottom;
  116. */
  117. }
  118. .table td, .table th {
  119. padding: .75rem;
  120. vertical-align: top;
  121. border-top: none;
  122. }
  123. th{
  124. border-bottom: 1px solid black;
  125. }
  126. .no-padding{
  127. padding: 0px;
  128. }
  129. .options-cell{
  130. display: flex ;
  131. }
  132. .changes-wrapper{
  133. margin: 2%;
  134. display: block;
  135. text-align: center;
  136. }
  137. .changes{
  138. min-width: 100px;
  139. cursor: pointer;
  140. color: #ffffff;
  141. border-radius: 5px;
  142. border: none;
  143. padding: 10px;
  144. background-color: #fd351d;
  145. }.changes:hove{
  146. opacity: 0.75;
  147. transition: opacity 0.5s;
  148. }
  149. .submit{
  150. background-color: #3f5efb;
  151. }
  152. p{
  153. /* display: inline-block;
  154. float: left; */
  155. margin: 0px;
  156. }
  157. .text:-webkit-autofill,
  158. .text:-webkit-autofill:hover,
  159. .text:-webkit-autofill:focus,
  160. .text:-webkit-autofill:active{
  161. -webkit-text-fill-color: gray !important;
  162. -webkit-box-shadow: 0 0 0 30px #eaeded inset !important;
  163. background-color: #eaeded;}
  164. /* success/warning - styling */
  165. .success,.warning{
  166. color: #ffffff;
  167. padding: 7.5px;
  168. display: none;
  169. margin-top: 1%;
  170. margin-bottom: 1%;
  171. background-color: rgba(205,97,85,1.0);
  172. }
  173. .success{
  174. background-color: rgba(82,190,128,1.0);
  175. }
  176. /* redirect links - formatting */
  177. .redir{
  178. color: #8cc2ff;
  179. }
  180. .redir:hover{
  181. text-decoration: none;
  182. }
  183. /* Loading div styling/formatting */
  184. .loading-screen{
  185. width: 100%;
  186. height: 100%;
  187. color: white;
  188. display: block;
  189. text-align: center;
  190. position: absolute;
  191. z-index: 9999;
  192. background-color: rgb(2,2,12);
  193. }
  194. /* Loading text styling/formatting */
  195. .ls-wrapper{
  196. position: relative;
  197. top: 50%;
  198. transform: translateY(-50%);
  199. overflow: hidden;
  200. margin: auto;
  201. text-align: center;
  202. }
  203. /* Loading animation */
  204. .loading-icon{
  205. margin: auto;
  206. border: 2.5px solid lightgray;
  207. border-radius: 50%;
  208. border-right: 2.5px solid rgba(0,0,0,0.5);
  209. width: 100px;
  210. height: 100px;
  211. -webkit-animation: spin 3s linear infinite; /* Safari */
  212. animation: spin 3s linear infinite;
  213. }
  214. .loading-text{
  215. margin-top: 0.5%;
  216. }
  217. /* Fade in animation. */
  218. @keyframes fadein{
  219. from{
  220. opacity:0;
  221. }
  222. to{
  223. opacity:1;
  224. }
  225. }
  226. @-moz-keyframes fadein{ /* Firefox */
  227. from{
  228. opacity:0;
  229. }
  230. to{
  231. opacity:1;
  232. }
  233. }
  234. @-webkit-keyframes fadein{ /* Safari and Chrome */
  235. from{
  236. opacity:0;
  237. }
  238. to{
  239. opacity:1;
  240. }
  241. }
  242. @-o-keyframes fadein{ /* Opera */
  243. from{
  244. opacity:0;
  245. }
  246. to{
  247. opacity: 1;
  248. }
  249. }
  250. /* Spinning animation - Safari */
  251. @-webkit-keyframes spin {
  252. 0% { -webkit-transform: rotate(0deg); }
  253. 100% { -webkit-transform: rotate(360deg); }
  254. }
  255. /* Spinning animation */
  256. @keyframes spin {
  257. 0% { transform: rotate(0deg); }
  258. 100% { transform: rotate(360deg); }
  259. }
  260. .error{
  261. font-size: 17.5px;
  262. display: block;
  263. padding: 1%;
  264. }
  265. @keyframes alternate_color{
  266. 0% {
  267. background-color: rgba(0, 0, 0, 0.5);
  268. }
  269. 50% {
  270. background-color: #eaeded;
  271. }
  272. 100% {
  273. background-color: rgba(0, 0, 0, 0.5);
  274. }
  275. }
  276. /* ------------------------------------ navbar -------------------------------- */
  277. /* navbar wrapper - formatting */
  278. .nav{
  279. display: block;
  280. }
  281. .collapse-wrapper{
  282. padding-left: calc(2.5% - 7.5px);
  283. width: 100%;
  284. display: block;
  285. overflow-y: auto;
  286. max-height: 0;
  287. transition: max-height 0.50s ease-out;
  288. }
  289. .navbar:hover .collapse-wrapper{
  290. max-height: 500px;
  291. transition: max-height 0.75s ease-in;
  292. }
  293. /* navbar - styling/formatting */
  294. .navbar{
  295. position: relative;
  296. text-align: left;
  297. justify-content: space-between;
  298. color: #ffffff;
  299. width: 100%;
  300. height: 7%;
  301. padding: 0.25%;
  302. padding-left: 2.5%;
  303. padding-right: 2.5%;
  304. background: rgb(2,0,36);
  305. background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 75%, rgba(0,212,255,1) 100%);
  306. }
  307. /* navbar-nav .dropdown-menu{
  308. position: absolute;
  309. z-index: 9999;
  310. } */
  311. .navbar-nav{
  312. display: block;
  313. width: 100%;
  314. }
  315. .navbar-collapse{
  316. }
  317. .navbar-dark .navbar-brand{
  318. color: #ffffff;
  319. }
  320. .navbar-toggler{
  321. display: none;
  322. }
  323. /* brand - sizing */
  324. .navbar-brand{
  325. color: #ffffff;
  326. display: inline-block;
  327. float: left;
  328. font-size: 27px;
  329. margin-right: 2.5%;
  330. font-weight: bold;
  331. text-transform: capitalize;
  332. }
  333. /* collapse container - sizing */
  334. .collapse{
  335. width: 100%;
  336. }
  337. .link:hover{
  338. color: #ffffff;
  339. background-color: rgba(0,0,0,0.25);
  340. text-decoration: none;
  341. }
  342. .nav-item{
  343. display: inline-block;
  344. float: left;
  345. }
  346. .link{
  347. font-size: 17.5px;
  348. color: darkgray;
  349. text-decoration: none;
  350. display: inline-block;
  351. float: left;
  352. border-radius: 5px;
  353. padding: 7.5px;
  354. margin-right: 2.5px;
  355. margin-bottom: 1px;
  356. }
  357. .current{
  358. color: #ffffff;
  359. background-color: rgba(0,0,0,0.25);
  360. }
  361. .fas{
  362. display: inline-flex;
  363. }
  364. .link .fas{
  365. margin-left: 2.5px;
  366. }
  367. /* search form wrapper - formatting */
  368. .sf-wrapper{
  369. float: right;
  370. border-radius: 5px;
  371. width: 30%;
  372. padding: 7.5px;
  373. padding-right: 0px;
  374. }
  375. /* search form - formatting */
  376. .search-form{
  377. display: flex;
  378. border: none;
  379. background-color: #eaeded;
  380. }
  381. .search-form:focus{
  382. background-color: #eaeded;
  383. }
  384. .search-form::-webkit-input-placeholder { /* Edge */
  385. color: rgba(0,0,0,0.5);
  386. }
  387. .search-form:-ms-input-placeholder { /* Internet Explorer */
  388. color: rgba(0,0,0,0.5);
  389. }
  390. .search-form::placeholder {
  391. color: rgba(0,0,0,0.5);
  392. }
  393. /* submit button - styling */
  394. .submit-query{
  395. border: 1px solid lightgray;
  396. color: rgba(0,0,0,0.5);
  397. background-color: #eaeded;
  398. }
  399. /* user menu wrapper - formatting */
  400. /* .um-wrapper{
  401. position: relative;
  402. float: right;
  403. display: inline-block;
  404. padding: 0px;
  405. } */
  406. /* user menu - styling */
  407. .user-menu{
  408. display: block;
  409. background-color: transparent;
  410. float: right;
  411. /* position: relative; */
  412. color: white;
  413. /* overflow-y: auto; */
  414. }
  415. .user{
  416. color: white;
  417. }
  418. .um-wrapper{
  419. display: flex;
  420. float: right;
  421. }
  422. /* .um-wrapper:hover .dropdown-menu{
  423. display: block;
  424. transition: display 0.5s ease-in;
  425. }
  426. .um-wrapper:hover .user{
  427. color: #ffffff;
  428. background-color: rgba(0,0,0,0.25);
  429. } */
  430. .um-icons{
  431. float: right;
  432. }
  433. /* user dropdown menu - styling */
  434. .dropdown-menu{
  435. margin: 0%;
  436. top: 100%;
  437. right: 2.5%;
  438. /* position: absolute; */
  439. padding: 0px;
  440. background-color: #020024;
  441. }
  442. /* divider - styling */
  443. .dropdown-divider{
  444. margin: 0px;
  445. border-top: 0.5px solid #000000;
  446. }
  447. /* dropdown item - styling/formatting */
  448. .dropdown-item{
  449. color: lightgray;
  450. margin-bottom: 0px;
  451. }
  452. .dropdown-item:hover{
  453. color: #ffffff;
  454. background-color: #020024;
  455. /* transition: color 0.50s ease-in; */
  456. }
  457. .log-out-wrapper{
  458. float: right;
  459. display: inline-block;
  460. }
  461. .log-out{
  462. color: #ffffff;
  463. margin-top: 1.5%;
  464. padding: 5px;
  465. }
  466. /* log out - formatting */
  467. .log-out{
  468. cursor: pointer;
  469. }
  470. /* navbar sizing on smaller screens */
  471. @media screen and (max-width: 991px){
  472. /* navbar link items - formatting */
  473. .navbar-nav{
  474. text-align: center;
  475. }
  476. /* wrappers - formatting */
  477. .left,.right,.um-wrapper{
  478. float: none;
  479. }
  480. .sf-wrapper{
  481. display: flex;
  482. margin: auto;
  483. text-align: center;
  484. margin-bottom: 1%;
  485. }
  486. .um-wrapper{
  487. display: block;
  488. margin: auto;
  489. text-align: center;
  490. }
  491. /* collapse wrapper - formatting childs */
  492. .collapse *{
  493. margin: auto;
  494. }
  495. /* user menu - formatting */
  496. .user-menu{
  497. margin: auto;
  498. margin-top: 1%;
  499. text-align: center;
  500. }
  501. /* user dropdown menu - formatting */
  502. .dropdown-menu{
  503. left: 0%;
  504. margin: auto;
  505. text-align: center;
  506. }
  507. .dropdown-menu.show{
  508. width: 100%;
  509. display: inline-block;
  510. }
  511. /* hide placeholder text */
  512. ::-webkit-input-placeholder{
  513. color: transparent !important;
  514. }
  515. :-moz-placeholder{
  516. color: transparent !important;
  517. }
  518. ::-moz-placeholder{
  519. color: transparent !important;
  520. }
  521. :-ms-input-placeholder{
  522. color: transparent !important;
  523. }
  524. }
  525. /* expand search form on smaller screens */
  526. @media screen and (max-width: 576px){
  527. .sf-wrapper{
  528. width: 50%;
  529. }
  530. }
  531. /* ------------------------------------ FOOTER --------------------------------- */
  532. .footer{
  533. margin-top: 1%;
  534. padding-left: 5%;
  535. padding-right: 5%;
  536. padding-top: 2.5%;
  537. color: white;
  538. display: flex;
  539. height: 100px;
  540. background-color: rgba(40,41,45,1.0);
  541. width: 100%;
  542. }
  543. .copyright-wrapper{
  544. width: 100%;
  545. text-align: right;
  546. }