|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320 |
- /*
- * 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;
- }
- a,
- button,
- div,
- input,
- ion-button,
- p {
- font-family: 'Roboto', sans-serif;
- text-transform: none;
- outline: none;
- font-weight: 500;
- text-decoration: 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;
-
- &:last-child {
- justify-content: flex-end;
- }
-
- .utility {
- width: 50%;
- font-size: 10px;
- color: var(--brand-grey);
- font-weight: bold;
- }
- .utility-button {
- text-align: right;
- background-color: transparent;
- border: 0;
- font-size: 16px;
- color: var(--brand-grey);
- }
- }
- }
- }
- .common-semi-modal {
- background-color: white;
- position: fixed;
- width: 100%;
- bottom: 0;
- left: 0;
- box-shadow: 0 0 5px var(--brand-grey);
- transition: transform 0.3s, opacity 0.3s;
- transform: translateY(50vh);
- opacity: 0;
- pointer-events: none;
- z-index: 5;
-
- &.active {
- opacity: 1;
- pointer-events: all;
- 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: sticky;
- position: -webkit-sticky;
- top: 0;
- z-index: 1;
-
- button {
- background-color: transparent;
- border: 1px solid white;
- font-size: 10px;
- height: 25px;
- padding: 0 15px;
- color: white;
- border-radius: 30px;
- letter-spacing: 1px;
- }
- }
- &.sort-holder {
- .sort-buttons-holder {
- display: flex;
- padding: 15px;
- flex-wrap: wrap;
- justify-content: space-around;
- 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;
- }
- }
- }
- }
- }
- &.filter-holder {
- height: 80vh;
- overflow-y: auto;
- transform: translateY(80vh);
- &.active {
- transform: translateY(0);
- }
- &.with-border {
- ion-item {
- border-bottom: 1px solid #efefef;
- --padding-start: 20px;
- --padding-end: 20px;
- --padding-top: 10px;
- --padding-bottom: 10px;
- }
- }
- ion-list {
- ion-item {
- --inner-border-width: 0;
- --color: var(--brand-dark-grey);
- font-size: 14px;
-
- ion-label {
- padding-left: 20px;
- letter-spacing: 0.5px;
- font-weight: 500;
- text-transform: capitalize;
- .heading {
- font-size: 14px;
- font-weight: 500;
- }
- .code {
- font-size: 12px;
- margin: 3px 0;
- span {
- color: var(--brand-blue);
- font-weight: 600;
- }
- }
- a,
- p {
- color: var(--brand-grey);
- font-size: 12px;
- line-height: 1.5;
- }
- a {
- text-decoration: underline;
- }
- }
- }
- ion-checkbox {
- --background-checked: var(--brand-blue);
- --border-color: var(--brand-blue);
- --size: 16px;
- }
- ion-radio {
- align-self: flex-start;
- --color-checked: var(--brand-blue);
- transform: scale(0.7);
- }
- }
- }
- }
-
-
- .common-advertisement-banner {
- width: 90%;
- margin: 15px auto;
-
- a {
- display: block;
- border: 2px solid var(--brand-grey);
- border-radius: 5px;
- overflow: hidden;
- }
-
- figure {
- display: block;
- width: 100%;
- height: 100px;
-
- img {
- display: block;
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- }
- }
|