|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453 |
- .header-bar {
- background-image: url('../../assets/custom/background-5.svg');
- background-size: cover;
- background-repeat: no-repeat;
- background-position: left top;
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 15px;
- height: 75px;
- z-index: 2;
- pointer-events: none;
- opacity: 0;
- top: 0;
- left: 0;
- width: 100%;
- position: fixed;
- transition: opacity 0.5s;
- box-shadow: 0px 3px 5px var(--brand-grey);
-
- &.active {
- opacity: 1;
- pointer-events: all;
- }
-
-
- .heading-holder {
- display: flex;
- align-items: center;
- }
-
- button, a {
- background-color: white;
- color: var(--brand-blue);
- font-size: 18px;
- padding: 5px;
- border-radius: 50%;
- height: 30px;
- width: 30px;
- display: flex;
- justify-content: center;
- align-items: center;
-
- &.active {
- color: white;
- background-color: var(--brand-blue);
- }
- }
-
- h3 {
- font-size: 16px;
- color: white;
- letter-spacing: 0.5px;
- margin-left: 10px;
- font-weight: 600;
- }
-
- .stats-holder {
- font-size: 10px;
- color: white;
- display: flex;
- align-items: center;
-
- .stat {
- margin-left: 10px;
- }
- }
-
- .utilities-buttons-holder {
- position: absolute;
- right: 15px;
- bottom: -15px;
- display: flex;
- align-items: center;
- button, a {
- margin-left: 10px;
- box-shadow: 0px 3px 5px var(--brand-grey);
- }
- }
- }
-
- .upfold-holder {
- position: relative;
- height: 30vh;
- width: 100%;
- padding: 30px 0;
- margin-bottom: calc(-30vh + 90px);
-
- .icons-holder {
- position: relative;
- display: flex;
- width: 90%;
- margin: 0 auto;
- justify-content: space-between;
-
- .action-buttons-holder {
- display: flex;
- align-items: center;
- width: 50%;
- justify-content: flex-end;
-
- button {
- margin-right: 15px;
- }
- }
-
- &.navigate-button {
- position: absolute;
- left: 86%;
- bottom: 30px;
- width: auto;
-
- a {
- display: flex;
- justify-content: center;
- align-items: center;
- }
- }
-
- button, a {
- background-color: white;
- color: var(--brand-blue);
- font-size: 18px;
- padding: 5px;
- border-radius: 50%;
- height: 30px;
- width: 30px;
- display: block;
- box-shadow: 0px 0px 5px var(--brand-grey);
-
- &.active {
- background-color: var(--brand-blue);
- color: white;
- }
- }
- }
-
- img {
- position: absolute;
- left: 0;
- top: 0;
- height: 100%;
- width: 100%;
- object-fit: cover;
- filter: brightness(80%);
- }
- }
-
- .card-holder {
- background-color: transparent;
- position: relative;
-
- .card {
- box-shadow: 0px 0px 5px var(--brand-grey);
- width: 90%;
- margin: 0 auto;
- border-radius: 10px;
- overflow: hidden;
- padding: 20px;
- background-color: white;
-
- h3 {
- color: var(--brand-dark-grey);
- font-size: 20px;
- letter-spacing: 0.5px;
- font-weight: 600;
- }
-
- .stats-holder {
- display: flex;
- justify-content: space-between;
- color: var(--brand-blue);
- font-size: 10px;
- font-weight: bold;
-
- span {
- color: var(--brand-grey);
- }
- }
-
- p {
- margin: 5px auto;
- font-size: 11px;
- line-height: 1.5;
- color: var(--brand-grey);
- }
- }
- }
-
- .menu-card-holder {
- margin: 25px 0;
-
- header {
- position: sticky;
- top: 75px;
- z-index: 1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- width: 100%;
- background-color: white;
- box-shadow: 0px 2px 5px rgba(#000000, 0.15);
- color: var(--brand-dark-grey);
- padding: 10px 0 5px 15px;
-
- button {
- color: var(--brand-blue);
- background-color: white;
- border: 1px solid var(--brand-blue);
- border-radius: 20px;
- padding: 6px 15px;
- font-weight: 500;
- font-size: 11px;
- letter-spacing: 1px;
- margin-right: 10px;
- }
- }
-
- .toggle {
- font-size: 10px;
- display: flex;
- align-items: center;
-
- ion-toggle {
- pointer-events: none;
- --handle-background: var(--brand-blue);
- --handle-background-checked: var(--brand-blue);
- transform: scale(0.8);
- z-index: 0;
- }
- }
-
- .details-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 0 17px;
- height: 60px;
-
- .count {
- color: var(--brand-dark-grey);
- font-size: 11px;
- font-weight: 500;
- letter-spacing: 1px;
- }
- }
-
- .display-formats {
- display: flex;
-
- button {
- width: 50px;
- height: 50px;
- font-size: 20px;
- background-color: white;
- color: var(--brand-dark-grey);
-
- &.active {
- color: var(--brand-blue);
- }
- }
- }
- }
-
- .items-holder {
- display: flex;
- width: 100%;
- padding: 0px 17px;
- margin: 0 auto -30px;
- justify-content: space-between;
- flex-wrap: wrap;
-
- .item {
- width: 43%;
- position: relative;
- margin-bottom: 30px;
-
- &.hide {
- display: none;
- }
-
- .rating {
- position: absolute;
- right: 0;
- top: 0;
- background-color: var(--brand-blue);
- color: white;
- font-size: 10px;
- font-weight: 500;
- border-bottom-left-radius: 10px;
- border-top-right-radius: 8px;
- padding: 6px;
- }
-
- img {
- border-radius: 10px;
- height: 80px;
- width: 100%;
- object-fit: cover;
- }
-
- h5 {
- font-size: 13px;
- color: var(--brand-dark-grey);
- font-weight: bold;
- letter-spacing: 0.5px;
- margin: 10px 0;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
-
- p {
- font-size: 10px;
- color: var(--brand-grey);
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- position: relative;
-
- &.expand {
- white-space: normal;
- }
-
- a {
- display: block;
- width: 100%;
- color: var(--brand-blue);
- text-decoration: underline;
- }
- }
- }
-
- .label-holder {
- display: flex;
- width: 100%;
- align-items: center;
- padding-top: 10px;
-
- span {
- font-size: 10px;
- color: var(--brand-grey);
- margin-left: 5px;
- }
-
- .category {
- border: 1px solid var(--brand-dark-grey);
- width: 16px;
- height: 16px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
-
- &::before {
- content: '';
- width: 8px;
- height: 8px;
- background-color: var(--brand-grey);
- border-radius: 50%;
- }
-
- &.veg {
- border-color: var(--ion-color-success);
-
- &::before {
- background-color: var(--ion-color-success);
- }
- }
-
- &.non-veg {
- border-color: var(--ion-color-danger);
-
- &::before {
- background-color: var(--ion-color-danger);
- }
- }
- }
- }
-
- .duration {
- color: var(--brand-dark-grey);
- font-size: 10px;
- display: flex;
- align-items: center;
- margin: 10px 0;
-
- ion-icon {
- font-size: 14px;
- margin-right: 5px;
- }
- }
-
- .price {
- display: flex;
- align-items: center;
- margin-bottom: 10px;
- .discounted {
- color: var(--brand-blue);
- font-size: 12px;
- font-weight: 500;
- margin-right: 10px;
- }
-
- .actual-price {
- color: var(--brand-dark-grey);
- font-size: 10px;
- text-decoration: line-through;
- }
- }
-
- .cart-button {
- background-color: var(--brand-blue);
- color: white;
- font-size: 12px;
- padding: 10px 7px;
- width: 100%;
- border-radius: 5px;
- }
- }
-
- .advertisement {
- width: 90%;
- margin: 0 auto 20px;
-
- img {
- object-fit: cover;
- }
- }
-
- .count-buttons-holder {
- display: flex;
- width: 100%;
- justify-content: space-between;
- align-items: center;
- background-color: #efefef;
-
- ion-button {
- margin: 0;
- width: 30px;
- height: 30px;
- --padding-start: 0;
- --padding-end: 0;
- --padding-top: 0;
- --padding-bottom: 0;
- font-size: 10px;
- --background: var(--brand-blue);
- }
-
- .count {
- color: var(--brand-dark-grey);
- font-size: 12px;
- }
- }
|