inventory.css 1.2 KB

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