Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
joshine
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
joshine
Commits
d7c5bd08
Commit
d7c5bd08
authored
Sep 28, 2022
by
lmf
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://47.99.244.21:9999/root/joshine
parents
d4147374
8e9b69c7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
239 additions
and
6 deletions
+239
-6
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/onepage.phtml
+126
-5
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/authentication.html
+9
-1
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/form/element/email.html
+70
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/onepage.html
+34
-0
No files found.
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/onepage.phtml
View file @
d7c5bd08
...
...
@@ -8,6 +8,18 @@
/** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */
?>
<style
type=
"text/css"
>
.checkout-index-index
{
font-family
:
'Outfit-Regular'
,
sans-serif
;
}
#opc-sidebar
{
border
:
1px
solid
#d4d4d4
;
background
:
#fff
;
font-size
:
16px
;
}
.opc-block-summary
{
background
:
#f9f9f9
;
padding
:
15px
;
}
.action.action-auth-toggle
{
background
:
none
;
color
:
#000
;
...
...
@@ -18,9 +30,113 @@
font-size
:
16px
;
text-transform
:
uppercase
;
}
.opc
.step-title
,
.opc
.field-select-billing
.label
{
font-weight
:
600
;
font-size
:
20px
;
cursor
:
pointer
;
background
:
#eeeeee
;
padding
:
15px
;
}
.label
{
color
:
#555
;
font-size
:
13px
;
}
.table-checkout-shipping-method
tr
.row
{
border
:
1px
solid
#1979c3
;
box-shadow
:
0
2px
8px
rgb
(
56
77
108
/
40%
);
line-height
:
35px
;
}
table
tbody
:last-child
tr
:last-child
{
border-bottom
:
1px
solid
#1979c3
;
}
a
[
href
^=
"tel:"
]
{
color
:
#666666
;
}
.field.addresses
{
color
:
#666666
;
font-size
:
14px
;
}
.field
._with-tooltip
input
{
width
:
100%
;
}
.action.primary
,
action
.secondary
{
vertical-align
:
middle
;
-webkit-transform
:
perspective
(
1px
)
translateZ
(
0
);
transform
:
perspective
(
1px
)
translateZ
(
0
);
box-shadow
:
0
0
1px
rgb
(
0
0
0
/
0%
);
border-radius
:
0px
;
background-color
:
#222222
;
box-shadow
:
none
;
color
:
#ffffff
;
display
:
inline-block
;
font-family
:
'Outfit'
,
sans-serif
;
font-weight
:
normal
;
padding
:
12px
50px
;
line-height
:
1
;
text-shadow
:
none
;
text-transform
:
capitalize
;
white-space
:
nowrap
;
font-size
:
13px
;
border-radius
:
2px
;
border
:
2px
solid
#222222
;
background-image
:
none
;
text-align
:
center
;
border
:
none
;
text-transform
:
uppercase
;
font-weight
:
normal
!important
;
transition
:
all
0.4s
ease
;
-webkit-transition
:
all
0.4s
ease
;
}
input
:not
([
type
]),
input
[
type
=
"text"
],
input
[
type
=
"password"
],
input
[
type
=
"date"
],
input
[
type
=
"datetime"
],
input
[
type
=
"datetime-local"
],
input
[
type
=
"month"
],
input
[
type
=
"week"
],
input
[
type
=
"email"
],
input
[
type
=
"number"
],
input
[
type
=
"search"
],
input
[
type
=
"tel"
],
input
[
type
=
"time"
],
input
[
type
=
"url"
],
input
[
type
=
"color"
],
textarea
{
border
:
1px
solid
#e1e1e1
;
height
:
40px
;
padding
:
5px
;
border-radius
:
3px
;
box-shadow
:
none
;
}
select
{
background
:
#ffffff
;
background-clip
:
padding-box
;
border
:
1px
solid
#c2c2c2
;
border-radius
:
1px
;
font-family
:
'Open Sans'
,
'Helvetica Neue'
,
Helvetica
,
Arial
,
sans-serif
;
font-size
:
14px
;
height
:
32px
;
line-height
:
1.42857143
;
padding
:
5px
10px
4px
;
vertical-align
:
baseline
;
width
:
100%
;
box-sizing
:
border-box
;
}
.opc-block-summary
.title
{
font-weight
:
600
;
font-size
:
20px
;
color
:
#363636
;
}
.product-item-details
{
color
:
#666666
;
font-size
:
14px
;
}
.shipping-address-item.selected-item
{
border
:
1px
solid
#1979c3
;
}
.shipping-address-item
:hover
{
box-shadow
:
0
2px
8px
rgb
(
56
77
108
/
20%
);
}
.shipping-address-item.selected-item
:hover
{
box-shadow
:
0
2px
8px
rgb
(
56
77
108
/
40%
);
}
button
.action.secondary
{
background
:
#000000
;
}
.actions-toolbar
.secondary
a
.action.remind
span
{
font-size
:
14px
;
font-family
:
Outfit-Regular
;
color
:
#000000
;
}
@media
(
min-width
:
1024px
)
{
.checkout-container
{
width
:
7
0%
;
width
:
6
0%
;
margin
:
0
auto
;
background
:
#ffffff
;
}
...
...
@@ -29,14 +145,13 @@
.opc-progress-bar
{
justify-content
:
center
;
padding-left
:
80px
;
font-size
:
22px
;
padding-top
:
40px
;
}
.authentication-wrapper
{
float
:
none
;
top
:
7.375rem
;
left
:
2rem
;
}
.opc-wrapper
{
margin-top
:
70px
;
padding-top
:
40px
;
}
.login-q-reg
{
font-weight
:
400
;
...
...
@@ -52,6 +167,9 @@
margin
:
0
;
padding
:
0
;
}
.content.minicart-items
{
display
:
block
!important
;
}
}
@media
(
max-width
:
767.98px
){
.opc-progress-bar
{
...
...
@@ -63,6 +181,9 @@
.login-q-reg
{
display
:
none
;
}
#opc-sidebar
{
margin-top
:
30px
;
}
}
</style>
<div
id=
"checkout"
data-bind=
"scope:'checkout'"
class=
"checkout-container"
>
...
...
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/authentication.html
View file @
d7c5bd08
...
...
@@ -4,6 +4,13 @@
* See COPYING.txt for license details.
*/
-->
<style
type=
"text/css"
>
.actions-toolbar
.secondary
a
.action.remind
span
{
font-size
:
14px
;
font-family
:
Outfit-Regular
;
color
:
#000000
;
}
</style>
<div
class=
"authentication-wrapper"
data-block=
"authentication"
data-bind=
"visible: isActive()"
>
<span
class=
"login-q-reg"
>
Already Registered?
</span>
<button
...
...
@@ -41,6 +48,7 @@
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<div
class=
"block-content"
aria-labelledby=
"block-customer-login-heading"
>
<form
data-role=
"login"
data-bind=
"submit:login"
method=
"post"
>
...
...
@@ -80,7 +88,7 @@
</div>
<div
class=
"secondary"
>
<a
class=
"action action-remind"
data-bind=
"attr: { href: forgotPasswordUrl }"
>
<span
data-bind=
"i18n: 'Forgot Your Password?'"
></span>
<span
style=
"color: #333333;"
data-bind=
"i18n: 'Forgot Your Password?'"
></span>
</a>
</div>
</div>
...
...
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/form/element/email.html
0 → 100644
View file @
d7c5bd08
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<!-- ko ifnot: isCustomerLoggedIn() -->
<!-- ko foreach: getRegion('before-login-form') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
<form
class=
"form form-login"
data-role=
"email-with-possible-login"
data-bind=
"submit:login"
method=
"post"
>
<fieldset
id=
"customer-email-fieldset"
class=
"fieldset"
data-bind=
"blockLoader: isLoading"
>
<div
class=
"field required"
>
<label
class=
"label"
for=
"customer-email"
><span
data-bind=
"i18n: 'Email Address'"
></span>
<!-- ko template: 'ui/form/element/helper/tooltip' --><!-- /ko -->
</label>
<div
class=
"control _with-tooltip"
>
<input
class=
"input-text"
type=
"email"
data-bind=
"
textInput: email,
hasFocus: emailFocused,
afterRender: emailHasChanged,
mageInit: {'mage/trim-input':{}}"
name=
"username"
data-validate=
"{required:true, 'validate-email':true}"
id=
"customer-email"
/>
<span
class=
"note"
data-bind=
"fadeVisible: isPasswordVisible() == false"
>
<!-- ko i18n: 'You can create an account after checkout.'--><!-- /ko -->
</span>
</div>
</div>
<!--Hidden fields -->
<fieldset
class=
"fieldset hidden-fields"
data-bind=
"fadeVisible: isPasswordVisible"
>
<div
class=
"field"
>
<label
class=
"label"
for=
"customer-password"
><span
data-bind=
"i18n: 'Password'"
></span></label>
<div
class=
"control"
>
<input
class=
"input-text"
data-bind=
"
attr: {
placeholder: $t('Password'),
}"
type=
"password"
name=
"password"
id=
"customer-password"
data-validate=
"{required:true}"
autocomplete=
"off"
/>
<span
class=
"note"
data-bind=
"i18n: 'You already have an account with us. Sign in or continue as guest.'"
></span>
</div>
</div>
<!-- ko foreach: getRegion('additional-login-form-fields') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
<div
class=
"actions-toolbar"
>
<input
name=
"context"
type=
"hidden"
value=
"checkout"
/>
<div
class=
"primary"
>
<button
type=
"submit"
class=
"action login primary"
data-action=
"checkout-method-login"
><span
data-bind=
"i18n: 'Login'"
></span></button>
</div>
<div
class=
"secondary"
>
<a
class=
"action remind"
data-bind=
"attr: { href: forgotPasswordUrl }"
>
<span
data-bind=
"i18n: 'Forgot Your Password?'"
></span>
</a>
</div>
</div>
</fieldset>
<!--Hidden fields -->
</fieldset>
</form>
<!-- /ko -->
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/onepage.html
0 → 100644
View file @
d7c5bd08
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<!-- ko foreach: getRegion('progressBar') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<!-- ko foreach: getRegion('authentication') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<!-- ko foreach: getRegion('estimation') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<!-- ko foreach: getRegion('messages') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<div
class=
"opc-wrapper"
>
<ol
class=
"opc"
id=
"checkoutSteps"
>
<!-- ko foreach: getRegion('steps') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
</ol>
</div>
<!-- ko foreach: getRegion('sidebar') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
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