App.css 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603
  1. * {
  2. padding: 0;
  3. margin: 0%;
  4. color: rgb(229, 229, 243);
  5. }
  6. a {
  7. text-decoration: none;
  8. color: rgb(229, 229, 243);
  9. }
  10. a:hover {
  11. color: rgb(229, 229, 243);
  12. }
  13. input {
  14. background-color: rgb(229, 229, 243);
  15. border-radius: 10%;
  16. color: rgb(58, 58, 65);
  17. }
  18. textarea {
  19. background-color: rgb(229, 229, 243);
  20. border-radius: 10%;
  21. color: rgb(58, 58, 65);
  22. width: 300px;
  23. }
  24. textarea:hover {
  25. background-color: rgb(248, 238, 238);
  26. }
  27. input:hover {
  28. background-color: rgb(248, 238, 238);
  29. }
  30. button:disabled {
  31. background-color: rgb(90, 88, 88);
  32. }
  33. .links {
  34. text-decoration: none;
  35. color: rgb(229, 229, 243);
  36. }
  37. .catalog li {
  38. padding-left: 5px;
  39. }
  40. .adminSmile {
  41. margin: 5px;
  42. }
  43. .subCatalog .subLink li {
  44. background-color: rgb(10, 10, 10);
  45. border-color: rgb(248, 238, 238);
  46. padding-left: 5px;
  47. }
  48. .subCatalog {
  49. list-style: none;
  50. }
  51. .redAlert {
  52. background-color: rgb(41, 9, 9);
  53. }
  54. .header {
  55. position: fixed;
  56. width: 100%;
  57. top:0%;
  58. color: rgb(229, 229, 243);
  59. background-color: rgb(58, 58, 65);
  60. display: flex;
  61. justify-content: space-between;
  62. height: 50px;
  63. z-index: 2;
  64. }
  65. .header .standartMenu {
  66. height: 100%;
  67. align-items: center;
  68. width: 50%;
  69. list-style-type: none;
  70. display: flex;
  71. justify-content: space-around;
  72. }
  73. .mobileMenu {
  74. position: absolute;
  75. background-color: rgb(58, 58, 65);
  76. height: 7em;
  77. border-radius: 0 0% 10% 10%;
  78. align-items: center;
  79. list-style-type: none;
  80. font-size: 10px;
  81. justify-content: space-around;
  82. top: 50px;
  83. left: 0px;
  84. padding: 0%;
  85. right: 0%;
  86. z-index: 2;
  87. display: flex;
  88. flex-direction: row;
  89. border-bottom: 2px solid rgb(10, 10, 10);
  90. }
  91. .tabletMenu {
  92. display: none;
  93. }
  94. .rightSide {
  95. height: 100%;
  96. align-items: center;
  97. display: flex;
  98. justify-content: space-around;
  99. }
  100. .rightSide div {
  101. margin: 0px 10px;
  102. }
  103. .rightSide div svg {
  104. margin-right: 2px;
  105. }
  106. .MainImg {
  107. background-image: url(./images/main.jpg);
  108. background-repeat: no-repeat;
  109. background-position: center;
  110. background-size: cover;
  111. width: 100%;
  112. min-height: 45em;
  113. max-height: 100%;
  114. margin-top: 50px;
  115. padding-bottom: 100px;
  116. display: flex;
  117. flex-direction: column;
  118. }
  119. .catalogInput {
  120. display: flex;
  121. justify-content: space-between;
  122. }
  123. .catalogHead {
  124. padding: 5px;
  125. }
  126. .search input{
  127. width: 50%;
  128. margin: 0 15px 0 0px;
  129. }
  130. .search button {
  131. width: 100px;
  132. background-color: rgb(58, 58, 65);
  133. border-radius: 15%;
  134. }
  135. content {
  136. width: 80%;
  137. }
  138. .goodsNotFound {
  139. padding-top: 20%;
  140. }
  141. .goodsNotFound h5 {
  142. font-size: 30px;
  143. }
  144. .goodsWrapper {
  145. display: flex;
  146. align-items: center;
  147. flex-direction: column;
  148. }
  149. .goods {
  150. display: flex;
  151. flex-wrap: wrap;
  152. justify-content: space-around;
  153. width: 90%;
  154. border-radius: 10%;
  155. padding: 20px;
  156. }
  157. .catalog {
  158. list-style: none;
  159. padding: 3%;
  160. }
  161. .catalog li {
  162. background-color: rgb(58, 58, 65);
  163. border: 0.01px;
  164. border-style: solid;
  165. border-color:rgb(10, 10, 10);
  166. }
  167. .oneGood {
  168. position: relative;
  169. background-color: rgb(10, 10, 10);
  170. display: flex;
  171. width: 170px;
  172. flex-direction: column;
  173. font-size: 14px;
  174. align-items: center;
  175. margin: 5px;
  176. padding: 25px;
  177. border: 2px solid;
  178. border-color:rgb(229, 229, 243);
  179. border-radius: 20%;
  180. justify-content: space-between;
  181. }
  182. .oneGood h5 {
  183. font-size: 16px;
  184. height: 75px;
  185. }
  186. .forOneGoodImg {
  187. height: 170px;
  188. }
  189. .smallGoodInner {
  190. display: flex;
  191. flex-direction: column;
  192. align-items: center;
  193. }
  194. .goodCard {
  195. display: flex;
  196. flex-direction: column;
  197. margin: 5px;
  198. padding: 25px;
  199. padding: 35px;
  200. align-items: center;
  201. background-color: rgb(10, 10, 10);
  202. border: 2px solid;
  203. border-color:rgb(229, 229, 243);
  204. border-radius: 5%;
  205. }
  206. .goodCard h2 {
  207. text-align: center;
  208. }
  209. .goodCard span {
  210. font-size: 20px;
  211. }
  212. .goodCard img {
  213. width: 250px;
  214. }
  215. .loginWrapper {
  216. background-color: rgb(58, 58, 65);
  217. width: 80%;
  218. display: flex;
  219. padding: 15px;
  220. flex-direction: column;
  221. align-items: center;
  222. border: 2px solid;
  223. border-color:rgb(229, 229, 243);
  224. border-radius: 5%;
  225. }
  226. .loginForm {
  227. display: flex;
  228. justify-content: center;
  229. align-items: center;
  230. height: 15em;
  231. }
  232. .loginForm input{
  233. color:rgb(58, 58, 65);
  234. margin: 10px;
  235. }
  236. button {
  237. margin: 10px;
  238. width: 100px;
  239. background-color: rgb(58, 58, 65);
  240. border-radius: 15%;
  241. }
  242. .loginForm button {
  243. margin: 10px;
  244. width: 100px;
  245. border-radius: 15%;
  246. }
  247. .profilePage {
  248. display: flex;
  249. position: relative;
  250. flex-direction: column;
  251. align-items: center;
  252. width: 80%;
  253. background-color: rgb(58, 58, 65);
  254. border: 2px solid;
  255. border-color:rgb(229, 229, 243);
  256. border-radius: 5%;
  257. padding: 15px;
  258. }
  259. .profilePage svg {
  260. margin: 15px;
  261. }
  262. .profilePage .click {
  263. background-color: rgb(10, 10, 10);
  264. padding: 5px 10px;
  265. border: 2px solid;
  266. border-color:rgb(229, 229, 243);
  267. border-radius: 10%;
  268. }
  269. .profilePage img {
  270. width: 250px;
  271. }
  272. .usersList {
  273. display: flex;
  274. width: 40%;
  275. flex-direction: column;
  276. align-items: center;
  277. background-color: rgb(10, 10, 10);
  278. padding: 5px 10px;
  279. border: 2px solid;
  280. border-color:rgb(229, 229, 243);
  281. /* border-radius: 10%; */
  282. }
  283. .oneUser {
  284. display: flex;
  285. align-items: center;
  286. /* justify-content: space-between; */
  287. width: 100%;
  288. margin: 10px;
  289. border-bottom: 2px dotted rgb(229, 229, 243);
  290. }
  291. .oneUser a {
  292. display: flex;
  293. justify-content: space-between;
  294. width: 100%;
  295. }
  296. .usersList img {
  297. width: 30px;
  298. }
  299. .updateWrapper {
  300. display: flex;
  301. flex-direction: column;
  302. align-items: center;
  303. }
  304. .updateWrapper input {
  305. margin: 5px;
  306. }
  307. .basketInner {
  308. display: flex;
  309. justify-content: center;
  310. flex-direction: column;
  311. flex-wrap: wrap;
  312. width: 80%;
  313. }
  314. .basketgoodsInner {
  315. display: flex;
  316. justify-content: center;
  317. flex-wrap: wrap;
  318. }
  319. .order {
  320. padding-left: 10px;
  321. padding-right: 10px;
  322. display: flex;
  323. flex-direction: column;
  324. justify-content: space-around;
  325. background-color: rgb(10, 10, 10);
  326. border: 2px solid;
  327. border-color:rgb(229, 229, 243);
  328. border-radius: 5%;
  329. width: 400px;
  330. height: 280px;
  331. }
  332. .basketNoGoods {
  333. padding-left: 10px;
  334. padding-right: 10px;
  335. display: flex;
  336. flex-direction: column;
  337. justify-content: space-around;
  338. background-color: rgb(10, 10, 10);
  339. border: 2px solid;
  340. align-items: center;
  341. border-color:rgb(229, 229, 243);
  342. border-radius: 5%;
  343. width: 400px;
  344. height: 280px;
  345. }
  346. .basketButoons {
  347. display: flex;
  348. }
  349. .total {
  350. display: flex;
  351. justify-content: center;
  352. background-color: rgb(58, 58, 65);
  353. border-radius: 10%;
  354. padding: 10px;
  355. align-items: center;
  356. }
  357. .basketBottom {
  358. display: flex;
  359. justify-content: center;
  360. }
  361. .basketInner .oneGood button {
  362. width: 40px;
  363. }
  364. .bottom {
  365. background-image: url(./images/bottom.jpg);
  366. background-position: center;
  367. background-size: cover;
  368. background-repeat: no-repeat;
  369. height: 550px;
  370. }
  371. .footer {
  372. position: fixed;
  373. width: 100%;
  374. bottom:0%;
  375. color: rgb(229, 229, 243);
  376. background-color: rgb(58, 58, 65);
  377. display: flex;
  378. justify-content: space-between;
  379. padding-bottom: 10px;
  380. align-items: center;
  381. height: 50px;
  382. }
  383. .guarantee {
  384. padding: 0% 5px;
  385. }
  386. .contacts {
  387. width: 50%;
  388. display: flex;
  389. justify-content: space-around;
  390. }
  391. @media screen and (max-width: 900px) {
  392. .header {
  393. padding: 0%;
  394. }
  395. .header .standartMenu {
  396. display: none;
  397. }
  398. .tabletMenu {
  399. display: inline-block;
  400. }
  401. .rightSide {
  402. padding-right: 10px;
  403. font-size: 10px;
  404. /* width: 70%; */
  405. align-items: center;
  406. }
  407. .rightSide button {
  408. width: 50px;
  409. }
  410. .rightSide div {
  411. margin: 0px 2px;
  412. }
  413. .loginWrapper {
  414. width: 100%;
  415. }
  416. .loginForm {
  417. flex-direction: column;
  418. }
  419. .loginForm input {
  420. margin: 5px ;
  421. width: 150px;
  422. }
  423. .profilePage {
  424. width: 100%;
  425. }
  426. .profilePage .click {
  427. font-size: 8px;
  428. padding: 2px 3px;
  429. }
  430. .updateImg input{
  431. width: 250px;
  432. }
  433. .usersList {
  434. width: 100%;
  435. }
  436. .order {
  437. padding-left: 10px;
  438. padding-right: 10px;
  439. display: flex;
  440. flex-direction: column;
  441. justify-content: space-around;
  442. background-color: rgb(10, 10, 10);
  443. border: 2px solid;
  444. font-size: 10px;
  445. border-color:rgb(229, 229, 243);
  446. border-radius: 5%;
  447. width: 100%;
  448. height: 250px;
  449. }
  450. .order h2 {
  451. font-size: 22px;
  452. }
  453. .order h5 {
  454. font-size: 13px;
  455. }
  456. .catalog li{
  457. font-size: 10px;
  458. }
  459. .catalogInput {
  460. justify-content: flex-start;
  461. }
  462. .catalog a {
  463. font-size: 10px;
  464. }
  465. .MainImg {
  466. padding-top: 100px;
  467. /* height: 15em; */
  468. background-position: top;
  469. }
  470. /* .MainImg aside {
  471. width: 40%;
  472. } */
  473. .MainImg content {
  474. width: 100%;
  475. }
  476. .subCatalog .subLink li {
  477. width: 80px;
  478. }
  479. .goods {
  480. padding: 0%;
  481. background: none;
  482. }
  483. .basketInner {
  484. width: 100%;
  485. }
  486. .basketInner .oneGood {
  487. height: 270px;
  488. }
  489. .oneGood {
  490. background-color: rgb(10, 10, 10);
  491. padding: auto;
  492. margin: 5px 0;
  493. width: 140px;
  494. }
  495. .oneGood h5 {
  496. font-size: 10px;
  497. height: 40px;
  498. }
  499. .forOneGoodImg {
  500. height: 120px;
  501. }
  502. .oneGood img {
  503. width: 80px;
  504. }
  505. .goodsNotFound h5 {
  506. font-size: 15px;
  507. line-height: 25px;
  508. }
  509. .goodCard {
  510. margin: 5px;
  511. position: absolute;
  512. left: 0;
  513. right: 0;
  514. /* padding: 10px; */
  515. }
  516. .goodCard img{
  517. width: 250px;
  518. }
  519. .goodCard h2 {
  520. font-size: 14px;
  521. }
  522. .goodCard p {
  523. width: 100%;
  524. font-size: 8px;
  525. }
  526. .basketNoGoods {
  527. width: 100%;
  528. height: auto;
  529. }
  530. .footer {
  531. font-size: 8px;
  532. }
  533. .contacts {
  534. width: 70%;
  535. }
  536. }