Project: Mall App Client: Maiora
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

outlet-details.page.scss 9.3 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453
  1. .header-bar {
  2. background-image: url('../../assets/custom/background-5.svg');
  3. background-size: cover;
  4. background-repeat: no-repeat;
  5. background-position: left top;
  6. display: flex;
  7. align-items: center;
  8. justify-content: space-between;
  9. padding: 15px;
  10. height: 75px;
  11. z-index: 2;
  12. pointer-events: none;
  13. opacity: 0;
  14. top: 0;
  15. left: 0;
  16. width: 100%;
  17. position: fixed;
  18. transition: opacity 0.5s;
  19. box-shadow: 0px 3px 5px var(--brand-grey);
  20. &.active {
  21. opacity: 1;
  22. pointer-events: all;
  23. }
  24. .heading-holder {
  25. display: flex;
  26. align-items: center;
  27. }
  28. button, a {
  29. background-color: white;
  30. color: var(--brand-blue);
  31. font-size: 18px;
  32. padding: 5px;
  33. border-radius: 50%;
  34. height: 30px;
  35. width: 30px;
  36. display: flex;
  37. justify-content: center;
  38. align-items: center;
  39. &.active {
  40. color: white;
  41. background-color: var(--brand-blue);
  42. }
  43. }
  44. h3 {
  45. font-size: 16px;
  46. color: white;
  47. letter-spacing: 0.5px;
  48. margin-left: 10px;
  49. font-weight: 600;
  50. }
  51. .stats-holder {
  52. font-size: 10px;
  53. color: white;
  54. display: flex;
  55. align-items: center;
  56. .stat {
  57. margin-left: 10px;
  58. }
  59. }
  60. .utilities-buttons-holder {
  61. position: absolute;
  62. right: 15px;
  63. bottom: -15px;
  64. display: flex;
  65. align-items: center;
  66. button, a {
  67. margin-left: 10px;
  68. box-shadow: 0px 3px 5px var(--brand-grey);
  69. }
  70. }
  71. }
  72. .upfold-holder {
  73. position: relative;
  74. height: 30vh;
  75. width: 100%;
  76. padding: 30px 0;
  77. margin-bottom: calc(-30vh + 90px);
  78. .icons-holder {
  79. position: relative;
  80. display: flex;
  81. width: 90%;
  82. margin: 0 auto;
  83. justify-content: space-between;
  84. .action-buttons-holder {
  85. display: flex;
  86. align-items: center;
  87. width: 50%;
  88. justify-content: flex-end;
  89. button {
  90. margin-right: 15px;
  91. }
  92. }
  93. &.navigate-button {
  94. position: absolute;
  95. left: 86%;
  96. bottom: 30px;
  97. width: auto;
  98. a {
  99. display: flex;
  100. justify-content: center;
  101. align-items: center;
  102. }
  103. }
  104. button, a {
  105. background-color: white;
  106. color: var(--brand-blue);
  107. font-size: 18px;
  108. padding: 5px;
  109. border-radius: 50%;
  110. height: 30px;
  111. width: 30px;
  112. display: block;
  113. box-shadow: 0px 0px 5px var(--brand-grey);
  114. &.active {
  115. background-color: var(--brand-blue);
  116. color: white;
  117. }
  118. }
  119. }
  120. img {
  121. position: absolute;
  122. left: 0;
  123. top: 0;
  124. height: 100%;
  125. width: 100%;
  126. object-fit: cover;
  127. filter: brightness(80%);
  128. }
  129. }
  130. .card-holder {
  131. background-color: transparent;
  132. position: relative;
  133. .card {
  134. box-shadow: 0px 0px 5px var(--brand-grey);
  135. width: 90%;
  136. margin: 0 auto;
  137. border-radius: 10px;
  138. overflow: hidden;
  139. padding: 20px;
  140. background-color: white;
  141. h3 {
  142. color: var(--brand-dark-grey);
  143. font-size: 20px;
  144. letter-spacing: 0.5px;
  145. font-weight: 600;
  146. }
  147. .stats-holder {
  148. display: flex;
  149. justify-content: space-between;
  150. color: var(--brand-blue);
  151. font-size: 10px;
  152. font-weight: bold;
  153. span {
  154. color: var(--brand-grey);
  155. }
  156. }
  157. p {
  158. margin: 5px auto;
  159. font-size: 11px;
  160. line-height: 1.5;
  161. color: var(--brand-grey);
  162. }
  163. }
  164. }
  165. .menu-card-holder {
  166. margin: 25px 0;
  167. header {
  168. position: sticky;
  169. top: 75px;
  170. z-index: 1;
  171. display: flex;
  172. align-items: center;
  173. justify-content: space-between;
  174. width: 100%;
  175. background-color: white;
  176. box-shadow: 0px 2px 5px rgba(#000000, 0.15);
  177. color: var(--brand-dark-grey);
  178. padding: 10px 0 5px 15px;
  179. button {
  180. color: var(--brand-blue);
  181. background-color: white;
  182. border: 1px solid var(--brand-blue);
  183. border-radius: 20px;
  184. padding: 6px 15px;
  185. font-weight: 500;
  186. font-size: 11px;
  187. letter-spacing: 1px;
  188. margin-right: 10px;
  189. }
  190. }
  191. .toggle {
  192. font-size: 10px;
  193. display: flex;
  194. align-items: center;
  195. ion-toggle {
  196. pointer-events: none;
  197. --handle-background: var(--brand-blue);
  198. --handle-background-checked: var(--brand-blue);
  199. transform: scale(0.8);
  200. z-index: 0;
  201. }
  202. }
  203. .details-header {
  204. display: flex;
  205. align-items: center;
  206. justify-content: space-between;
  207. padding: 0 17px;
  208. height: 60px;
  209. .count {
  210. color: var(--brand-dark-grey);
  211. font-size: 11px;
  212. font-weight: 500;
  213. letter-spacing: 1px;
  214. }
  215. }
  216. .display-formats {
  217. display: flex;
  218. button {
  219. width: 50px;
  220. height: 50px;
  221. font-size: 20px;
  222. background-color: white;
  223. color: var(--brand-dark-grey);
  224. &.active {
  225. color: var(--brand-blue);
  226. }
  227. }
  228. }
  229. }
  230. .items-holder {
  231. display: flex;
  232. width: 100%;
  233. padding: 0px 17px;
  234. margin: 0 auto -30px;
  235. justify-content: space-between;
  236. flex-wrap: wrap;
  237. .item {
  238. width: 43%;
  239. position: relative;
  240. margin-bottom: 30px;
  241. &.hide {
  242. display: none;
  243. }
  244. .rating {
  245. position: absolute;
  246. right: 0;
  247. top: 0;
  248. background-color: var(--brand-blue);
  249. color: white;
  250. font-size: 10px;
  251. font-weight: 500;
  252. border-bottom-left-radius: 10px;
  253. border-top-right-radius: 8px;
  254. padding: 6px;
  255. }
  256. img {
  257. border-radius: 10px;
  258. height: 80px;
  259. width: 100%;
  260. object-fit: cover;
  261. }
  262. h5 {
  263. font-size: 13px;
  264. color: var(--brand-dark-grey);
  265. font-weight: bold;
  266. letter-spacing: 0.5px;
  267. margin: 10px 0;
  268. white-space: nowrap;
  269. text-overflow: ellipsis;
  270. }
  271. p {
  272. font-size: 10px;
  273. color: var(--brand-grey);
  274. overflow: hidden;
  275. white-space: nowrap;
  276. text-overflow: ellipsis;
  277. position: relative;
  278. &.expand {
  279. white-space: normal;
  280. }
  281. a {
  282. display: block;
  283. width: 100%;
  284. color: var(--brand-blue);
  285. text-decoration: underline;
  286. }
  287. }
  288. }
  289. .label-holder {
  290. display: flex;
  291. width: 100%;
  292. align-items: center;
  293. padding-top: 10px;
  294. span {
  295. font-size: 10px;
  296. color: var(--brand-grey);
  297. margin-left: 5px;
  298. }
  299. .category {
  300. border: 1px solid var(--brand-dark-grey);
  301. width: 16px;
  302. height: 16px;
  303. position: relative;
  304. display: flex;
  305. align-items: center;
  306. justify-content: center;
  307. &::before {
  308. content: '';
  309. width: 8px;
  310. height: 8px;
  311. background-color: var(--brand-grey);
  312. border-radius: 50%;
  313. }
  314. &.veg {
  315. border-color: var(--ion-color-success);
  316. &::before {
  317. background-color: var(--ion-color-success);
  318. }
  319. }
  320. &.non-veg {
  321. border-color: var(--ion-color-danger);
  322. &::before {
  323. background-color: var(--ion-color-danger);
  324. }
  325. }
  326. }
  327. }
  328. .duration {
  329. color: var(--brand-dark-grey);
  330. font-size: 10px;
  331. display: flex;
  332. align-items: center;
  333. margin: 10px 0;
  334. ion-icon {
  335. font-size: 14px;
  336. margin-right: 5px;
  337. }
  338. }
  339. .price {
  340. display: flex;
  341. align-items: center;
  342. margin-bottom: 10px;
  343. .discounted {
  344. color: var(--brand-blue);
  345. font-size: 12px;
  346. font-weight: 500;
  347. margin-right: 10px;
  348. }
  349. .actual-price {
  350. color: var(--brand-dark-grey);
  351. font-size: 10px;
  352. text-decoration: line-through;
  353. }
  354. }
  355. .cart-button {
  356. background-color: var(--brand-blue);
  357. color: white;
  358. font-size: 12px;
  359. padding: 10px 7px;
  360. width: 100%;
  361. border-radius: 5px;
  362. }
  363. }
  364. .advertisement {
  365. width: 90%;
  366. margin: 0 auto 20px;
  367. img {
  368. object-fit: cover;
  369. }
  370. }
  371. .count-buttons-holder {
  372. display: flex;
  373. width: 100%;
  374. justify-content: space-between;
  375. align-items: center;
  376. background-color: #efefef;
  377. ion-button {
  378. margin: 0;
  379. width: 30px;
  380. height: 30px;
  381. --padding-start: 0;
  382. --padding-end: 0;
  383. --padding-top: 0;
  384. --padding-bottom: 0;
  385. font-size: 10px;
  386. --background: var(--brand-blue);
  387. }
  388. .count {
  389. color: var(--brand-dark-grey);
  390. font-size: 12px;
  391. }
  392. }