modal.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. .modal{
  2. flex-direction: column;
  3. justify-content: center;
  4. align-items: center;
  5. position: fixed;
  6. height: 100vh;
  7. width: 100vw;
  8. background: rgba(0, 27, 45, 0.75);
  9. }
  10. .modalBox{
  11. display: flex;
  12. flex-direction: column;
  13. align-items: flex-end;
  14. max-height: 90%;
  15. }
  16. .modalBox > svg{
  17. color: rgb(255, 99, 107);
  18. cursor: pointer;
  19. }
  20. #modalContent{
  21. max-height: 90%;
  22. }
  23. .modalSpreadsheetUpload{
  24. flex-direction: column;
  25. align-items: center;
  26. justify-content: space-between;
  27. margin-top: 0;
  28. padding: 25px 100px;
  29. background: rgb(240, 252, 255);
  30. border: 2px solid black;
  31. }
  32. .modalSpreadsheetUpload > *{
  33. margin-top: 15px;
  34. }
  35. #modalFeedback{
  36. display: flex;
  37. flex-direction: column;
  38. background: white;
  39. padding: 50px;
  40. }
  41. #modalFeedback > *{
  42. margin: 15px;
  43. }
  44. #modalFeedback label{
  45. display: flex;
  46. flex-direction: column;
  47. }
  48. #modalNewMerchant{
  49. display: flex;
  50. flex-direction: column;
  51. background: white;
  52. padding: 50px;
  53. min-width: 350px;
  54. }
  55. #modalNewMerchant h2{
  56. text-align: center;
  57. }
  58. #modalNewMerchant > *{
  59. margin: 15px;
  60. }
  61. #modalNewMerchant label{
  62. display: flex;
  63. flex-direction: column;
  64. }
  65. #modalConfirm{
  66. display: flex;
  67. flex-direction:column;
  68. align-items: center;
  69. background: white;
  70. padding: 50px;
  71. }
  72. #modalConfirm svg{
  73. font-size: 50px;
  74. margin: 15px;
  75. font-weight: bold;
  76. }
  77. #modalConfirm p{
  78. font-size: 25px;
  79. font-weight: bold;
  80. }
  81. #newMerchantSquareButton{
  82. background: white;
  83. border: none;
  84. display: flex;
  85. justify-content: center;
  86. align-items: center;
  87. border: 1px solid black;
  88. padding: 9px;
  89. cursor: pointer;
  90. margin-top: 0;
  91. margin-bottom: 0;
  92. height: 44px;
  93. }
  94. #newMerchantSquareButton:hover{
  95. background: black;
  96. color: white;
  97. }
  98. #modalSquareLocations{
  99. display: flex;
  100. flex-direction: column;
  101. align-items: center;
  102. background: white;
  103. padding: 50px;
  104. min-width: 350px;
  105. }
  106. #squareLocationsButtons{
  107. display: flex;
  108. flex-direction: column;
  109. margin-bottom: 25px;
  110. width: 100%;
  111. }
  112. #modalEditSubIngredients{
  113. flex-direction: column;
  114. align-items: center;
  115. background: white;
  116. min-width: 500px;
  117. max-height: 100%;
  118. }
  119. #editSubIngredientsContainer{
  120. display: flex;
  121. justify-content: space-around;
  122. width: 100%;
  123. height: 100%;
  124. overflow-y: auto;
  125. }
  126. #editSubIngredientsHeaders{
  127. display: flex;
  128. justify-content: space-around;
  129. width: 100%;
  130. }
  131. #editSubAllIng, #editSubCurrentIng{
  132. padding: 25px;
  133. width: 100%;
  134. overflow-y: auto;
  135. }
  136. #editSubAllIng > *{
  137. width: 100%;
  138. }
  139. #editSubCurrentIng > * {
  140. width: 100%;
  141. }
  142. #modalCircularReference{
  143. flex-direction: column;
  144. background: white;
  145. align-items: center;
  146. padding: 25px;
  147. max-height: 90%;
  148. overflow-y: auto;
  149. }
  150. #modalCircularReference div > *{
  151. margin: 10px;
  152. }
  153. #modalUnitConversion{
  154. flex-direction: column;
  155. background: white;
  156. align-items: center;
  157. padding: 25px;
  158. max-height: 90%;
  159. overflow-y: auto;
  160. }
  161. #unitConversions{
  162. width: 100%;
  163. }
  164. .convertUnitOption{
  165. display: flex;
  166. flex-direction: column;
  167. margin: 10px 0;
  168. border-bottom: 3px solid rgb(255, 99, 107);
  169. }
  170. .convertInputBox{
  171. margin: 0 10px;
  172. }
  173. .convertInputBox > input{
  174. max-width: 150px;
  175. }
  176. .convertUnitOption > div{
  177. display: flex;
  178. }