/* * App Global CSS * ---------------------------------------------------------------------------- * Put style rules here that you want to apply globally. These styles are for * the entire app and not just one component. Additionally, this file can be * used as an entry point to import other CSS/Sass files to be included in the * output CSS. * For more information on global stylesheets, visit the documentation: * https://ionicframework.com/docs/layout/global-stylesheets */ /* Core CSS required for Ionic components to work properly */ @import "~@ionic/angular/css/core.css"; /* Basic CSS for apps built with Ionic */ @import "~@ionic/angular/css/normalize.css"; @import "~@ionic/angular/css/structure.css"; @import "~@ionic/angular/css/typography.css"; @import '~@ionic/angular/css/display.css'; /* Optional CSS utils that can be commented out */ @import "~@ionic/angular/css/padding.css"; @import "~@ionic/angular/css/float-elements.css"; @import "~@ionic/angular/css/text-alignment.css"; @import "~@ionic/angular/css/text-transformation.css"; @import "~@ionic/angular/css/flex-utils.css"; ion-content { --padding-bottom: 30px; } ion-button, button, a, p, div, input { font-family: 'Roboto', sans-serif; text-transform: none; outline: none; } h1, h2, h3, h4, h5 { margin: 0; } figure { margin: 0; } * { font-family: 'M PLUS Rounded 1c', sans-serif; margin: 0; } .results-utilities-holder { display: flex; width: 100%; margin: 10px auto 0; justify-content: space-between; align-items: center; font-weight: bold; &.no-padding { margin: 0 auto; } h5 { margin: 0 0 0 10px; color: var(--brand-dark-grey); font-size: 10px; } ion-button { margin: 0; font-size: 10px; padding: 0; } } .result-list ion-item { margin: 0 0 20px; ion-label { padding: 0; margin: 0; } img { align-self: flex-start; width: 70px; height: 70px; object-fit: cover; margin-right: 15px; } h3 { margin: 0; color: var(--brand-dark-grey); font-weight: 500; font-size: 14px; letter-spacing: 0.5px; text-overflow: ellipsis; display: flex; justify-content: space-between; ion-icon { color: var(--brand-grey); font-size: 16px; &.active { color: var(--brand-blue); } } } .description { font-size: 10px; color: var(--brand-grey); } .offers-holder { display: flex; justify-content: space-between; color: var(--brand-yellow); letter-spacing: 0.5px; border-bottom: 1px solid #efefef; padding: 0 0 7px; margin-bottom: 7px; align-items: center; ion-icon { color: var(--brand-grey); } .offer { font-size: 11px; width: 50%; } } .utilities-holder { display: flex; justify-content: space-between; align-items: center; .container { display: flex; width: 40%; justify-content: space-between; .utility { width: 50%; font-size: 10px; color: var(--brand-grey); font-weight: bold; } .utility-button { text-align: right; width: 50%; background-color: transparent; border: 0; font-size: 16px; color: var(--brand-grey); } } } } .sort-filter-holder { background-color: white; position: fixed; width: 100%; z-index: 5; bottom: 0; left: 0; box-shadow: 0px 0px 5px var(--brand-grey); transition: transform 0.5s; transform: translateY(50vh); &.active { transform: translateY(0); } header { background-color: var(--brand-blue); color: white; display: flex; justify-content: space-between; padding: 15px; font-size: 14px; align-items: center; position: relative; button { background-color: transparent; border: 1px solid white; font-size: 10px; height: 25px; padding: 0 15px; color: white; border-radius: 30px; } } .sort-buttons-holder { display: flex; padding: 15px; flex-wrap: wrap; justify-content: space-between; position: relative; button { background-color: transparent; color: var(--brand-dark-grey); font-size: 10px; margin-bottom: 30px; &.active { color: var(--brand-blue); .icon-holder { border-color: var(--brand-blue); color: var(--brand-blue); } } .icon-holder { border: 1px solid var(--brand-grey); color: var(--brand-grey); width: 50px; height: 50px; margin: 0 auto 10px; display: flex; justify-content: center; align-items: center; border-radius: 50%; letter-spacing: 0.5px; font-size: 15px; ion-icon { font-size: 24px; } } } } }