Project: Mall App Client: Maiora
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

244 lines
5.5 KiB

  1. /*
  2. * App Global CSS
  3. * ----------------------------------------------------------------------------
  4. * Put style rules here that you want to apply globally. These styles are for
  5. * the entire app and not just one component. Additionally, this file can be
  6. * used as an entry point to import other CSS/Sass files to be included in the
  7. * output CSS.
  8. * For more information on global stylesheets, visit the documentation:
  9. * https://ionicframework.com/docs/layout/global-stylesheets
  10. */
  11. /* Core CSS required for Ionic components to work properly */
  12. @import "~@ionic/angular/css/core.css";
  13. /* Basic CSS for apps built with Ionic */
  14. @import "~@ionic/angular/css/normalize.css";
  15. @import "~@ionic/angular/css/structure.css";
  16. @import "~@ionic/angular/css/typography.css";
  17. @import '~@ionic/angular/css/display.css';
  18. /* Optional CSS utils that can be commented out */
  19. @import "~@ionic/angular/css/padding.css";
  20. @import "~@ionic/angular/css/float-elements.css";
  21. @import "~@ionic/angular/css/text-alignment.css";
  22. @import "~@ionic/angular/css/text-transformation.css";
  23. @import "~@ionic/angular/css/flex-utils.css";
  24. ion-content {
  25. --padding-bottom: 30px;
  26. }
  27. ion-button, button, a, p, div, input {
  28. font-family: 'Roboto', sans-serif;
  29. text-transform: none;
  30. outline: none;
  31. }
  32. h1, h2, h3, h4, h5 {
  33. margin: 0;
  34. }
  35. figure {
  36. margin: 0;
  37. }
  38. * {
  39. font-family: 'M PLUS Rounded 1c', sans-serif;
  40. margin: 0;
  41. }
  42. .results-utilities-holder {
  43. display: flex;
  44. width: 100%;
  45. margin: 10px auto 0;
  46. justify-content: space-between;
  47. align-items: center;
  48. font-weight: bold;
  49. &.no-padding {
  50. margin: 0 auto;
  51. }
  52. h5 {
  53. margin: 0 0 0 10px;
  54. color: var(--brand-dark-grey);
  55. font-size: 10px;
  56. }
  57. ion-button {
  58. margin: 0;
  59. font-size: 10px;
  60. padding: 0;
  61. }
  62. }
  63. .result-list ion-item {
  64. margin: 0 0 20px;
  65. ion-label {
  66. padding: 0;
  67. margin: 0;
  68. }
  69. img {
  70. align-self: flex-start;
  71. width: 70px;
  72. height: 70px;
  73. object-fit: cover;
  74. margin-right: 15px;
  75. }
  76. h3 {
  77. margin: 0;
  78. color: var(--brand-dark-grey);
  79. font-weight: 500;
  80. font-size: 14px;
  81. letter-spacing: 0.5px;
  82. text-overflow: ellipsis;
  83. display: flex;
  84. justify-content: space-between;
  85. ion-icon {
  86. color: var(--brand-grey);
  87. font-size: 16px;
  88. &.active {
  89. color: var(--brand-blue);
  90. }
  91. }
  92. }
  93. .description {
  94. font-size: 10px;
  95. color: var(--brand-grey);
  96. }
  97. .offers-holder {
  98. display: flex;
  99. justify-content: space-between;
  100. color: var(--brand-yellow);
  101. letter-spacing: 0.5px;
  102. border-bottom: 1px solid #efefef;
  103. padding: 0 0 7px;
  104. margin-bottom: 7px;
  105. align-items: center;
  106. ion-icon {
  107. color: var(--brand-grey);
  108. }
  109. .offer {
  110. font-size: 11px;
  111. width: 50%;
  112. }
  113. }
  114. .utilities-holder {
  115. display: flex;
  116. justify-content: space-between;
  117. align-items: center;
  118. .container {
  119. display: flex;
  120. width: 40%;
  121. justify-content: space-between;
  122. .utility {
  123. width: 50%;
  124. font-size: 10px;
  125. color: var(--brand-grey);
  126. font-weight: bold;
  127. }
  128. .utility-button {
  129. text-align: right;
  130. width: 50%;
  131. background-color: transparent;
  132. border: 0;
  133. font-size: 16px;
  134. color: var(--brand-grey);
  135. }
  136. }
  137. }
  138. }
  139. .sort-filter-holder {
  140. background-color: white;
  141. position: fixed;
  142. width: 100%;
  143. z-index: 5;
  144. bottom: 0;
  145. left: 0;
  146. box-shadow: 0px 0px 5px var(--brand-grey);
  147. transition: transform 0.5s;
  148. transform: translateY(50vh);
  149. &.active {
  150. transform: translateY(0);
  151. }
  152. header {
  153. background-color: var(--brand-blue);
  154. color: white;
  155. display: flex;
  156. justify-content: space-between;
  157. padding: 15px;
  158. font-size: 14px;
  159. align-items: center;
  160. position: relative;
  161. button {
  162. background-color: transparent;
  163. border: 1px solid white;
  164. font-size: 10px;
  165. height: 25px;
  166. padding: 0 15px;
  167. color: white;
  168. border-radius: 30px;
  169. }
  170. }
  171. .sort-buttons-holder {
  172. display: flex;
  173. padding: 15px;
  174. flex-wrap: wrap;
  175. justify-content: space-between;
  176. position: relative;
  177. button {
  178. background-color: transparent;
  179. color: var(--brand-dark-grey);
  180. font-size: 10px;
  181. margin-bottom: 30px;
  182. &.active {
  183. color: var(--brand-blue);
  184. .icon-holder {
  185. border-color: var(--brand-blue);
  186. color: var(--brand-blue);
  187. }
  188. }
  189. .icon-holder {
  190. border: 1px solid var(--brand-grey);
  191. color: var(--brand-grey);
  192. width: 50px;
  193. height: 50px;
  194. margin: 0 auto 10px;
  195. display: flex;
  196. justify-content: center;
  197. align-items: center;
  198. border-radius: 50%;
  199. letter-spacing: 0.5px;
  200. font-size: 15px;
  201. ion-icon {
  202. font-size: 24px;
  203. }
  204. }
  205. }
  206. }
  207. }