sidebars.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. @media screen and (orientation: portrait){
  2. @media screen and (max-width: 1400px){
  3. .sidebar{
  4. width: 100vw;
  5. color: white;
  6. }
  7. .sidebarIconButtons{
  8. display: none;
  9. }
  10. /* MENU */
  11. #menu{
  12. display: none;
  13. width: 100vw;
  14. padding: 0;
  15. }
  16. .menuShifter{
  17. display: none;
  18. }
  19. .menuHead{
  20. justify-content: right;
  21. padding: 0;
  22. margin-bottom: 25px;
  23. }
  24. .menuHead a{
  25. justify-content: center;
  26. margin: auto;
  27. }
  28. .menuButton{
  29. padding-left: 0;
  30. justify-content: center;
  31. background: rgb(201, 201, 201);
  32. color: black;
  33. width: 90%;
  34. margin: 15px auto;
  35. box-shadow: 0 0 5px white;
  36. }
  37. }
  38. @media screen and (min-width: 601px){
  39. .menuHead a p{
  40. font-size: 40px;
  41. }
  42. }
  43. }
  44. @media screen and (orientation: landscape){
  45. @media screen and (max-width: 1200px){
  46. .sidebar{
  47. width: 100vw;
  48. color: white;
  49. padding: 3px 15px;
  50. }
  51. .sidebarIconButtons{
  52. display: none;
  53. }
  54. /* MENU */
  55. #menu{
  56. display: none;
  57. width: 100vw;
  58. height: 100vh;
  59. padding: 0;
  60. flex-wrap: wrap;
  61. flex-direction: row;
  62. justify-content: space-around;
  63. }
  64. .menuShifter{
  65. display: none;
  66. }
  67. .menuHead{
  68. justify-content: center;
  69. padding: 0;
  70. margin-bottom: 0;
  71. height: 50px;
  72. }
  73. .menuHead a{
  74. width: initial;
  75. justify-content: center;
  76. }
  77. .menuLogo{
  78. max-height: 50px;
  79. max-width: 50px;
  80. }
  81. .menuButton{
  82. width: 40%;
  83. justify-content: center;
  84. background: rgb(201, 201, 201);
  85. color: black;
  86. margin: 15px;
  87. padding-left: 0;
  88. box-shadow: 0 0 5px white;
  89. height: 10vh;
  90. }
  91. /* INGREDIENT DETAILS */
  92. #ingredientDetails > *{
  93. margin: 0;
  94. }
  95. #recipeListLabel, #subIngredientList{
  96. display: none;
  97. }
  98. /* FILTER ORDERS */
  99. #orderFilter > *{
  100. margin: 0;
  101. }
  102. #orderFilter h1{
  103. padding: 0;
  104. }
  105. #filterOrderDateRange, #orderFilter .lineBorder{
  106. display: none;
  107. }
  108. .dateRange{
  109. padding-bottom: 3px;
  110. }
  111. #orderFilterSubmit{
  112. margin-top: 3px;
  113. }
  114. /* ORDER DETAILS */
  115. #orderIngredients{
  116. display: none;
  117. }
  118. /* TRANSACTION DETAILS */
  119. #transactionRecipesLabel, .transactionRecipes, #transactionDetails .lineBorder{
  120. display: none;
  121. }
  122. /* FILTER TRANSACTIONS */
  123. #transactionFilter > *{
  124. margin: 0;
  125. }
  126. #transactionFilterDateLabel{
  127. display: none;
  128. }
  129. #transactionFilter .dateRange{
  130. margin-bottom: 5px;
  131. }
  132. #transFilterSubmit{
  133. margin-top: 5px;
  134. }
  135. @media screen and (min-width: 1000px){
  136. .menuLogo{
  137. max-height: initial;
  138. max-width: 300px;
  139. }
  140. .menuHead a p{
  141. font-size: 35px;
  142. }
  143. #recipeListLabel, #subIngredientList{
  144. display: flex;
  145. }
  146. /* ORDER FILTER */
  147. #orderFilterIngredients{
  148. max-height: 70%;
  149. }
  150. #orderFilterSubmit{
  151. margin-top: 15px;
  152. }
  153. /* ORDER DETAILS */
  154. #orderIngredients{
  155. display: flex;
  156. flex-direction: column;
  157. }
  158. /* TRANSACTION DETAILS */
  159. #transactionRecipesLabel, .transactionRecipes, #transactionDetails .lineBorder{
  160. display: flex;
  161. flex-direction: column;
  162. }
  163. /* TRANSACTION FILTER */
  164. #transFilterRecipeList{
  165. max-height: 70%;
  166. }
  167. }
  168. }
  169. }