22.css 5.6 KB

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