|
- .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;
- }
- }
|