21.css 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. body {
  6. font-family: "Roboto", sans-serif;
  7. background-color: rgb(134, 189, 252);
  8. }
  9. #goLogin,
  10. #goRegistration,
  11. #goLogoff {
  12. cursor: pointer;
  13. }
  14. .header {
  15. min-height: 100px;
  16. background-color: rgb(136, 136, 255);
  17. display: flex;
  18. align-items: center;
  19. justify-content: space-between;
  20. font-style: italic;
  21. font-weight: 700;
  22. }
  23. .header * {
  24. margin: 0 10px;
  25. }
  26. .logoSlogan {
  27. display: flex;
  28. align-items: center;
  29. }
  30. .logo {
  31. width: 60px;
  32. height: 100%;
  33. border-radius: 30%;
  34. }
  35. .basketLogo {
  36. cursor: pointer;
  37. }
  38. .authorization {
  39. display: flex;
  40. }
  41. .displayNone {
  42. display: none;
  43. }
  44. .loginForm,
  45. .registrationForm {
  46. position: absolute;
  47. border: 2px solid rgb(136, 136, 255);
  48. border-radius: 20px;
  49. background-color: rgb(134, 189, 252);
  50. filter: drop-shadow(0 0 8px rgb(40, 40, 117));
  51. padding: 20px;
  52. height: 250px;
  53. width: 200px;
  54. margin: auto;
  55. top: 0;
  56. bottom: 0;
  57. left: 0;
  58. right: 0;
  59. text-align: center;
  60. display: grid;
  61. grid-template-columns: 1fr;
  62. justify-content: center;
  63. grid-gap: 10px;
  64. z-index: 5;
  65. }
  66. .loginForm button,
  67. .registrationForm button {
  68. border-radius: 20px;
  69. cursor: pointer;
  70. }
  71. .loginForm span,
  72. .registrationForm span {
  73. margin-left: 10px;
  74. }
  75. .wrapper {
  76. display: flex;
  77. }
  78. .leftSide {
  79. padding: 5px;
  80. min-width: 200px;
  81. /* min-height: 400px; */
  82. background-color: rgb(134, 189, 252);
  83. width: 300px;
  84. min-width: 300px;
  85. }
  86. .leftSide > p {
  87. text-align: center;
  88. font-weight: bold;
  89. }
  90. li {
  91. background-color: rgb(136, 136, 255);
  92. margin: 5px 20px 5px 10px;
  93. padding: 5px;
  94. border-radius: 7px;
  95. list-style-type: inherit;
  96. list-style-position: inside;
  97. cursor: pointer;
  98. }
  99. .leftSide li:hover {
  100. font-weight: 700;
  101. }
  102. .rightSide {
  103. /* display: flex;
  104. flex-direction: column; */
  105. flex-grow: 1;
  106. /* padding: 10px;
  107. background-color: rgb(134, 189, 252); */
  108. }
  109. .subMenu {
  110. background-color: rgb(136, 136, 255);
  111. display: flex;
  112. flex-direction: row;
  113. flex-wrap: wrap;
  114. align-items: center;
  115. margin: 5px 5px 5px 5px;
  116. min-height: 30px;
  117. border-radius: 10px;
  118. padding: 0 5px;
  119. }
  120. .categoryTitle {
  121. display: flex;
  122. flex-direction: row;
  123. align-items: center;
  124. margin: 5px 5px 5px 5px;
  125. padding: 0 0 0 10px;
  126. min-height: 30px;
  127. align-items: baseline;
  128. }
  129. .subMenu span:hover {
  130. font-weight: 700;
  131. }
  132. .subMenu span {
  133. margin: 5px;
  134. white-space: nowrap;
  135. cursor: pointer;
  136. }
  137. .mainBlock {
  138. background-color: rgb(134, 189, 252);
  139. display: grid;
  140. grid-template-columns: repeat(auto-fit, 280px);
  141. /* grid-template-rows: repeat(auto-fit, 380px); */
  142. justify-content: center;
  143. grid-gap: 15px;
  144. margin-bottom: 20px;
  145. padding-right: 20px;
  146. }
  147. .mainBlock h1 {
  148. margin: 5px 5px 20px 5px;
  149. }
  150. .divImg {
  151. display: grid;
  152. grid-template-columns: repeat(auto-fit, 150px);
  153. grid-template-rows: repeat(auto-fit, 150px);
  154. justify-content: center;
  155. grid-gap: 10px;
  156. }
  157. .divImg div:nth-child(n + 2) {
  158. display: none;
  159. }
  160. .forImage img,
  161. .mainBlock img {
  162. object-fit: contain;
  163. width: 100%;
  164. height: 100%;
  165. cursor: pointer;
  166. }
  167. .footer {
  168. min-height: 60px;
  169. background-color: rgb(136, 136, 255);
  170. display: flex;
  171. align-items: center;
  172. padding: 0 20px;
  173. }
  174. .footer * {
  175. margin: 0 10px;
  176. }
  177. .forImage {
  178. width: 80%;
  179. height: 80%;
  180. background-color: rgb(42, 52, 70);
  181. position: fixed;
  182. left: 10%;
  183. top: 10%;
  184. padding: 20px;
  185. z-index: 3;
  186. }
  187. .forBasket {
  188. width: 80%;
  189. height: 80%;
  190. background-color: rgb(134, 189, 252);
  191. border: 3px solid rgb(136, 136, 255);
  192. filter: drop-shadow(0 0 8px rgb(40, 40, 117));
  193. border-radius: 10px;
  194. position: fixed;
  195. left: 10%;
  196. top: 10%;
  197. padding: 10px;
  198. z-index: 5;
  199. overflow: auto;
  200. }
  201. .forBasket > div {
  202. border: 3px solid rgb(136, 136, 255);
  203. border-radius: 10px;
  204. min-height: 100px;
  205. margin: 10px;
  206. padding: 10px;
  207. }
  208. .forBasket > div > div {
  209. display: grid;
  210. grid-template-columns: 1fr 5fr 1fr 1fr 1.5fr;
  211. grid-template-rows: 1fr;
  212. justify-content: center;
  213. align-items: center;
  214. grid-gap: 20px;
  215. margin: 20px 0;
  216. }
  217. .forBasket img {
  218. width: 100px;
  219. }
  220. .forBasket button {
  221. padding: 10px;
  222. border-radius: 20px;
  223. }
  224. .shelfToker {
  225. border: 3px solid rgb(136, 136, 255);
  226. border-radius: 10px;
  227. padding: 10px;
  228. text-align: center;
  229. background-color: rgb(134, 189, 252);
  230. filter: drop-shadow(0 0 4px rgba(40, 40, 117, 0.7));
  231. }
  232. .shelfToker:hover {
  233. filter: drop-shadow(0 0 8px rgb(40, 40, 117));
  234. }
  235. .shelfToker button {
  236. margin: 5px;
  237. padding: 5px 20px;
  238. border-radius: 10px;
  239. }
  240. .shelfToker > h3:first-child {
  241. min-height: 75px;
  242. cursor: pointer;
  243. color: rgb(40, 40, 117);
  244. }
  245. .shelfToker p,
  246. .shelfToker h4 {
  247. display: none;
  248. }
  249. .shelfToker input {
  250. width: 40px;
  251. }
  252. .shelfTokerExitBtn {
  253. display: none;
  254. }
  255. .shelfTokerBig {
  256. position: fixed;
  257. z-index: 1;
  258. width: 80%;
  259. top: 10%;
  260. height: 80%;
  261. left: 10%;
  262. overflow: auto;
  263. }
  264. .shelfTokerBig p,
  265. .shelfTokerBig h4 {
  266. display: unset;
  267. }
  268. .shelfTokerBig div div:nth-child(n + 2) {
  269. display: unset;
  270. }
  271. .shelfTokerBig > div {
  272. display: grid;
  273. grid-template-columns: repeat(auto-fit, 300px);
  274. justify-content: center;
  275. grid-gap: 10px;
  276. }
  277. .shelfTokerBig .shelfTokerExitBtn {
  278. display: unset;
  279. }