sarga/packages/Webkul/Velocity/src/Resources/assets/sass/components/app.scss

1002 lines
19 KiB
SCSS

.review-page-container {
padding: 20px;
.category-breadcrumb {
margin-bottom: 30px;
}
h2 {
font-size: 24px;
font-weight: 600;
}
h3 {
font-size: 20px;
font-weight: 600;
}
h4 {
font-size: 16px;
font-weight: 600;
}
.customer-reviews {
> div {
&.row {
padding-bottom: 30px;
}
}
}
}
.customer-rating {
.rating-container {
padding: 30px 0;
}
a {
color: $link-color;
}
a:hover {
text-decoration: none;
}
.col-lg-6:first-child {
border-right: 1px solid $border-common;
}
.rating-bar {
top: 12px;
height: 5px;
position: relative;
> div {
width: 0px;
height: 100%;
background-color: black;
}
}
.btn-write-review {
margin-top: 10px;
color: #26A37C;
font-weight: 600;
padding: 8px 11px;
background-color: white;
box-shadow: 0 1px 0 0 #CFCFCF;
border: 1px solid rgba(0,0,0,0.12);
}
}
.review-form {
width: 80%;
> div {
padding-top: 30px;
label {
font-size: 14px;
font-weight: 500;
display: block;
}
input,
textarea {
width: 100%;
resize: none;
font-size: 16px;
padding: 5px 16px;
border-radius: 1px;
border: 1px solid $border-common;
}
}
}
.category-container {
padding: 30px 50px;
}
.filters-container {
margin: 20px 0;
> div {
margin: 0 20px 0 0;
display: inline-block;
label {
font-weight: 500;
margin-right: 10px;
}
select {
cursor: pointer;
padding: 6px 16px;
color: $font-color;
background-color: white;
}
}
> div:not(:first-child) {
vertical-align: super;
}
}
.view-mode {
margin-bottom: 20px;
.rango-view-grid-container {
width: 36px;
height: 36px;
cursor: pointer;
color: $font-color;
padding: 6px 0 0 5px;
display: inline-block;
&.active {
color: white;
background-color: $theme-color;
}
}
.rango-view-list-container {
width: 36px;
height: 36px;
cursor: pointer;
color: $font-color;
padding: 6px 0 0 5px;
display: inline-block;
&.active {
color: white;
background-color: $theme-color;
}
}
}
.modal-container {
background: #ffffff;
top: 100px;
width: 600px;
max-width: 80%;
left: 50%;
margin-left: -300px;
position: fixed;
z-index: 11;
@include box-shadow(
0px 15px 25px 0px rgba(0, 0, 0, 0.03),
0px 20px 45px 5px rgba(0, 0, 0, 0.2)
);
animation: fade-in-white 0.3s ease-in-out;
animation: jelly 0.5s ease-in-out;
@include border-radius(5px);
overflow-y: auto;
max-height: 80%;
.modal-header {
padding: 20px;
h3 {
display: inline-block;
font-size: 20px;
color: $font-color;
margin: 0;
}
.icon {
float: right;
cursor: pointer;
}
}
.modal-body {
padding: 20px;
.control-group .control {
width: 100%;
}
}
}
// responsive css for modal
@media only screen and (max-width: 770px) {
.modal-container {
max-width: 80%;
left: 10%;
margin-left: 0px;
}
}
#product-card-new {
border: none;
height: 95%;
margin: 0 5px 10px 10px;
padding-bottom: 10px;
.product-image-container {
height: 220px;
img {
width: 100%;
height: 100%;
}
}
.card-current-price {
font-size: 18px;
}
.product-rating {
@extend .text-nowrap;
.stars {
display: inline-block;
}
span {
font-size: 14px;
vertical-align: middle;
}
}
.card-body {
> div:not(:last-child) {
margin-bottom: 5px;
}
}
}
.quantity {
@extend .btn-group;
width: 100%;
padding-bottom: 10px;
font-size: 16px !important;
label {
float: left;
padding: 5px 10px 10px 0;
}
button,
input {
@extend .btn;
font-size: 16px !important;
background-color: white;
border: 1px solid $border-common !important;
}
input {
width: 50px;
}
button:active,
button:focus,
input:active,
input:focus {
outline: none !important;
box-shadow: none !important;
}
}
.form-container {
.container {
width: 65%;
margin: 0 auto;
padding-top: 30px;
.heading {
width: 100%;
margin-bottom: 35px;
display: inline-block;
h2 {
line-height: 4rem;
display: inline-block;
}
.btn-new-customer {
float: right;
font-size: 16px;
}
}
.body {
font-size: 16px;
padding: 35px 55px;
margin-bottom: 60px;
border: 1px solid $border-common;
.form-header {
margin-bottom: 20px;
}
form {
> div {
padding-bottom: 20px;
input {
border: 1px solid $border-dark;
}
}
}
}
}
}
.container-right {
> .recently-viewed {
padding-top: 20px;
}
}
.rango-star {
cursor: default;
}
.customer-options{
float: right;
padding: 20px;
height: 150px;
overflow-y: scroll;
width: 200px !important;
.customer-session {
label {
font-size: 18px;
color: $light-grey-clr;
text-transform: uppercase;
}
}
li {
padding: 3px 0;
}
a {
font-size: 16px;
}
}
.cart-btn-collection {
button[type=button].btn-secondary {
border: none;
font-size: 16px;
color: $dark-color;
background-color: $light-color;
:hover {
color: $dark-color !important;
background-color: $light-color !important;
}
:focus,
:active {
outline: none;
box-shadow: none;
}
#cart-count {
left: -20px;
top: -15px;
padding: 4px;
min-width: 20px;
border-radius: 50%;
position: relative;
background: #21A179;
}
}
}
.mini-cart-container {
#mini-cart {
outline: none;
box-shadow: none;
text-decoration: unset;
.badge {
@include border-radius(50%);
top: -15px;
left: -10px;
padding: 4px;
min-width: 20px;
position: relative;
background: $button-primary-bg;
}
.cart-text {
top: -2px;
left: -10px;
position: relative;
}
}
}
.dropdown-icon-custom {
.mini-cart-content {
display: inline-block;
}
}
.dropdown-icon-custom::after {
top: -5px;
color: black;
font-size: 16px;
position: relative;
display: inline-block;
margin-left: 1rem;
vertical-align: middle;
content: "";
border-top: .3em solid;
border-right: .3em solid transparent;
border-bottom: 0;
border-left: .3em solid transparent;
}
#cart-modal-content {
top: 44px;
z-index: 100;
width: 350px;
left: -230px;
display: none;
position: absolute;
.close {
top: 12px;
right: 15px;
padding: 0px;
position: relative;
}
.small-card-container {
margin: 0;
width: 100%;
padding: 0;
.product-image-container {
margin: 10px 10px 10px 0px;
border: 1px solid $border-light;
}
input {
width: 30px;
text-align: center;
font-weight: 500;
border: 1px solid $border-light;
}
.card-total-price {
float: right;
}
.rango-close {
top: -10px;
left: -10px;
padding: 4px;
font-size: 10px;
max-height: 17px;
line-height: 1.3rem;
text-align: center;
position: absolute;
border-radius: 50%;
color: $light-color;
background: $dark-color;
}
}
.small-card-container:hover {
box-shadow: none;
}
.modal-footer {
padding-right: 15px;
}
}
.cart-details {
padding: 40px 20px;
h1 {
margin-bottom: 30px;
}
.cart-details-header {
h2 {
margin-bottom: 20px;
}
.cart-header {
max-height: 45px;
margin-bottom: 20px;
border-bottom: 2px solid $border-general;
> h3 {
font-size: 16px;
font-weight: 600;
}
}
}
.cart-content {
padding: 0;
.product-quantity {
.quantity {
label {
display: none !important;
}
}
}
.cart-item-list {
> .row {
margin-bottom: 20px;
}
> .row:last-child {
padding-bottom: 20px;
border-bottom: 2px solid $border-general;
}
.product-image-container {
padding: 0;
max-width: 110px;
max-height: 110px;
}
}
.product-details-content {
padding-left: 20px;
.row {
font-size: 16px;
.card-current-price {
font-size: 18px;
}
}
> .row:not(:last-child) {
margin-bottom: 10px;
}
}
}
.continue-shopping-btn {
@extend .theme-btn;
max-width: 156px;
margin-top: 20px;
margin-left: 15px;
}
}
.account-content {
.sidebar {
border-right: 1px solid $border-general;
.customer-sidebar {
.account-details {
text-align: center;
padding: 15px 20px;
.customer-name {
width: 60px;
height: 60px;
margin: 0 auto;
font-size: 24px;
margin-bottom: 5px;
display: inline-block;
}
.customer-name-text {
color: $font-color;
}
.customer-email {
color: $light-grey-clr;
}
}
.navigation {
width: 100%;
margin-top: 25px;
li {
width: 99%;
padding: 15px 20px;
&:hover {
color: $link-color;
}
&.active {
color: $link-color;
background-color: $light-background;
}
}
}
}
}
.account-layout {
color: $font-color;
padding: 15px 20px;
padding-bottom: 60px;
.account-head {
margin-bottom: 20px;
}
.account-heading {
font-size: 24px;
font-weight: 600;
}
.account-table-content {
> .row,
.control-group {
margin-bottom: 30px;
}
label {
font-weight: 500;
}
input,
select {
width: 100%;
resize: none;
font-size: 16px;
padding: 5px 16px;
border-radius: 1px;
background: $btn-text-color;
border: 1px solid $border-common;
}
input:active,
input:focus,
select:focus,
select:active {
border-color: $theme-color;
}
.address-holder {
margin-top: 30px;
> div {
margin: 5px 0;
padding-left: 0;
}
.card {
height: 100%;
ul {
li {
display: inline-block;
}
}
}
}
.account-items-list {
margin-bottom: 40px;
}
}
.account-items-list{
&.wishlist-container {
.col-3 {
padding-left: 0;
#product-card-new {
margin: 0;
}
}
}
}
.max-sm-img-dimention {
max-width: 110px;
max-height: 110px;
img {
width: 100%;
height: 100%;
}
}
.reviews-container {
> .row {
margin-bottom: 40px;
}
}
.bottom-toolbar {
.pagination {
margin: 0;
a:not([href]) {
&.next,
&.previous {
cursor: not-allowed;
color: $light-grey-clr !important;
}
}
.page-item {
@extend .theme-btn;
@extend .light;
@extend .unset;
@extend .fs16;
border: none !important;
box-shadow: unset !important;
-webkit-box-shadow: unset !important;
&.active {
border: 1px solid $theme-color;
color: $theme-color !important;
}
&.next,
&.previous {
.angle-right-icon,
.angle-left-icon {
margin: 0;
speak: none;
line-height: 1;
font-size: 24px;
background: unset;
text-align: center;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
-webkit-font-smoothing: antialiased;
font-family: 'Webkul Rango' !important;
}
}
&.next {
.angle-right-icon::before {
content: "\E908";
}
}
&.previous {
.angle-left-icon::before {
content: "\E907";
}
}
}
}
}
}
}
.alert {
right: 15px !important;
top: 50px !important;
z-index: 100 !important;
font-size: 14px !important;
position: fixed !important;
max-width: 400px !important;
min-height: 40px !important;
max-height: 100px !important;
}
#home-right-bar-container {
&.col-12 {
.category-container {
padding: 30px 0;
}
}
}
.wishlist-icon {
vertical-align: middle;
i {
color: $button-danger;
}
i:hover::before {
content: "\E93D";
}
}
.checkout-process {
padding: 40px 20px;
.col-7 {
> div {
width: 100%;
}
}
h1 {
font-weight: 600;
margin-bottom: 30px;
}
.scrollable {
padding-top: 25px;
}
.order-summary-container {
.theme-btn {
display: none;
}
&.bottom {
h3 {
display: none;
}
}
}
input[type=radio] {
transform: scale(1.3);
-ms-transform: scale(1.3);
-webkit-transform: scale(1.3);
}
}
.address-container {
.address-holder {
margin-top: 15px;
> div {
margin: 5px 0;
padding-left: 0;
}
.card {
height: 100%;
ul {
li {
display: inline-block;
}
}
}
}
}
.custom-form {
.row {
margin-bottom: 30px;
}
label {
font-weight: 500;
}
input[type=text],
input[type=password],
input[type=search],
select {
width: 100%;
resize: none;
font-size: 16px;
padding: 5px 16px;
border-radius: 1px;
background: $btn-text-color;
border: 1px solid $border-common;
}
input:active,
input:focus,
select:focus,
select:active {
border-color: $theme-color;
}
}
.shipping-form,
.payment-form,
.review-checkout-conainer {
h3 {
margin-bottom: 30px;
}
.shipping-methods,
.payment-methods {
> .row {
margin-bottom: 20px;
}
}
.address-summary {
li {
display: inline-block;
}
}
.cart-item-list {
padding: 20px 0;
border-bottom: 1px solid $border-general;
h4 {
padding-bottom: 20px;
border-bottom: 1px solid $border-general;
margin-bottom: 20px !important;
}
> .row:first-child {
margin-top: 50px;
}
> .row {
margin-bottom: 20px;
}
}
.cart-details {
padding: 40px 0;
}
}
.order-summary-container {
padding-top: 3%;
> div {
width: 100%;
}
.order-summary {
padding: 25px 30px;
border: 1px solid $border-general;
> h3 {
margin-bottom: 20px;
}
.row {
> .col-8,
.col-4 {
padding-right: 0;
}
}
> .row:not(:last-child) {
margin-bottom: 10px;
}
#grand-total-detail {
margin-top: 15px;
padding-top: 15px;
margin-bottom: 25px;
border-top: 1px solid $border-general;
}
}
}
.order-success-content {
padding: 40px 20px;
font-size: 16px;
}
.table {
.badge {
padding: 10px;
}
}
.search-result-status {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.slides-container {
top: -70px;
position: relative;
}