index.scss 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. *{
  2. padding: 0;
  3. margin:0;
  4. }
  5. .Link{
  6. color:inherit;
  7. text-decoration: none;
  8. }
  9. .AuthPage{
  10. display: flex;
  11. justify-content: center;
  12. min-width: 100%;
  13. height: 100vh;
  14. align-items: center;
  15. & .AuthForm{
  16. min-width: 400px;
  17. }
  18. }
  19. .carousel {
  20. & .thumb {
  21. border: 1px solid rgba(0,0,0,0)!important;
  22. cursor:pointer;
  23. &:hover{
  24. border:1px solid #C9C5CA!important;
  25. }
  26. }
  27. }
  28. .GoodCard{
  29. & .BuyButton{
  30. margin-left: auto;
  31. }
  32. }
  33. .DrawerCart{
  34. width:350px;
  35. & .header{
  36. justify-content: space-between;
  37. width: 100%;
  38. }
  39. & .header{
  40. padding: 10px;
  41. }
  42. & .DrawerCartItem{
  43. width:100%;
  44. display: flex;
  45. & .content{
  46. flex:1;
  47. }
  48. & .buttons{
  49. padding: 10px;
  50. display: flex;
  51. align-items: center;
  52. }
  53. }
  54. & .list{
  55. }
  56. }
  57. .App{
  58. & .Header{
  59. margin-bottom: 30px;
  60. & .AppBar{
  61. background: white;
  62. color:#6750A4;
  63. & .ToolBar{
  64. padding-left: 50px;
  65. padding-right: 50px;
  66. & .Logo{
  67. width:50px;
  68. height:50px;
  69. margin-right: 10px;
  70. }
  71. & .SearchBarWrapper{
  72. flex-grow: 1;
  73. margin-left: 10px;
  74. & .SearchBar{
  75. position: relative;
  76. & .SearchBarInput{
  77. width: 100%;
  78. max-width: 500px;
  79. }
  80. & .SearchResults{
  81. position: absolute;
  82. width: 100%;
  83. max-width: 480px;
  84. background: white;
  85. padding: 10px;
  86. z-index: 2;
  87. & .SearchGoodResultItem{
  88. text-align: left;
  89. & img{
  90. width:100%;
  91. max-height: 100px;
  92. }
  93. &:hover{
  94. background: #F1F2F4;
  95. }
  96. }
  97. }
  98. }
  99. }
  100. & .CartIcon{
  101. & .MuiBadge-badge{
  102. right: 4px;
  103. top: 35px;
  104. padding: 0 4px;
  105. }
  106. & .CartLogo{
  107. color:#6750A4;
  108. width:30px;
  109. height:30px;
  110. }
  111. }
  112. }
  113. }
  114. }
  115. & .Aside{
  116. margin-left: 50px;
  117. & .body{
  118. padding: 10px 0px 100px 0px;
  119. border-radius: 5px;
  120. border:1px solid #C9C5CA ;
  121. & .Categories{
  122. }
  123. }
  124. }
  125. & .Content{
  126. margin-left: 25px;
  127. margin-right: 50px;
  128. min-height: 600px;
  129. border-radius: 5px;
  130. flex:1;
  131. border:1px solid #C9C5CA ;
  132. & .AdminLayoutPage{
  133. padding: 10px;
  134. padding-bottom: 400px;
  135. & .AdminGoodPage{
  136. & .GoodForm{
  137. width:40%;
  138. text-align: left;
  139. }
  140. & .EntityEditor{
  141. & .DropZoneImage{
  142. width: 100%;
  143. }
  144. & .Dropzone{
  145. background: #F1F2F4;
  146. width: 100%;
  147. padding: 70px 0;
  148. border: 1px dashed #E9EAEC;
  149. border-radius: 5px;
  150. text-align: center;
  151. }
  152. }
  153. }
  154. & .AdminGoodList{
  155. width:90%;
  156. display: flex;
  157. justify-content: center;
  158. flex-wrap: wrap;
  159. margin-left: 5%;
  160. & .AdminGoodItem{
  161. & img{
  162. width: 100px;
  163. }
  164. }
  165. }
  166. & .searchBarWrapper{
  167. display: flex;
  168. justify-content: center;
  169. margin-bottom:10px ;
  170. & .SearchBar{
  171. position: relative;
  172. & .SearchBarInput{
  173. width: 100%;
  174. max-width: 500px;
  175. min-width: 500px;
  176. }
  177. & .SearchResults{
  178. position: absolute;
  179. width: 100%;
  180. max-width: 480px;
  181. background: white;
  182. padding: 10px;
  183. z-index: 2;
  184. & .SearchGoodResultItem{
  185. text-align: left;
  186. & img{
  187. width:100%;
  188. max-height: 100px;
  189. }
  190. &:hover{
  191. background: #F1F2F4;
  192. }
  193. }
  194. }
  195. }
  196. }
  197. }
  198. & .MainPage{
  199. padding: 10px;
  200. & .MainPageImage{
  201. width: 1005;
  202. border-radius: 10px;
  203. }
  204. }
  205. & .CartPage{
  206. & .OrderForm{
  207. padding: 10px 15px;
  208. text-align: left;
  209. }
  210. }
  211. & .GoodPage{
  212. padding:10px;
  213. & .content{
  214. text-align: left;
  215. }
  216. }
  217. }
  218. & .Footer{
  219. margin-top:70px;
  220. background-color: #F4EFF4;
  221. padding: 25px 0px;
  222. & .TableCell{
  223. border-bottom: none;
  224. padding: 0;
  225. padding-top: 5px;
  226. }
  227. }
  228. }