Project: Mall App Client: Maiora
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 

235 рядки
5.4 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. figure {
  33. margin: 0;
  34. }
  35. * {
  36. font-family: 'M PLUS Rounded 1c', sans-serif;
  37. margin: 0;
  38. }
  39. .results-utilities-holder {
  40. display: flex;
  41. width: 100%;
  42. margin: 10px auto 0;
  43. justify-content: space-between;
  44. align-items: center;
  45. font-weight: bold;
  46. &.no-padding {
  47. margin: 0 auto;
  48. }
  49. h5 {
  50. margin: 0 0 0 10px;
  51. color: var(--brand-dark-grey);
  52. font-size: 10px;
  53. }
  54. ion-button {
  55. margin: 0;
  56. font-size: 10px;
  57. padding: 0;
  58. }
  59. }
  60. .result-list ion-item {
  61. margin: 0 0 20px;
  62. ion-label {
  63. padding: 0;
  64. margin: 0;
  65. }
  66. img {
  67. align-self: flex-start;
  68. width: 70px;
  69. height: 70px;
  70. object-fit: cover;
  71. margin-right: 15px;
  72. }
  73. h3 {
  74. margin: 0;
  75. color: var(--brand-dark-grey);
  76. font-weight: 500;
  77. font-size: 14px;
  78. letter-spacing: 0.5px;
  79. text-overflow: ellipsis;
  80. display: flex;
  81. justify-content: space-between;
  82. ion-icon {
  83. color: var(--brand-grey);
  84. font-size: 16px;
  85. &.active {
  86. color: var(--brand-blue);
  87. }
  88. }
  89. }
  90. .description {
  91. font-size: 10px;
  92. color: var(--brand-grey);
  93. }
  94. .offers-holder {
  95. display: flex;
  96. justify-content: space-between;
  97. color: var(--brand-yellow);
  98. letter-spacing: 0.5px;
  99. border-bottom: 1px solid #efefef;
  100. padding: 7px 0;
  101. margin-bottom: 7px;
  102. .offer {
  103. font-size: 10px;
  104. width: 50%;
  105. }
  106. }
  107. .utilities-holder {
  108. display: flex;
  109. justify-content: space-between;
  110. align-items: center;
  111. .container {
  112. display: flex;
  113. width: 40%;
  114. justify-content: space-between;
  115. .utility {
  116. width: 50%;
  117. font-size: 10px;
  118. color: var(--brand-grey);
  119. font-weight: bold;
  120. }
  121. .utility-button {
  122. text-align: right;
  123. width: 50%;
  124. background-color: transparent;
  125. border: 0;
  126. font-size: 16px;
  127. color: var(--brand-grey);
  128. }
  129. }
  130. }
  131. }
  132. .sort-filter-holder {
  133. background-color: white;
  134. position: fixed;
  135. width: 100%;
  136. z-index: 5;
  137. bottom: 0;
  138. left: 0;
  139. box-shadow: 0px 0px 5px var(--brand-grey);
  140. transition: transform 0.5s;
  141. transform: translateY(50vh);
  142. &.active {
  143. transform: translateY(0);
  144. }
  145. header {
  146. background-color: var(--brand-blue);
  147. color: white;
  148. display: flex;
  149. justify-content: space-between;
  150. padding: 15px;
  151. font-size: 14px;
  152. align-items: center;
  153. position: relative;
  154. button {
  155. background-color: transparent;
  156. border: 1px solid white;
  157. font-size: 10px;
  158. height: 25px;
  159. padding: 0 15px;
  160. color: white;
  161. border-radius: 30px;
  162. }
  163. }
  164. .sort-buttons-holder {
  165. display: flex;
  166. padding: 15px;
  167. flex-wrap: wrap;
  168. justify-content: space-between;
  169. position: relative;
  170. button {
  171. background-color: transparent;
  172. color: var(--brand-dark-grey);
  173. font-size: 10px;
  174. margin-bottom: 30px;
  175. &.active {
  176. color: var(--brand-blue);
  177. .icon-holder {
  178. border-color: var(--brand-blue);
  179. color: var(--brand-blue);
  180. }
  181. }
  182. .icon-holder {
  183. border: 1px solid var(--brand-grey);
  184. color: var(--brand-grey);
  185. width: 50px;
  186. height: 50px;
  187. margin: 0 auto 10px;
  188. display: flex;
  189. justify-content: center;
  190. align-items: center;
  191. border-radius: 50%;
  192. letter-spacing: 0.5px;
  193. font-size: 15px;
  194. ion-icon {
  195. font-size: 24px;
  196. }
  197. }
  198. }
  199. }
  200. }