Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
getme
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
amal
getme
Commits
bdf1f962
Commit
bdf1f962
authored
Feb 18, 2020
by
Arjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
promocode success label
parent
4985883a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
31 deletions
+42
-31
cart.page.html
src/app/cart/cart.page.html
+7
-4
cart.page.scss
src/app/cart/cart.page.scss
+34
-25
productdetail.page.scss
src/app/productdetail/productdetail.page.scss
+1
-2
No files found.
src/app/cart/cart.page.html
View file @
bdf1f962
...
...
@@ -166,12 +166,15 @@
</div> -->
<hr
/>
<div
class=
"coupon_code"
>
<input
class=
""
placeholder=
"COUPON CODE: GET50"
#
promo
/><button
class=
"add_btn"
(
click
)="
promoApply
(
promo
.
value
)"
>
APPLY
</button>
<span
*
ngIf=
"discountApplied"
style=
"color: red"
>
Promocode applied successfully
<div
class=
"promo-row"
>
<input
class=
""
placeholder=
"COUPON CODE: GET50"
#
promo
/><button
class=
"add_btn"
(
click
)="
promoApply
(
promo
.
value
)"
>
APPLY
</button>
</div>
<span
*
ngIf=
"discountApplied"
class=
"promo-success"
>
Promocode applied successfully
</span>
</div>
<br
/>
<h6>
...
...
src/app/cart/cart.page.scss
View file @
bdf1f962
...
...
@@ -205,35 +205,44 @@
}
.coupon_code
{
padding-top
:
20px
;
padding-bottom
:
5
0px
;
padding-bottom
:
4
0px
;
border-bottom
:
1px
solid
#b0aec7
;
display
:
flex
;
justify-content
:
space-between
;
input
{
width
:
75%
;
border
:
1px
solid
#b0aec7
;
border-radius
:
20px
;
height
:
35px
;
padding-left
:
20px
;
font-weight
:
900
;
color
:
#29285b
;
outline
:
none
;
transition
:
all
.4s
ease-in-out
;
&
:
:
placeholder
{
color
:
rgba
(
215
,
213
,
228
,
1
);
.promo-row
{
display
:
flex
;
justify-content
:
space-between
;
input
{
width
:
75%
;
border
:
1px
solid
#b0aec7
;
border-radius
:
20px
;
height
:
35px
;
padding-left
:
20px
;
font-weight
:
900
;
color
:
#29285b
;
outline
:
none
;
transition
:
all
.4s
ease-in-out
;
&
:
:
placeholder
{
color
:
rgba
(
215
,
213
,
228
,
1
);
}
&
:focus
{
border
:
1px
solid
#f3d09f
;
box-shadow
:
3px
3px
6px
0px
rgba
(
202
,
154
,
83
,
0
.11
);
}
}
&
:focus
{
border
:
1px
solid
#f3d09f
;
box-shadow
:
3px
3px
6px
0px
rgba
(
202
,
154
,
83
,
0
.11
);
.add_btn
{
color
:
#29285b
;
width
:
25%
;
height
:
35px
;
background
:
transparent
;
font-size
:
17px
;
font-weight
:
bolder
;
}
}
.add_btn
{
color
:
#29285b
;
width
:
25%
;
height
:
35px
;
background
:
transparent
;
font-size
:
17px
;
font-weight
:
bolder
;
.promo-success
{
color
:
#31b131
;
font-size
:
16px
;
text-align
:
left
;
display
:
block
;
margin-top
:
5px
;
}
}
.total_div
{
...
...
src/app/productdetail/productdetail.page.scss
View file @
bdf1f962
...
...
@@ -134,12 +134,11 @@
top
:
0px
;
bottom
:
0px
;
padding
:
4px
;
padding-top
:
35px
;
padding-bottom
:
35px
;
text-align
:
center
;
display
:
flex
;
align-items
:
center
;
font-size
:
14px
;
justify-content
:
center
;
}
#custom_check_button
label
{
width
:
100%
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment