inventory.css 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. *{margin:0;padding:0}
  2. #inventoryStrand{
  3. display: flex;
  4. flex-direction: column;
  5. align-items: center;
  6. }
  7. .bold-text{
  8. font-weight: bold;
  9. }
  10. .container{
  11. display: flex;
  12. flex-direction: column;
  13. align-items: center;
  14. }
  15. .container *{
  16. margin: 10px;
  17. }
  18. th{
  19. border: 2px solid #ff626b;
  20. background: #001b2d;
  21. color: darkgray;
  22. padding: 3px;
  23. min-width: 150px;
  24. cursor: pointer;
  25. }
  26. .container th:nth-of-type(5){
  27. border: none;
  28. background: none;
  29. color: white;
  30. min-width: 0;
  31. cursor: auto;
  32. }
  33. td{
  34. border: 1px solid black;
  35. text-align: center;
  36. padding: 1px 10px;
  37. }
  38. .container td:nth-of-type(5n){
  39. border: none;
  40. }
  41. .input-new{
  42. display: flex;
  43. flex-wrap: nowrap;
  44. }
  45. .edit-button{
  46. padding: 0;
  47. margin: 0;
  48. }
  49. .add-ingredient{
  50. position: fixed;
  51. left: 0;
  52. top: 0;
  53. width: 100%;
  54. height: 100%;
  55. background: rgba(11, 20, 8, 0.79);
  56. opacity: 1;
  57. visibility: hidden;
  58. transform: scale(1.1);
  59. }
  60. .modal-content{
  61. position: absolute;
  62. top: 50%;
  63. left: 50%;
  64. transform: translate(-50%, -50%);
  65. background: white;
  66. border-radius: 25px;
  67. display: flex;
  68. background-size: cover;
  69. padding: 50px;
  70. max-height: 75%;
  71. overflow-y: auto;
  72. }
  73. th{
  74. cursor: auto;
  75. }
  76. .modal-content th:nth-of-type(4){
  77. background: none;
  78. border: none;
  79. min-width: 0;
  80. }