first commit
This commit is contained in:
375
themes/at_movic/_dev/css/components/customer.scss
Normal file
375
themes/at_movic/_dev/css/components/customer.scss
Normal file
@@ -0,0 +1,375 @@
|
||||
/*** SOME GENERIC STYLES ***/
|
||||
@mixin customer-area-base-box {
|
||||
@include box-shadow(none);
|
||||
background: white;
|
||||
padding: 16px;
|
||||
border: 0;
|
||||
}
|
||||
@mixin customer-area-box {
|
||||
@include customer-area-base-box;
|
||||
font-size: $font-size-sm;
|
||||
color: $gray-dark;
|
||||
}
|
||||
.table-labeled {
|
||||
th {
|
||||
vertical-align: middle;
|
||||
}
|
||||
td {
|
||||
vertical-align: middle;
|
||||
}
|
||||
.label {
|
||||
font-weight: 400;
|
||||
border-radius: 3px;
|
||||
font-size: inherit;
|
||||
padding: 4px 6px;
|
||||
margin: 2px;
|
||||
color: white;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
.page-order {
|
||||
.table {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
table {
|
||||
th {
|
||||
padding: 8px;
|
||||
}
|
||||
td {
|
||||
padding: 8px;
|
||||
}
|
||||
thead {
|
||||
th {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#authentication {
|
||||
.tooltip.tooltip-bottom {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.custom-checkbox {
|
||||
span {
|
||||
@include rtl-float-left();
|
||||
}
|
||||
label {
|
||||
@include rtl-padding(0,0,0,30px);
|
||||
}
|
||||
}
|
||||
[data-action="show-password"]{
|
||||
background: $gray-dark;
|
||||
border-radius: 0;
|
||||
&:hover{
|
||||
background: #333;
|
||||
}
|
||||
}
|
||||
}
|
||||
#identity,
|
||||
#authentication {
|
||||
.radio-inline {
|
||||
padding: 0;
|
||||
.custom-radio {
|
||||
margin-right: 0;
|
||||
vertical-align: 0px;
|
||||
}
|
||||
}
|
||||
}
|
||||
/*** Most of the customer accpunt pages ***/
|
||||
.page-customer-account {
|
||||
#content {
|
||||
@include customer-area-box;
|
||||
.order-actions {
|
||||
a {
|
||||
padding: 0 2px;
|
||||
}
|
||||
}
|
||||
.forgot-password {
|
||||
text-align: center;
|
||||
font-size: $font-size-sm;
|
||||
margin-top: 16px;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
.no-account {
|
||||
text-align: center;
|
||||
font-size: $base-font-size;
|
||||
}
|
||||
}
|
||||
}
|
||||
/*** Login page ***/
|
||||
.page-authentication {
|
||||
#content {
|
||||
@include customer-area-base-box;
|
||||
max-width: 640px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
/*** Addresses page ***/
|
||||
.page-addresses {
|
||||
.address {
|
||||
@include box-shadow(2px 2px 11px 0px rgba(0, 0, 0, 0.1));
|
||||
background: white;
|
||||
margin-bottom: 30px;
|
||||
font-size: $font-size-sm;
|
||||
color: $gray-darker;
|
||||
.address-body {
|
||||
padding: 16px;
|
||||
h4 {
|
||||
font-size: $base-font-size;
|
||||
}
|
||||
address {
|
||||
min-height: 144px;
|
||||
}
|
||||
}
|
||||
.address-footer {
|
||||
border-top: 1px solid #efefef;
|
||||
padding: 8px 16px;
|
||||
a {
|
||||
color: $gray-dark;
|
||||
margin-right: 8px;
|
||||
&:hover {
|
||||
color: $gray-darker;
|
||||
}
|
||||
i {
|
||||
font-size: $base-font-size;
|
||||
}
|
||||
span {
|
||||
font-size: $font-size-lg;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.addresses-footer {
|
||||
margin: 0 15px;
|
||||
a {
|
||||
color: $gray-darker;
|
||||
&:hover {
|
||||
color: $gray-darker;
|
||||
}
|
||||
i {
|
||||
font-size: $base-font-size;
|
||||
}
|
||||
span {
|
||||
font-size: $base-font-size;
|
||||
vertical-align: middle;
|
||||
margin-top: $small-space;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/*** Order details page ***/
|
||||
.page-order-detail {
|
||||
font-size: 13px;
|
||||
color: $gray-dark;
|
||||
.box {
|
||||
@include customer-area-base-box;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
h3 {
|
||||
font-size: $base-font-size;
|
||||
text-transform: uppercase;
|
||||
color: $gray-darker;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
#order-infos {
|
||||
ul {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
#order-history {
|
||||
.history-lines {
|
||||
.history-line {
|
||||
padding: 8px 0;
|
||||
border-bottom: 1px solid $gray-lighter;
|
||||
&:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
.label {
|
||||
display: inline-block;
|
||||
margin: 4px 0;
|
||||
padding: 4px 6px;
|
||||
color: white;
|
||||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.addresses {
|
||||
margin: 0 -15px;
|
||||
h4 {
|
||||
font-size: $base-font-size;
|
||||
}
|
||||
}
|
||||
#order-products {
|
||||
&.return {
|
||||
margin-bottom: 16px;
|
||||
th {
|
||||
&.head-checkbox {
|
||||
width: 30px;
|
||||
}
|
||||
}
|
||||
td {
|
||||
padding: 1.375rem 0.75rem;
|
||||
&.qty {
|
||||
min-width: 125px;
|
||||
.current {
|
||||
width: 30%;
|
||||
float: left;
|
||||
text-align: right;
|
||||
padding-right: 0.5rem;
|
||||
}
|
||||
.select {
|
||||
width: 70%;
|
||||
float: left;
|
||||
margin: -0.625rem 0;
|
||||
padding-left: 0.25rem;
|
||||
select {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.order-items {
|
||||
padding: 0 !important;
|
||||
.order-item {
|
||||
padding: 16px 16px 0;
|
||||
border-bottom: 1px solid $gray-lighter;
|
||||
.checkbox {
|
||||
width: 30px;
|
||||
float: left;
|
||||
padding: 0 15px;
|
||||
}
|
||||
.content {
|
||||
width: calc(100% - 30px);
|
||||
float: left;
|
||||
padding: 0 15px;
|
||||
}
|
||||
.desc {
|
||||
.name {
|
||||
}
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.qty {
|
||||
margin-bottom: 16px;
|
||||
.q {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.s {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.messages {
|
||||
.message {
|
||||
margin-top: 8px;
|
||||
border-bottom: 1px solid $gray-lighter;
|
||||
&:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
> div {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.customization {
|
||||
margin-top: 12px;
|
||||
}
|
||||
}
|
||||
/*** Order return page ***/
|
||||
#order-return-infos {
|
||||
.thead-default th {
|
||||
color: $gray-darker;
|
||||
}
|
||||
.customization {
|
||||
margin-top: 12px;
|
||||
}
|
||||
}
|
||||
/*** My account landing page ***/
|
||||
.page-my-account {
|
||||
#content {
|
||||
.links {
|
||||
&:after {
|
||||
content: "";
|
||||
display: block;
|
||||
clear: both;
|
||||
}
|
||||
a {
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
font-size: $base-font-size;
|
||||
text-transform: uppercase;
|
||||
color: $gray-dark;
|
||||
padding: 0 10px;
|
||||
margin: 15px 0;
|
||||
span.link-item {
|
||||
display: block;
|
||||
height: 100%;
|
||||
@include customer-area-base-box;
|
||||
box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
i {
|
||||
display: block;
|
||||
font-size: 2.6rem;
|
||||
width: 100%;
|
||||
color: $gray-darker;
|
||||
padding-bottom: 3.4rem;
|
||||
}
|
||||
&:hover {
|
||||
color: $gray-darker;
|
||||
i {
|
||||
color: $brand-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.page-footer {
|
||||
.text-sm-center{
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
/*** History page ***/
|
||||
#history {
|
||||
.orders {
|
||||
margin: 0 -16px;
|
||||
.order {
|
||||
a {
|
||||
h3 {
|
||||
color: $gray-dark;
|
||||
}
|
||||
}
|
||||
padding: 12px 16px;
|
||||
border-bottom: 1px solid $gray-lighter;
|
||||
.label {
|
||||
display: inline-block;
|
||||
margin: 4px 0;
|
||||
padding: 4px 6px;
|
||||
color: white;
|
||||
border-radius: 3px;
|
||||
}
|
||||
&:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*** FOOTER ***/
|
||||
.page-footer {
|
||||
.account-link {
|
||||
margin-right: 16px;
|
||||
i {
|
||||
font-size: $base-font-size;
|
||||
}
|
||||
span {
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user