Commit def7acba by Arjun

product details style fix

parent 3c2f6b03
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
.side_menu_wrapper { .side_menu_wrapper {
background: rgba(41, 40, 91, 1); background: rgba(41, 40, 91, 1);
width: 100%; width: 100%;
height: 100vh; height: auto;
padding-left: 20px; padding-left: 20px;
padding-top: 20px; padding-top: 20px;
padding-right: 10px; padding-right: 10px;
......
<div class="nav_header"> <div class="nav_header">
<button class="nav_btn nav_back floatLeft" (click)="goBack()"> <button class="nav_btn nav_back floatLeft" (click)="goBack()">
<img src="../assets/Group17_2.png" /> <img src="../assets/Group17_2.png" />
</button> </button>
<div class="nav_title floatLeft"></div> <div class="nav_title floatLeft"></div>
<button class="nav_btn nav_cart floatRight" (click)="goToPage('cart')"> <button class="nav_btn nav_cart floatRight" (click)="goToPage('cart')">
<div class="not" *ngIf="cartService.carts"> <div class="not" *ngIf="cartService.carts">
{{cartService.carts.length}} {{cartService.carts.length}}
</div> </div>
</button> </button>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<ion-content> <ion-content>
<div class="product_detail_wrapper" *ngIf="product"> <div class="product_detail_wrapper" *ngIf="product">
<div class="product_banner"> <div class="product_banner">
<div <div [ngClass]="checkFavStatus(product.prodId)" (click)="changeFav(product.prodId)"></div>
[ngClass]="checkFavStatus(product.prodId)" <div class="featured_badge" *ngIf="product.featured">Featured</div>
(click)="changeFav(product.prodId)" <ion-slides pager="true" [options]="bannerOptions" *ngIf="slideData">
></div> <ion-slide *ngFor="let prodImg of slideData">
<div class="featured_badge" *ngIf="product.featured">Featured</div> <img [src]="prodImg" onerror="this.src='../assets/[email protected]'" />
<ion-slides pager="true" [options]="bannerOptions" *ngIf="slideData"> </ion-slide>
<ion-slide *ngFor="let prodImg of slideData"> <!-- <ion-slide>
<img [src]="prodImg" onerror="this.src='../assets/[email protected]'" />
</ion-slide>
<!-- <ion-slide>
<img <img
[src]="product.image" [src]="product.image"
onerror="this.src='../assets/[email protected]'" onerror="this.src='../assets/[email protected]'"
...@@ -34,84 +31,65 @@ ...@@ -34,84 +31,65 @@
onerror="this.src='../assets/[email protected]'" onerror="this.src='../assets/[email protected]'"
/> />
</ion-slide> --> </ion-slide> -->
</ion-slides> </ion-slides>
</div> </div>
<div class="product_header"> <div class="product_header">
<ion-row> <ion-row>
<ion-col size="8"> <ion-col size="8">
<h3>{{product.prodName}}</h3> <h3>{{product.prodName}}</h3>
<p> <p>
<strong <strong><span><img src="../assets/Path61_2.png" /></span>{{product.rating}}</strong>&nbsp; {{product.category}}, {{product.subCate}}
><span><img src="../assets/Path61_2.png"/></span <br />
>{{product.rating}}</strong <span *ngFor="let tag of product.tag"><span *ngIf="tag !=='No-Tag'">#{{tag}}&nbsp;</span></span>
>&nbsp; {{product.category}}, {{product.subCate}} </p>
<br /> </ion-col>
<span *ngFor="let tag of product.tag" <ion-col size="4">
><span *ngIf="tag !=='No-Tag'">#{{tag}}&nbsp;</span></span <h5>A$ {{product.price}}</h5>
> <p>
</p> <span class="offer" *ngIf="product.discount > 0">-{{product.discount}}%</span>
</ion-col> </p>
<ion-col size="4"> </ion-col>
<h5>A$ {{product.price}}</h5> </ion-row>
<p> </div>
<span class="offer" *ngIf="product.discount > 0"
>-{{product.discount}}%</span
>
</p>
</ion-col>
</ion-row>
</div>
<div class="product_div_content"> <div class="product_div_content">
<h5 *ngIf="product.color && product.color[0] !=='No-Color'">Color</h5> <h5 *ngIf="product.color && product.color[0] !=='No-Color'">Color</h5>
<div class="size_div"> <div class="size_div">
<ul *ngIf="product.size"> <ul *ngIf="product.size">
<ion-slides pager="false" [options]="slideOpts"> <ion-slides pager="false" [options]="slideOpts">
<ion-slide *ngFor="let color of product.color; let i = index"> <ion-slide *ngFor="let color of product.color; let i = index">
<li *ngIf="color !=='No-Color'"> <li *ngIf="color !=='No-Color'">
<button id="custom_check_button"> <button id="custom_check_button">
<label> <label>
<input <input id="{{color}}" type="radio" name="color" value="{{color}}"
id="{{color}}" (click)="cartService.choose_color(color)" [checked]="i==0" />
type="radio" <p>{{color}}</p>
name="color" </label>
value="{{color}}" </button>
(click)="cartService.choose_color(color)" </li>
[checked]="i==0" </ion-slide>
/> </ion-slides>
<p>{{color}}</p> </ul>
</label> </div>
</button> <h5 *ngIf="product.size && product.size[0] !=='Any-Size'">Size</h5>
</li> <div class="size_div">
</ion-slide> <ul *ngIf="product.size">
</ion-slides> <ion-slides pager="false" [options]="slideOpts">
</ul> <ion-slide *ngFor="let size of product.size; let i = index">
</div> <li *ngIf="size !=='Any-Size'">
<h5 *ngIf="product.size && product.size[0] !=='Any-Size'">Size</h5> <button id="custom_check_button">
<div class="size_div"> <label>
<ul *ngIf="product.size"> <input id="{{size}}" type="radio" name="services" value="{{size}}"
<ion-slides pager="false" [options]="slideOpts"> (click)="cartService.choose_size(size)" [checked]="i==0" />
<ion-slide *ngFor="let size of product.size; let i = index"> <p>{{size}}</p>
<li *ngIf="size !=='Any-Size'"> </label>
<button id="custom_check_button"> </button>
<label> </li>
<input </ion-slide>
id="{{size}}" </ion-slides>
type="radio" </ul>
name="services" </div>
value="{{size}}" <!-- <h5>Color</h5>
(click)="cartService.choose_size(size)"
[checked]="i==0"
/>
<p>{{size}}</p>
</label>
</button>
</li>
</ion-slide>
</ion-slides>
</ul>
</div>
<!-- <h5>Color</h5>
<div class="color_div"> <div class="color_div">
<ul> <ul>
<ion-slides pager="false" [options]="slideOpts"> <ion-slides pager="false" [options]="slideOpts">
...@@ -168,9 +146,9 @@ ...@@ -168,9 +146,9 @@
</ion-slides> </ion-slides>
</ul> </ul>
</div> --> </div> -->
<h5>Description</h5> <h5>Description</h5>
<p>{{product.prodDesc}}</p> <p>{{product.prodDesc}}</p>
<!--<h5> <!--<h5>
<span class="floatLeft">Reviews</span><span class="floatRight" (click)="goToPage('reviewlist')">MORE</span> <span class="floatLeft">Reviews</span><span class="floatRight" (click)="goToPage('reviewlist')">MORE</span>
<div class="clear"></div> <div class="clear"></div>
</h5> </h5>
...@@ -234,61 +212,43 @@ ...@@ -234,61 +212,43 @@
</li> </li>
</ul> </ul>
</div> --> </div> -->
<h5 *ngIf="product.similar && product.similar.length > 0"> <h5 *ngIf="product.similar && product.similar.length > 0">
<span class="floatLeft">Related Products</span <span class="floatLeft">Related Products</span><span class="floatRight" (click)="goToPage('productlist', data)">MORE</span>
><span class="floatRight" (click)="goToPage('productlist', data)" <div class="clear"></div>
>MORE</span </h5>
> <div class="related_product_slider">
<div class="clear"></div> <ul *ngIf="product.similar && product.similar.length > 0">
</h5> <ion-slides pager="false" [options]="relatedProd">
<div class="related_product_slider"> <ion-slide *ngFor="let similar of product.similar">
<ul *ngIf="product.similar && product.similar.length > 0"> <li (click)="viewProd(similar)">
<ion-slides pager="false" [options]="relatedProd"> <div class="product_image">
<ion-slide *ngFor="let similar of product.similar"> <img [src]="similar.image" onerror="this.src='../assets/[email protected]'" />
<li (click)="viewProd(similar)"> <div [ngClass]="checkFavStatus(similar.prodId)" (click)="changeFav(similar.prodId)">
<div class="product_image"> </div>
<img </div>
[src]="similar.image" <h5>{{similar.prodName}}</h5>
onerror="this.src='../assets/[email protected]'" <p>{{similar.price}}</p>
/> </li>
<div </ion-slide>
[ngClass]="checkFavStatus(similar.prodId)" </ion-slides>
(click)="changeFav(similar.prodId)" </ul>
></div> </div>
</div> </div>
<h5>{{similar.prodName}}</h5>
<p>{{similar.price}}</p>
</li>
</ion-slide>
</ion-slides>
</ul>
</div>
</div> </div>
</div> <div class="loader" *ngIf="loader">
<div class="loader" *ngIf="loader"> <div class="lds-ripple">
<div class="lds-ripple"> <div></div>
<div></div> <div></div>
<div></div> </div>
</div> </div>
</div>
</ion-content> </ion-content>
<ion-footer *ngIf="product"> <ion-footer *ngIf="product">
<div class="footer_div"> <div class="footer_div">
<div class="footer_options"> <div class="footer_options">
<button <button class="share" (click)="socialShare(product.prodName, product.category, product.subCate, product.price, product.image)"></button>
class="share" <button [ngClass]="checkFavStatus(product.prodId)" (click)="changeFav(product.prodId)"></button>
(click)="socialShare(product.prodName, product.category, product.subCate, product.price, product.image)" <button class="cart" [disabled]="!disCart" (click)="buyNow(product,0)"></button>
></button> </div>
<button <div class="footer_btn" (click)="buyNow(product,1)">BUY NOW</div>
[ngClass]="checkFavStatus(product.prodId)"
(click)="changeFav(product.prodId)"
></button>
<button
class="cart"
[disabled]="!disCart"
(click)="buyNow(product,0)"
></button>
</div> </div>
<div class="footer_btn" (click)="buyNow(product,1)">BUY NOW</div> </ion-footer>
</div> \ No newline at end of file
</ion-footer>
.product_detail_wrapper { .product_detail_wrapper {
.product_banner { .product_banner {
width: 100%; width: 100%;
height: 300px; height: 300px;
position: relative; position: relative;
ion-slides { ion-slides {
height: 100%;
}
.fav_icon {
width: 30px;
height: 30px;
background-image: url('../../assets/Group32_2.png');
background-position: center;
background-repeat: no-repeat;
background-size: 24px;
position: absolute;
top: 15px;
right: 15px;
z-index: 2;
}
.fav_fill {
width: 30px;
height: 30px;
background-image: url('../../assets/fav_fill.png');
background-position: center;
background-repeat: no-repeat;
background-size: 24px;
position: absolute;
top: 15px;
right: 15px;
z-index: 2;
}
.featured_badge {
position: absolute;
bottom: 20px;
right: 15px;
color: #fff;
background-color: rgba(41, 40, 91, 1);
padding: 2px;
padding-left: 5px;
padding-right: 5px;
font-size: 13px;
z-index: 2;
}
img {
width: 100%;
height: 100%;
object-position: center;
object-fit: cover;
}
}
.product_header {
padding: 10px;
h3 {
margin: 0px;
padding: 0px;
color: rgba(41, 40, 91, 1);
font-size: 26px;
font-weight: 900;
padding-bottom: 5px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
p {
margin: 0px;
padding: 0px;
color: rgba(121, 119, 139, 1);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
strong {
margin-right: 5px;
span {
img {
width: 16px;
}
}
}
}
h5 {
margin: 0px;
padding: 0px;
color: rgba(59, 57, 77, 1);
text-align: right;
font-size: 26px;
}
}
.product_div_content {
padding-bottom: 80px;
h5 {
color: rgba(41, 40, 91, 1);
margin: 0px;
padding: 10px;
font-weight: 900;
}
p {
color: rgba(59, 57, 77, 1);
padding: 10px;
text-align: justify;
margin: 0px;
}
.size_div {
padding: 10px;
ul {
margin: 0px;
padding: 0px;
li {
list-style: none;
width: 100%;
height: 100px;
margin: 4px;
display: inline-block;
#custom_check_button {
background-color: #fff;
border-radius: 10px !important;
overflow: auto;
color: #000;
border: 1px dashed rgba(215, 213, 228, 1);
position: relative;
width: 100%;
height: 100%; height: 100%;
outline: none; }
font-size: 17px; .fav_icon {
white-space: nowrap; width: 30px;
overflow: hidden; height: 30px;
text-overflow: ellipsis; background-image: url('../../assets/Group32_2.png');
} background-position: center;
#custom_check_button p { background-repeat: no-repeat;
margin: 0px; background-size: 24px;
position: absolute; position: absolute;
left: 0px; top: 15px;
right: 0px; right: 15px;
top: 0px; z-index: 2;
bottom: 0px; }
padding: 4px; .fav_fill {
padding-top: 35px; width: 30px;
padding-bottom: 35px; height: 30px;
text-align: center; background-image: url('../../assets/fav_fill.png');
} background-position: center;
#custom_check_button label { background-repeat: no-repeat;
width: 100%; background-size: 24px;
}
#custom_check_button label span {
text-align: center;
display: block;
}
#custom_check_button label input {
position: absolute; position: absolute;
top: 0px; top: 15px;
opacity: 0; right: 15px;
} z-index: 2;
#custom_check_button input:checked + p { }
background-color: rgba(41, 40, 91, 1); .featured_badge {
position: absolute;
bottom: 20px;
right: 15px;
color: #fff; color: #fff;
border-radius: 10px !important; background-color: rgba(41, 40, 91, 1);
margin: 0px; padding: 2px;
} padding-left: 5px;
padding-right: 5px;
font-size: 13px;
z-index: 2;
} }
} img {
} // width: 100%;
.color_div {
padding: 10px;
ul {
margin: 0px;
padding: 0px;
li {
list-style: none;
width: 100%;
height: 100px;
margin: 4px;
display: inline-block;
#custom_check_button {
background-color: #fff;
border-radius: 10px !important;
overflow: auto;
color: #000;
border: 1px dashed rgba(215, 213, 228, 1);
position: relative;
width: 100%;
height: 100%; height: 100%;
outline: none; object-position: center;
font-size: 17px; object-fit: cover;
} }
#custom_check_button p { }
.product_header {
padding: 10px;
h3 {
margin: 0px; margin: 0px;
position: absolute;
left: 0px;
right: 0px;
top: 0px;
color: transparent;
bottom: 0px;
padding: 0px; padding: 0px;
text-align: center; color: rgba(41, 40, 91, 1);
border: 3px solid transparent; font-size: 20px;
img { font-weight: 900;
width: 100%; padding-bottom: 5px;
height: 100%; // white-space: nowrap;
border-radius: 10px !important; overflow: hidden;
object-fit: cover; text-overflow: ellipsis;
object-position: center; }
} p {
}
#custom_check_button label {
width: 100%;
}
#custom_check_button label span {
text-align: center;
display: block;
}
#custom_check_button label input {
position: absolute;
top: 0px;
opacity: 0;
}
#custom_check_button input:checked + p {
border: 3px dashed #29285b;
color: transparent;
border-radius: 10px !important;
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
} color: rgba(121, 119, 139, 1);
} // white-space: nowrap;
} overflow: hidden;
} text-overflow: ellipsis;
.review_list { strong {
padding: 10px; margin-right: 5px;
ul { span {
margin: 0px; img {
padding: 0px; width: 16px;
li { }
list-style: none;
padding-bottom: 20px;
.review_image {
width: 35px;
height: 35px;
border-radius: 50%;
float: left;
background-color: #a8a8a8;
img {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
object-position: center;
}
}
.review_detail {
float: left;
width: calc(100% - 35px);
padding-left: 10px;
padding-top: 2px;
padding-bottom: 7px;
h4 {
margin: 0px;
padding: 0px;
color: rgba(59, 57, 77, 1);
span {
font-weight: bolder;
font-size: 18px;
margin-left: 10px;
img {
width: 16px;
margin-right: 2px;
} }
}
}
.review_date {
color: rgba(176, 174, 199, 1);
font-size: 14px;
}
p {
margin: 0px;
padding: 0px;
color: rgba(59, 57, 77, 1);
padding-top: 10px;
} }
}
} }
} h5 {
}
.related_product_slider {
ul {
padding: 10px;
padding-bottom: 0px;
padding-top: 0px;
margin: 0px;
li {
width: 100%;
display: inline-block;
border-top: none;
border-bottom: none;
margin-bottom: 10px;
.product_image {
height: 235px;
position: relative;
.featured_badge {
position: absolute;
top: 20px;
left: 0px;
color: #fff;
background-color: rgba(41, 40, 91, 1);
padding: 2px;
padding-left: 10px;
padding-right: 10px;
font-size: 13px;
}
.fav_icon {
position: absolute;
top: 10px;
right: 10px;
font-size: 27px;
width: 30px;
height: 30px;
background-image: url('../../assets/Group32_2.png');
background-position: center;
background-repeat: no-repeat;
background-size: 24px;
}
.fav_fill {
position: absolute;
top: 10px;
right: 10px;
font-size: 27px;
width: 30px;
height: 30px;
background-image: url('../../assets/fav_fill.png');
background-position: center;
background-repeat: no-repeat;
background-size: 24px;
}
img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
}
h5 {
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
color: rgba(59, 57, 77, 1); color: rgba(59, 57, 77, 1);
padding-top: 5px; text-align: right;
padding-bottom: 5px; font-size: 26px;
font-weight: 400; }
text-align: left; }
font-size: 14px; .product_div_content {
white-space: nowrap; padding-bottom: 80px;
overflow: hidden; h5 {
text-overflow: ellipsis; color: rgba(41, 40, 91, 1);
}
p {
margin: 0px; margin: 0px;
padding: 0px; padding: 10px;
color: rgba(176, 174, 199, 1); font-weight: 900;
font-size: 12px; }
span { p {
text-decoration: line-through; color: rgba(59, 57, 77, 1);
margin-left: 10px; padding: 10px;
color: rgba(215, 213, 228, 1); text-align: justify;
margin: 0px;
}
.size_div {
padding: 10px;
ul {
margin: 0px;
padding: 0px;
li {
list-style: none;
width: 100%;
height: 100px;
margin: 4px;
display: inline-block;
#custom_check_button {
background-color: #fff;
border-radius: 10px !important;
overflow: auto;
color: #000;
border: 1px dashed rgba(215, 213, 228, 1);
position: relative;
width: 100%;
height: 100%;
outline: none;
font-size: 17px;
// white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#custom_check_button p {
margin: 0px;
position: absolute;
left: 0px;
right: 0px;
top: 0px;
bottom: 0px;
padding: 4px;
padding-top: 35px;
padding-bottom: 35px;
text-align: center;
display: flex;
align-items: center;
font-size: 14px;
}
#custom_check_button label {
width: 100%;
}
#custom_check_button label span {
text-align: center;
display: block;
}
#custom_check_button label input {
position: absolute;
top: 0px;
opacity: 0;
}
#custom_check_button input:checked+p {
background-color: rgba(41, 40, 91, 1);
color: #fff;
border-radius: 10px !important;
margin: 0px;
}
}
}
}
.color_div {
padding: 10px;
ul {
margin: 0px;
padding: 0px;
li {
list-style: none;
width: 100%;
height: 100px;
margin: 4px;
display: inline-block;
#custom_check_button {
background-color: #fff;
border-radius: 10px !important;
overflow: auto;
color: #000;
border: 1px dashed rgba(215, 213, 228, 1);
position: relative;
width: 100%;
height: 100%;
outline: none;
font-size: 17px;
}
#custom_check_button p {
margin: 0px;
position: absolute;
left: 0px;
right: 0px;
top: 0px;
color: transparent;
bottom: 0px;
padding: 0px;
text-align: center;
border: 3px solid transparent;
img {
width: 100%;
height: 100%;
border-radius: 10px !important;
object-fit: cover;
object-position: center;
}
}
#custom_check_button label {
width: 100%;
}
#custom_check_button label span {
text-align: center;
display: block;
}
#custom_check_button label input {
position: absolute;
top: 0px;
opacity: 0;
}
#custom_check_button input:checked+p {
border: 3px dashed #29285b;
color: transparent;
border-radius: 10px !important;
margin: 0px;
padding: 0px;
}
}
} }
.offer { }
color: #fff; .review_list {
background-color: rgba(41, 40, 91, 1); padding: 10px;
border-radius: 4px; ul {
text-decoration: none; margin: 0px;
padding: 3px; padding: 0px;
font-size: 13px; li {
list-style: none;
padding-bottom: 20px;
.review_image {
width: 35px;
height: 35px;
border-radius: 50%;
float: left;
background-color: #a8a8a8;
img {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
object-position: center;
}
}
.review_detail {
float: left;
width: calc(100% - 35px);
padding-left: 10px;
padding-top: 2px;
padding-bottom: 7px;
h4 {
margin: 0px;
padding: 0px;
color: rgba(59, 57, 77, 1);
span {
font-weight: bolder;
font-size: 18px;
margin-left: 10px;
img {
width: 16px;
margin-right: 2px;
}
}
}
.review_date {
color: rgba(176, 174, 199, 1);
font-size: 14px;
}
p {
margin: 0px;
padding: 0px;
color: rgba(59, 57, 77, 1);
padding-top: 10px;
}
}
}
}
}
.related_product_slider {
ul {
padding: 10px;
padding-bottom: 0px;
padding-top: 0px;
margin: 0px;
li {
width: 100%;
display: inline-block;
border-top: none;
border-bottom: none;
margin-bottom: 10px;
.product_image {
height: 235px;
position: relative;
.featured_badge {
position: absolute;
top: 20px;
left: 0px;
color: #fff;
background-color: rgba(41, 40, 91, 1);
padding: 2px;
padding-left: 10px;
padding-right: 10px;
font-size: 13px;
}
.fav_icon {
position: absolute;
top: 10px;
right: 10px;
font-size: 27px;
width: 30px;
height: 30px;
background-image: url('../../assets/Group32_2.png');
background-position: center;
background-repeat: no-repeat;
background-size: 24px;
}
.fav_fill {
position: absolute;
top: 10px;
right: 10px;
font-size: 27px;
width: 30px;
height: 30px;
background-image: url('../../assets/fav_fill.png');
background-position: center;
background-repeat: no-repeat;
background-size: 24px;
}
img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
}
h5 {
margin: 0px;
padding: 0px;
color: rgba(59, 57, 77, 1);
padding-top: 5px;
padding-bottom: 5px;
font-weight: 400;
text-align: left;
font-size: 14px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
p {
margin: 0px;
padding: 0px;
color: rgba(176, 174, 199, 1);
font-size: 12px;
span {
text-decoration: line-through;
margin-left: 10px;
color: rgba(215, 213, 228, 1);
}
.offer {
color: #fff;
background-color: rgba(41, 40, 91, 1);
border-radius: 4px;
text-decoration: none;
padding: 3px;
font-size: 13px;
}
}
}
} }
}
} }
}
} }
}
} }
.footer_div { .footer_div {
bottom: 0px; bottom: 0px;
height: 50px; height: 50px;
left: 0px; left: 0px;
right: 0px; right: 0px;
min-width: 100%; min-width: 100%;
background-color: #fff; background-color: #fff;
-webkit-box-shadow: 0px -2px 3px -1px rgba(0, 0, 0, 0.34); -webkit-box-shadow: 0px -2px 3px -1px rgba(0, 0, 0, 0.34);
-moz-box-shadow: 0px -2px 3px -1px rgba(0, 0, 0, 0.34); -moz-box-shadow: 0px -2px 3px -1px rgba(0, 0, 0, 0.34);
box-shadow: 0px -2px 3px -1px rgba(0, 0, 0, 0.34); box-shadow: 0px -2px 3px -1px rgba(0, 0, 0, 0.34);
border-top-left-radius: 10px; border-top-left-radius: 10px;
border-top-right-radius: 10px; border-top-right-radius: 10px;
z-index: 99; z-index: 99;
.footer_options { .footer_options {
width: 50%; width: 50%;
float: left; float: left;
height: 100%; height: 100%;
button { button {
width: 33.3%; width: 33.3%;
display: inline-block; display: inline-block;
height: 100%; height: 100%;
border-radius: 10px; border-radius: 10px;
background-color: transparent; background-color: transparent;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
background-size: 30px; background-size: 30px;
cursor: pointer; cursor: pointer;
} }
.cart { .cart {
background-image: url('../../assets/cart_2.png'); background-image: url('../../assets/cart_2.png');
} }
.fav { .fav {
background-image: url('../../assets/Group56_2.png'); background-image: url('../../assets/Group56_2.png');
} }
.fav_active { .fav_active {
background-image: url('../../assets/heart.png'); background-image: url('../../assets/heart.png');
}
.share {
background-image: url('../../assets/Group57_2.png');
}
} }
.footer_btn {
.share { width: 50%;
background-image: url('../../assets/Group57_2.png'); border-top-right-radius: 10px;
background-color: rgba(41, 40, 91, 1);
color: #fff;
float: right;
text-align: center;
padding: 15px;
font-size: 18px;
height: 100%;
} }
} }
.footer_btn { \ No newline at end of file
width: 50%;
border-top-right-radius: 10px;
background-color: rgba(41, 40, 91, 1);
color: #fff;
float: right;
text-align: center;
padding: 15px;
font-size: 18px;
height: 100%;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment