inventory.css 1.6 KB

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