Finished checkout page and added a prototype sidebar
This commit is contained in:
@@ -21,6 +21,11 @@
|
||||
a
|
||||
color: $button-color
|
||||
text-decoration: none
|
||||
|
||||
.my-floating-btn.active
|
||||
display: block
|
||||
|
||||
#index-my-floating-btn
|
||||
button
|
||||
float: right
|
||||
border-radius: 50%
|
||||
@@ -29,20 +34,29 @@
|
||||
width: 100%
|
||||
position: fixed
|
||||
|
||||
.my-floating-btn.active
|
||||
display: block
|
||||
#shopping-my-floating-btn
|
||||
button
|
||||
float: right
|
||||
border-radius: 50%
|
||||
margin-right: 20px
|
||||
top: 90%
|
||||
width: 100%
|
||||
position: fixed
|
||||
|
||||
.cart_button_1
|
||||
|
||||
|
||||
.cart_button_1, .checkout_back_button, .productDetail_back_button
|
||||
color: OliveDrab
|
||||
border-color: OliveDrab
|
||||
background-color: transparent
|
||||
.cart_button_2
|
||||
.cart_button_2, .checkout_confirm_button, .productDetail_add_button
|
||||
// color: DarkGrey
|
||||
border-color: $button-border-color
|
||||
background-color: OliveDrab
|
||||
.cart_button_1:hover
|
||||
.cart_button_1:hover, .checkout_back_button:hover, .productDetail_back_button:hover
|
||||
border-color: $button-border-color
|
||||
background-color: $button-border-color
|
||||
.cart_button_2:hover
|
||||
.cart_button_2:hover, .checkout_confirm_button:hover, .productDetail_add_button:hover
|
||||
border-color: $button-border-color
|
||||
background-color: $button-border-color
|
||||
background-color: $button-border-color
|
||||
|
||||
|
||||
@@ -15,6 +15,17 @@
|
||||
a
|
||||
text-decoration: none
|
||||
|
||||
#checkoutModal
|
||||
h1
|
||||
text-align: center
|
||||
.checkMarkIcon
|
||||
text-align: center
|
||||
color: green
|
||||
font-size: 1200%
|
||||
.checkMarkIcon:before
|
||||
font-family: 'FontAwesome'
|
||||
content: '\f058'
|
||||
|
||||
@media (max-width: 483px)
|
||||
#logInModal, #registerModal
|
||||
.mb-3
|
||||
@@ -26,4 +37,5 @@
|
||||
button
|
||||
width: 100%;
|
||||
margin-left: 10%
|
||||
margin-right: 10%
|
||||
margin-right: 10%
|
||||
|
||||
@@ -27,5 +27,10 @@
|
||||
|
||||
.cart_deleteP
|
||||
text-align: right
|
||||
|
||||
|
||||
a
|
||||
color: black
|
||||
font-size: 1.3rem
|
||||
font-family: cursive
|
||||
text-decoration: none
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
.sectionShopping
|
||||
|
||||
div.checkoutProduct, table.checkoutTable
|
||||
width: 100%
|
||||
height: 100%
|
||||
text-align: justify
|
||||
|
||||
div.checkoutProduct:after, table.checkoutTable:after
|
||||
content: ""
|
||||
display: inline-block
|
||||
overflow: hidden
|
||||
width: 100%
|
||||
|
||||
div.checkoutProduct
|
||||
table.checkoutTable .tr_title
|
||||
font-family: $font-slabo
|
||||
|
||||
|
||||
div.customerInformation
|
||||
|
||||
margin-top: 10px
|
||||
text-align: left
|
||||
|
||||
div.customer-col
|
||||
border: 1px solid grey
|
||||
margin: 20px 0px
|
||||
|
||||
div.checkoutComfirm
|
||||
|
||||
div.customer-col
|
||||
text-align: right
|
||||
margin-bottom: 20px
|
||||
|
||||
div.checkoutSubtotal
|
||||
|
||||
div.customer-col
|
||||
text-align: right
|
||||
margin-bottom: 20px
|
||||
|
||||
span.checkout_subtotalPrice
|
||||
font-size: 3.2rem
|
||||
font-weight: bold
|
||||
color: oliveDrab
|
||||
@@ -35,9 +35,10 @@
|
||||
// #span-shopping-username:active
|
||||
// outline: none
|
||||
#btn-shopping-logout
|
||||
position: absolute
|
||||
position: fixed
|
||||
right: 1rem
|
||||
top: 1rem
|
||||
|
||||
|
||||
#span-shopping-username:before
|
||||
font-family: 'FontAwesome'
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
|
||||
.sectionShopping
|
||||
div.customerInformation
|
||||
text-align: left
|
||||
|
||||
background-color: $index-background-color
|
||||
.row
|
||||
padding-left: 20%
|
||||
@@ -31,6 +30,25 @@
|
||||
text-align: center
|
||||
color: OliveDrab
|
||||
|
||||
.shopping_productDetails
|
||||
div.row
|
||||
padding: 0
|
||||
.productDetail-col
|
||||
div.row:first-of-type
|
||||
h2
|
||||
color: OliveDrab
|
||||
margin-bottom: 15%
|
||||
div.row:nth-child(2)
|
||||
margin-bottom: 15%
|
||||
div.row:last-of-type
|
||||
margin-top: 2%
|
||||
div.quantity
|
||||
display: inline-block
|
||||
text-align: right
|
||||
input
|
||||
height: 100%
|
||||
a.productDetail_back_button,input.productDetail_add_button
|
||||
width: 100%
|
||||
.shopping_productPrice
|
||||
color: OliveDrab
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
@import "sectionShopping"
|
||||
@import "navbar_shopping"
|
||||
@import "footer"
|
||||
@import "cart"
|
||||
@import "cart"
|
||||
@import "checkout"
|
||||
@import "shopping"
|
||||
@@ -0,0 +1,78 @@
|
||||
.wrapper_shopping
|
||||
|
||||
div.container-fluid
|
||||
display: flex
|
||||
align-items: stretch
|
||||
|
||||
a, a:hover, a:focus
|
||||
color: OliveDrab
|
||||
text-decoration: none
|
||||
transition: all 0.3s
|
||||
|
||||
|
||||
// #sidebarCollapse
|
||||
// z-index: 999
|
||||
|
||||
div.sectionShopping nav.shopping_pageNav a.page-link
|
||||
color: $navbar-text-color
|
||||
|
||||
nav#sidebar
|
||||
min-width: 250px
|
||||
max-width: 250px
|
||||
transition: all 0.3s
|
||||
background-color: white
|
||||
z-index: -1
|
||||
|
||||
ul.components
|
||||
padding: 20px 0
|
||||
border-bottom: 1px solid #47748b
|
||||
|
||||
|
||||
div.sidebar-header
|
||||
padding: 20px
|
||||
background-color: DimGrey
|
||||
div.sidebar-header h3
|
||||
color: white
|
||||
|
||||
ul li a
|
||||
padding: 10px
|
||||
font-size: 1.1em
|
||||
display: block
|
||||
|
||||
ul li a:hover
|
||||
color: mediumSeaGreen
|
||||
background-color: Gainsboro
|
||||
|
||||
ul li.active > a, a[aria-expanded="true"]
|
||||
color: #fff
|
||||
background: Gainsboro
|
||||
|
||||
a[data-toggle="collapse"]
|
||||
position: relative
|
||||
ul ul a
|
||||
font-size: 0.9em !important
|
||||
padding-left: 30px !important
|
||||
|
||||
ul.CTAs
|
||||
padding: 20px
|
||||
|
||||
|
||||
ul.CTAs a
|
||||
text-align: center
|
||||
font-size: 0.9em
|
||||
display: block
|
||||
border-radius: 5px
|
||||
margin-bottom: 5px
|
||||
|
||||
|
||||
a.download
|
||||
background: #fff
|
||||
color: #7386D5
|
||||
|
||||
|
||||
a.article, a.article:hover
|
||||
background: #6d7fcc
|
||||
color: #fff
|
||||
|
||||
nav#sidebar.active
|
||||
margin-right: -250px
|
||||
Reference in New Issue
Block a user