Commit 3e71cdec by 王东红

优化个人中心

parent 0d907109
...@@ -48,10 +48,7 @@ ...@@ -48,10 +48,7 @@
} }
.page-title-wrapper h1 {
text-align: center;
margin-bottom: 20px;
}
.block-dashboard-info{ .block-dashboard-info{
padding: 10px 20px; padding: 10px 20px;
border: 1px solid #e1e1e1; border: 1px solid #e1e1e1;
...@@ -62,10 +59,7 @@ ...@@ -62,10 +59,7 @@
border: 1px solid #e1e1e1; border: 1px solid #e1e1e1;
overflow: hidden; overflow: hidden;
} }
.page-title-wrapper{
padding-bottom: 30px;
padding-top: 55px;
}
.block-dashboard-info .block-title{ .block-dashboard-info .block-title{
border-bottom: 1px solid #e1e1e1; border-bottom: 1px solid #e1e1e1;
padding-bottom: 13px; padding-bottom: 13px;
...@@ -92,9 +86,6 @@ ...@@ -92,9 +86,6 @@
display: block; display: block;
font-weight: 600; font-weight: 600;
} }
.block-collapsible-nav .content .current>a, .block-collapsible-nav .content .current>strong{
}
.block-dashboard-orders{ .block-dashboard-orders{
display: none; display: none;
} }
......
...@@ -9,6 +9,66 @@ use Magento\Customer\Block\Widget\Name; ...@@ -9,6 +9,66 @@ use Magento\Customer\Block\Widget\Name;
/** @var \Magento\Customer\Block\Form\Edit $block */ /** @var \Magento\Customer\Block\Form\Edit $block */
/** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */ /** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */
?> ?>
<style type="text/css">
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: 50px;
padding: 5px;
border-radius: 3px;
box-shadow: none;
}
.fieldset > .field:not(.choice) > .label {
padding: 6px 15px 0 0;
text-align: right;
box-sizing: border-box;
float: left;
}
.actions-toolbar .action.primary{
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: 18px 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;
}
.label {
color: #555;
font-size: 13px;
}
input{
box-shadow: inset 0 -2px #e7e7e7;
}
.field.choice>[type="radio"], .field.choice>[type="checkbox"] {
margin-top: 4px;
}
@media(min-width: 768px){
.form-edit-account>.fieldset, .form-address-edit>.fieldset{
width: 100%;
max-width: none;
}
}
</style>
<form class="form form-edit-account" <form class="form form-edit-account"
action="<?= $block->escapeUrl($block->getUrl('customer/account/editPost')) ?>" action="<?= $block->escapeUrl($block->getUrl('customer/account/editPost')) ?>"
method="post" id="form-validate" method="post" id="form-validate"
......
...@@ -1028,7 +1028,25 @@ footer{ ...@@ -1028,7 +1028,25 @@ footer{
.block.widget-recent{ .block.widget-recent{
display: none !important; display: none !important;
} }
.page-title-wrapper h1 {
text-align: center;
margin-bottom: 20px;
}
.page-title-wrapper{
padding-bottom: 30px;
padding-top: 55px;
}
.block-collapsible-nav .content .item>a, .block-collapsible-nav .content .item>strong{
font-family: 'Outfit-Regular', sans-serif;
font-size: 14px;
}
.account.customer-account-edit{
form .legend{
border:none;
}
}
@media(min-width: 640px){ @media(min-width: 640px){
.switcher.currency{ .switcher.currency{
position: relative; position: relative;
......
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