Amber Shopify Project created using ReactJS+React-Redux with GraphQL API integration. Storefront Shopify API: https://github.com/Shopify/shopify-app-js/tree/main/packages/api-clients/storefront-api-client#readme
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

index.css 8.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424
  1. @font-face {
  2. font-family: 'Proxima-Nova';
  3. src: url(./assets/fonts/ProximaNova-Regular.otf);
  4. }
  5. @font-face {
  6. font-family: 'BigCalson';
  7. src: url(./assets/fonts/BigCaslonFB-Regular.ttf);
  8. }
  9. /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
  10. /* Document
  11. ========================================================================== */
  12. /**
  13. * 1. Correct the line height in all browsers.
  14. * 2. Prevent adjustments of font size after orientation changes in iOS.
  15. */
  16. html {
  17. line-height: 1.15; /* 1 */
  18. -webkit-text-size-adjust: 100%; /* 2 */
  19. }
  20. /* Sections
  21. ========================================================================== */
  22. /**
  23. * Remove the margin in all browsers.
  24. */
  25. body {
  26. margin: 0;
  27. font-family: 'Proxima-Nova', sans-serif;
  28. }
  29. /**
  30. * Render the `main` element consistently in IE.
  31. */
  32. main {
  33. display: block;
  34. }
  35. /**
  36. * Correct the font size and margin on `h1` elements within `section` and
  37. * `article` contexts in Chrome, Firefox, and Safari.
  38. */
  39. h1 {
  40. font-size: 2em;
  41. margin: 0.67em 0;
  42. }
  43. /* Grouping content
  44. ========================================================================== */
  45. /**
  46. * 1. Add the correct box sizing in Firefox.
  47. * 2. Show the overflow in Edge and IE.
  48. */
  49. hr {
  50. box-sizing: content-box; /* 1 */
  51. height: 0; /* 1 */
  52. overflow: visible; /* 2 */
  53. }
  54. /**
  55. * 1. Correct the inheritance and scaling of font size in all browsers.
  56. * 2. Correct the odd `em` font sizing in all browsers.
  57. */
  58. pre {
  59. font-family: monospace, monospace; /* 1 */
  60. font-size: 1em; /* 2 */
  61. }
  62. /* Text-level semantics
  63. ========================================================================== */
  64. /**
  65. * Remove the gray background on active links in IE 10.
  66. */
  67. a {
  68. background-color: transparent;
  69. }
  70. /**
  71. * 1. Remove the bottom border in Chrome 57-
  72. * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
  73. */
  74. abbr[title] {
  75. border-bottom: none; /* 1 */
  76. text-decoration: underline; /* 2 */
  77. text-decoration: underline dotted; /* 2 */
  78. }
  79. /**
  80. * Add the correct font weight in Chrome, Edge, and Safari.
  81. */
  82. b,
  83. strong {
  84. font-weight: bolder;
  85. }
  86. /**
  87. * 1. Correct the inheritance and scaling of font size in all browsers.
  88. * 2. Correct the odd `em` font sizing in all browsers.
  89. */
  90. code,
  91. kbd,
  92. samp {
  93. font-family: monospace, monospace; /* 1 */
  94. font-size: 1em; /* 2 */
  95. }
  96. /**
  97. * Add the correct font size in all browsers.
  98. */
  99. small {
  100. font-size: 80%;
  101. }
  102. /**
  103. * Prevent `sub` and `sup` elements from affecting the line height in
  104. * all browsers.
  105. */
  106. sub,
  107. sup {
  108. font-size: 75%;
  109. line-height: 0;
  110. position: relative;
  111. vertical-align: baseline;
  112. }
  113. sub {
  114. bottom: -0.25em;
  115. }
  116. sup {
  117. top: -0.5em;
  118. }
  119. /* Embedded content
  120. ========================================================================== */
  121. /**
  122. * Remove the border on images inside links in IE 10.
  123. */
  124. img {
  125. border-style: none;
  126. }
  127. /* Forms
  128. ========================================================================== */
  129. /**
  130. * 1. Change the font styles in all browsers.
  131. * 2. Remove the margin in Firefox and Safari.
  132. */
  133. button,
  134. input,
  135. optgroup,
  136. select,
  137. textarea {
  138. font-family: inherit; /* 1 */
  139. font-size: 100%; /* 1 */
  140. line-height: 1.15; /* 1 */
  141. margin: 0; /* 2 */
  142. }
  143. /**
  144. * Show the overflow in IE.
  145. * 1. Show the overflow in Edge.
  146. */
  147. button,
  148. input { /* 1 */
  149. overflow: visible;
  150. }
  151. /**
  152. * Remove the inheritance of text transform in Edge, Firefox, and IE.
  153. * 1. Remove the inheritance of text transform in Firefox.
  154. */
  155. button,
  156. select { /* 1 */
  157. text-transform: none;
  158. }
  159. /**
  160. * Correct the inability to style clickable types in iOS and Safari.
  161. */
  162. button,
  163. [type="button"],
  164. [type="reset"],
  165. [type="submit"] {
  166. -webkit-appearance: button;
  167. }
  168. /**
  169. * Remove the inner border and padding in Firefox.
  170. */
  171. button::-moz-focus-inner,
  172. [type="button"]::-moz-focus-inner,
  173. [type="reset"]::-moz-focus-inner,
  174. [type="submit"]::-moz-focus-inner {
  175. border-style: none;
  176. padding: 0;
  177. }
  178. /**
  179. * Restore the focus styles unset by the previous rule.
  180. */
  181. button:-moz-focusring,
  182. [type="button"]:-moz-focusring,
  183. [type="reset"]:-moz-focusring,
  184. [type="submit"]:-moz-focusring {
  185. outline: 1px dotted ButtonText;
  186. }
  187. /**
  188. * Correct the padding in Firefox.
  189. */
  190. fieldset {
  191. padding: 0.35em 0.75em 0.625em;
  192. }
  193. /**
  194. * 1. Correct the text wrapping in Edge and IE.
  195. * 2. Correct the color inheritance from `fieldset` elements in IE.
  196. * 3. Remove the padding so developers are not caught out when they zero out
  197. * `fieldset` elements in all browsers.
  198. */
  199. legend {
  200. box-sizing: border-box; /* 1 */
  201. color: inherit; /* 2 */
  202. display: table; /* 1 */
  203. max-width: 100%; /* 1 */
  204. padding: 0; /* 3 */
  205. white-space: normal; /* 1 */
  206. }
  207. /**
  208. * Add the correct vertical alignment in Chrome, Firefox, and Opera.
  209. */
  210. progress {
  211. vertical-align: baseline;
  212. }
  213. /**
  214. * Remove the default vertical scrollbar in IE 10+.
  215. */
  216. textarea {
  217. overflow: auto;
  218. }
  219. /**
  220. * 1. Add the correct box sizing in IE 10.
  221. * 2. Remove the padding in IE 10.
  222. */
  223. [type="checkbox"],
  224. [type="radio"] {
  225. box-sizing: border-box; /* 1 */
  226. padding: 0; /* 2 */
  227. }
  228. /**
  229. * Correct the cursor style of increment and decrement buttons in Chrome.
  230. */
  231. [type="number"]::-webkit-inner-spin-button,
  232. [type="number"]::-webkit-outer-spin-button {
  233. height: auto;
  234. }
  235. /**
  236. * 1. Correct the odd appearance in Chrome and Safari.
  237. * 2. Correct the outline style in Safari.
  238. */
  239. [type="search"] {
  240. -webkit-appearance: textfield; /* 1 */
  241. outline-offset: -2px; /* 2 */
  242. }
  243. /**
  244. * Remove the inner padding in Chrome and Safari on macOS.
  245. */
  246. [type="search"]::-webkit-search-decoration {
  247. -webkit-appearance: none;
  248. }
  249. /**
  250. * 1. Correct the inability to style clickable types in iOS and Safari.
  251. * 2. Change font properties to `inherit` in Safari.
  252. */
  253. ::-webkit-file-upload-button {
  254. -webkit-appearance: button; /* 1 */
  255. font: inherit; /* 2 */
  256. }
  257. /* Interactive
  258. ========================================================================== */
  259. /*
  260. * Add the correct display in Edge, IE 10+, and Firefox.
  261. */
  262. details {
  263. display: block;
  264. }
  265. /*
  266. * Add the correct display in all browsers.
  267. */
  268. summary {
  269. display: list-item;
  270. }
  271. /* Misc
  272. ========================================================================== */
  273. /**
  274. * Add the correct display in IE 10+.
  275. */
  276. template {
  277. display: none;
  278. }
  279. /**
  280. * Add the correct display in IE 10.
  281. */
  282. [hidden] {
  283. display: none;
  284. }
  285. /*
  286. * Scroll Custom
  287. */
  288. /* Style for WebKit-based browsers (e.g., Chrome, Edge, Safari) */
  289. ::-webkit-scrollbar {
  290. width: 10px; /* Adjust scrollbar width */
  291. height: 10px; /* Adjust scrollbar height for horizontal scrolling */
  292. }
  293. ::-webkit-scrollbar-track {
  294. background: #FFF; /* Background color of the scrollbar track */
  295. border-radius: 5px; /* Rounded corners for the track */
  296. }
  297. ::-webkit-scrollbar-thumb {
  298. background: #95AAC5; /* Scroll thumb color */
  299. border-radius: 5px; /* Rounded corners for the thumb */
  300. }
  301. /* Optional: Style for hover state */
  302. ::-webkit-scrollbar-thumb:hover {
  303. background: #7A98B5; /* Slightly darker color for hover */
  304. }
  305. /* Add for Firefox */
  306. * {
  307. scrollbar-width: thin; /* Thin scrollbar */
  308. scrollbar-color: #95AAC5 #FFF; /* Thumb color and track color */
  309. }
  310. .main-title{
  311. font-family: 'BigCalson' !important;
  312. font-weight: 100;
  313. }
  314. /*LOADER*/
  315. /* HTML: <div class="loader"></div> */
  316. .loader {
  317. width: 50px;
  318. aspect-ratio: 1;
  319. display: grid;
  320. border: 4px solid #0000;
  321. border-radius: 50%;
  322. border-right-color: #95AAC5;
  323. animation: l15 1s infinite linear;
  324. }
  325. .loader::before,
  326. .loader::after {
  327. content: "";
  328. grid-area: 1/1;
  329. margin: 2px;
  330. border: inherit;
  331. border-radius: 50%;
  332. animation: l15 2s infinite;
  333. }
  334. .loader::after {
  335. margin: 8px;
  336. animation-duration: 3s;
  337. }
  338. @keyframes l15{
  339. 100%{transform: rotate(1turn)}
  340. }