From 835bbbbf9d39f982a31b62841486fa032129e924 Mon Sep 17 00:00:00 2001 From: "shubhammehrotra.symfony@webkul.com" Date: Wed, 8 Jan 2020 17:24:24 +0530 Subject: [PATCH 1/2] updates --- database/seeds/DatabaseSeeder.php | 4 +- .../publishable/assets/css/velocity.css | 131 ++++++++++-------- .../src/Resources/assets/sass/app.scss | 62 ++++----- .../Resources/assets/sass/components/app.scss | 2 + .../assets/sass/components/footer.scss | 21 ++- .../assets/sass/components/home.scss | 4 +- .../assets/sass/components/media.scss | 42 ++++++ .../Resources/views/UI/particals.blade.php | 4 +- .../account/partials/sidemenu.blade.php | 1 + .../signup/forgot-password.blade.php | 89 ++++++------ .../views/customers/signup/index.blade.php | 1 - .../footer/footer-links/footer-left.blade.php | 2 +- .../footer-links/footer-middle.blade.php | 6 +- .../footer-links/footer-right.blade.php | 14 +- .../views/layouts/footer/index.blade.php | 1 - .../footer/newsletter-subscription.blade.php | 51 +++---- .../views/layouts/header/index.blade.php | 3 +- 17 files changed, 254 insertions(+), 184 deletions(-) create mode 100644 packages/Webkul/Velocity/src/Resources/assets/sass/components/media.scss diff --git a/database/seeds/DatabaseSeeder.php b/database/seeds/DatabaseSeeder.php index 4ba37fd10..4b94fd2d1 100755 --- a/database/seeds/DatabaseSeeder.php +++ b/database/seeds/DatabaseSeeder.php @@ -1,8 +1,8 @@ call(BagistoDatabaseSeeder::class); - $this->call(VelocityDatabaseSeeder::class); + $this->call(VelocityMetaDataSeeder::class); } } diff --git a/packages/Webkul/Velocity/publishable/assets/css/velocity.css b/packages/Webkul/Velocity/publishable/assets/css/velocity.css index 9044abc29..b78ee354d 100644 --- a/packages/Webkul/Velocity/publishable/assets/css/velocity.css +++ b/packages/Webkul/Velocity/publishable/assets/css/velocity.css @@ -7,31 +7,11 @@ background-image: url("../images/Icon-Velocity.svg"); } -.router-link-active .velocity-icon, -.active .velocity-icon { +.router-link-active .velocity-icon, .active .velocity-icon { background-image: url("../images/Icon-Velocity-Active.svg"); } -.router-link-active.velocity-icon, -.active.velocity-icon { - background-image: url("../images/Icon-Velocity-Active.svg"); -} - -.velocity-icon { - width: 60px; - height: 55px; - display: inline-block; - background-size: cover; - background-image: url("../images/Icon-Velocity.svg"); -} - -.router-link-active .velocity-icon, -.active .velocity-icon { - background-image: url("../images/Icon-Velocity-Active.svg"); -} - -.router-link-active.velocity-icon, -.active.velocity-icon { +.router-link-active.velocity-icon, .active.velocity-icon { background-image: url("../images/Icon-Velocity-Active.svg"); } @@ -700,6 +680,22 @@ content: "\E99F"; } +.velocity-icon { + width: 60px; + height: 55px; + display: inline-block; + background-size: cover; + background-image: url("../images/Icon-Velocity.svg"); +} + +.router-link-active .velocity-icon, .active .velocity-icon { + background-image: url("../images/Icon-Velocity-Active.svg"); +} + +.router-link-active.velocity-icon, .active.velocity-icon { + background-image: url("../images/Icon-Velocity-Active.svg"); +} + .qty-btn { height: 36px; display: inline-block; @@ -1191,6 +1187,7 @@ } .customer-options { + top: 40px; float: right; padding: 20px; height: 150px; @@ -1206,6 +1203,7 @@ .customer-options li { padding: 3px 0; + height: unset !important; } .customer-options a { @@ -2632,8 +2630,6 @@ header #search-form > *:focus { height: 100%; padding: 20px; border: none; - box-shadow: 0 6px 14px 0 rgba(0, 0, 0, 0.14); - -webkit-box-shadow: 0 6px 14px 0 rgba(0, 0, 0, 0.14); } .hot-categories-container .hot-category-wrapper .velocity-divide-page .left { @@ -2955,22 +2951,25 @@ body::after { .footer .footer-content .newsletter-subscription .newsletter-wrapper input.subscribe-field { width: 300px; - height: 38px; border: none; + height: 38px; font-size: 18px; + max-width: 250px; padding: 10px 20px; color: rgba(0, 0, 0, 0.83); } .footer .footer-content .newsletter-subscription .newsletter-wrapper button.subscribe-btn { - left: -1px; + left: -2px; height: 38px; font-size: 18px; + max-width: 110px; line-height: 10px; position: relative; } .footer .footer-content .newsletter-subscription .newsletter-wrapper .social-icons { + height: 100%; padding: 20px 0; color: #FFFFFF; } @@ -2993,7 +2992,7 @@ body::after { } .footer .footer-content .newsletter-subscription .newsletter-wrapper .subscribe-newsletter { - padding: 30px 0; + padding: 25px 0 30px 0; } .footer .footer-content > .row { @@ -3013,7 +3012,15 @@ body::after { line-height: 2.5rem; } -.footer .footer-content > .row .footer-ct-content > div li a { +.footer .footer-content > .row .footer-ct-content > div ul { + margin-bottom: 0px; +} + +.footer .footer-content > .row .footer-ct-content > div ul li { + margin-bottom: 5px; +} + +.footer .footer-content > .row .footer-ct-content > div ul li a { color: rgba(255, 255, 255, 0.83); } @@ -4005,6 +4012,21 @@ button[disabled] { vertical-align: middle; } +@media only screen and (max-width: 1100px) { + .footer .footer-content .newsletter-subscription .newsletter-wrapper .social-icons { + width: 100%; + padding: 5px 0; + } + .footer .footer-content .newsletter-subscription .newsletter-wrapper .subscribe-newsletter { + width: 100%; + padding: 10px 0; + text-align: center; + } + .footer .footer-content .footer-statics > div:not(:last-child) { + margin-bottom: 30px; + } +} + /*! * Bootstrap v3.4.1 (https://getbootstrap.com/) * Copyright 2011-2019 Twitter, Inc. @@ -12173,15 +12195,23 @@ body { #top #account .select-icon { top: 0px; - left: -3px; + left: 0px; + padding-left: 5px; } #top #account .welcome-content { - width: 150px; + float: right; + display: table; + min-width: 150px; cursor: pointer; text-align: right; } +#top #account .welcome-content * { + display: table-cell; + vertical-align: middle; +} + #top #account + .account-modal { height: 135px; } @@ -12194,16 +12224,6 @@ body { height: 100%; } -#top > div:last-child .welcome-content { - float: right; - display: table; -} - -#top > div:last-child .welcome-content * { - display: table-cell; - vertical-align: middle; -} - .dropdown-menu { border-top: 3px solid #269c77; border-radius: 0px; @@ -12315,11 +12335,15 @@ header .logo { } header #search-form { - height: 35px; + height: 40px; margin: 5px 0px; background: #FFFFFF; } +header #search-form * { + height: 100%; +} + header #search-form .btn-group, header #search-form .quantity { max-width: 550px; } @@ -12330,7 +12354,7 @@ header #search-form .btn-group .selectdiv, header #search-form .quantity .select header #search-form .btn-group .selectdiv:before, header #search-form .quantity .selectdiv:before { top: 13px; - left: 100px; + left: 108px; z-index: 10; font-size: 16px; content: "\E906"; @@ -12366,11 +12390,6 @@ header #search-form input { border-left: 1px solid #CCCCCC; } -header #search-form .btn, header #search-form .quantity button, .quantity header #search-form button, -header #search-form .quantity input, .quantity header #search-form input { - height: 40px; -} - header #search-form .btn:hover, header #search-form .quantity button:hover, .quantity header #search-form button:hover, header #search-form .quantity input:hover, .quantity header #search-form input:hover { text-decoration: none; @@ -12643,15 +12662,15 @@ header .dropdown-menu-large .dropdown-footer .checkout-link { } #nav-menu .secondary-navbar li a { - padding: 5px 20px 5px 5px; - font-family: SourceSansPro-Semibold; - font-size: 16px; - color: #FFFFFF; - letter-spacing: 0; display: block; - position: relative; - text-decoration: none; cursor: pointer; + font-size: 16px; + font-weight: 600; + letter-spacing: 0; + position: relative; + color: #FFFFFF; + text-decoration: none; + padding: 5px 20px 5px 5px; } .viewed-products .viewed-products-listing { @@ -12780,10 +12799,6 @@ i.within-circle { height: 50px; } -.mb60 { - margin-bottom: 60px; -} - .center_div { margin: 0 auto; width: 80%; diff --git a/packages/Webkul/Velocity/src/Resources/assets/sass/app.scss b/packages/Webkul/Velocity/src/Resources/assets/sass/app.scss index 7424949cf..f9c511bf3 100755 --- a/packages/Webkul/Velocity/src/Resources/assets/sass/app.scss +++ b/packages/Webkul/Velocity/src/Resources/assets/sass/app.scss @@ -1,13 +1,14 @@ -@import "icons"; -@import "variables"; -@import "mixins"; @import "rango"; +@import "icons"; +@import "mixins"; +@import "variables"; @import "components/UI"; @import "components/app"; @import "components/home"; @import "components/footer"; @import "components/shared"; @import "components/product-view"; +@import "components/media"; @import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap"; @@ -179,15 +180,24 @@ body { .select-icon { top: 0px; - left: -3px; + left: 0px; + padding-left: 5px; } .welcome-content { @extend .unselectable; - width: 150px; + + float: right; + display: table; + min-width: 150px; cursor: pointer; text-align: right; + + * { + display: table-cell; + vertical-align: middle; + } } + .account-modal { @@ -201,16 +211,6 @@ body { * { height: 100%; } - - .welcome-content { - float: right; - display: table; - - * { - display: table-cell; - vertical-align: middle; - } - } } } @@ -330,10 +330,14 @@ header { } #search-form { - height: 35px; + height: 40px; margin: 5px 0px; background: $white-color; + * { + height: 100%; + } + .btn-group { max-width: 550px; @@ -345,7 +349,7 @@ header { .selectdiv:before { top: 13px; - left: 100px; + left: 108px; z-index: 10; font-size: 16px; content: "\E906"; @@ -385,8 +389,6 @@ header { } .btn { - height: 40px; - &:hover { text-decoration: none; } @@ -631,10 +633,6 @@ header { left: 283px; width: 250px; height: 350px; - - .child-category { - - } } } } @@ -656,15 +654,15 @@ header { float: left; a { - padding: 5px 20px 5px 5px; - font-family: SourceSansPro-Semibold; - font-size: 16px; - color: #FFFFFF; - letter-spacing: 0; display: block; - position: relative; - text-decoration: none; cursor: pointer; + font-size: 16px; + font-weight: 600; + letter-spacing: 0; + position: relative; + color: $white-color; + text-decoration: none; + padding: 5px 20px 5px 5px; } } } @@ -795,10 +793,6 @@ i.within-circle { height: 50px; } -.mb60 { - margin-bottom: 60px; -} - .center_div { margin: 0 auto; width: 80%/* value of your choice which suits your alignment */ diff --git a/packages/Webkul/Velocity/src/Resources/assets/sass/components/app.scss b/packages/Webkul/Velocity/src/Resources/assets/sass/components/app.scss index 2c279458d..87473c5a8 100644 --- a/packages/Webkul/Velocity/src/Resources/assets/sass/components/app.scss +++ b/packages/Webkul/Velocity/src/Resources/assets/sass/components/app.scss @@ -405,6 +405,7 @@ } .customer-options{ + top: 40px; float: right; padding: 20px; height: 150px; @@ -422,6 +423,7 @@ li { padding: 3px 0; + height: unset !important; } a { diff --git a/packages/Webkul/Velocity/src/Resources/assets/sass/components/footer.scss b/packages/Webkul/Velocity/src/Resources/assets/sass/components/footer.scss index 0063dd0c6..eff6f5e61 100644 --- a/packages/Webkul/Velocity/src/Resources/assets/sass/components/footer.scss +++ b/packages/Webkul/Velocity/src/Resources/assets/sass/components/footer.scss @@ -19,22 +19,25 @@ input.subscribe-field { width: 300px; - height: 38px; border: none; + height: 38px; font-size: 18px; + max-width: 250px; padding: 10px 20px; color: rgba(0,0,0,0.83); } button.subscribe-btn { - left: -1px; + left: -2px; height: 38px; font-size: 18px; + max-width: 110px; line-height: 10px; position: relative; } .social-icons { + height: 100%; padding: 20px 0; color: $light-color; @@ -57,7 +60,7 @@ } .subscribe-newsletter { - padding: 30px 0; + padding: 25px 0 30px 0; } } } @@ -78,8 +81,16 @@ font-size: 14px; line-height: 2.5rem; - li a { - color: rgba(255,255,255,0.83); + ul { + margin-bottom: 0px; + + li { + margin-bottom: 5px; + + a { + color: rgba(255,255,255,0.83); + } + } } } } diff --git a/packages/Webkul/Velocity/src/Resources/assets/sass/components/home.scss b/packages/Webkul/Velocity/src/Resources/assets/sass/components/home.scss index 5f5d49705..c683fd89e 100644 --- a/packages/Webkul/Velocity/src/Resources/assets/sass/components/home.scss +++ b/packages/Webkul/Velocity/src/Resources/assets/sass/components/home.scss @@ -358,8 +358,8 @@ header #search-form > *:focus { height: 100%; padding: 20px; border: none; - box-shadow: 0 6px 14px 0 rgba(0, 0, 0, 0.14); - -webkit-box-shadow: 0 6px 14px 0 rgba(0, 0, 0, 0.14); + // box-shadow: 0 6px 14px 0 rgba(0, 0, 0, 0.14); + // -webkit-box-shadow: 0 6px 14px 0 rgba(0, 0, 0, 0.14); } .velocity-divide-page { diff --git a/packages/Webkul/Velocity/src/Resources/assets/sass/components/media.scss b/packages/Webkul/Velocity/src/Resources/assets/sass/components/media.scss new file mode 100644 index 000000000..dae628f2d --- /dev/null +++ b/packages/Webkul/Velocity/src/Resources/assets/sass/components/media.scss @@ -0,0 +1,42 @@ +@media only screen and (max-width: 1100px) { + .footer { + .footer-content { + .newsletter-subscription { + .newsletter-wrapper { + .social-icons { + width: 100%; + padding: 5px 0; + } + + .subscribe-newsletter { + width: 100%; + padding: 10px 0; + text-align: center; + } + } + } + + .footer-statics { + > div:not(:last-child) { + margin-bottom: 30px; + } + } + } + } +} + +@media only screen and (max-width: 992px) { + +} + +@media only screen and (max-width: 768px) { + // body { + // display: none; + // } +} + +@media only screen and (max-width: 576px) { + // body { + // display: block; + // } +} \ No newline at end of file diff --git a/packages/Webkul/Velocity/src/Resources/views/UI/particals.blade.php b/packages/Webkul/Velocity/src/Resources/views/UI/particals.blade.php index f3ff627e9..9153db099 100644 --- a/packages/Webkul/Velocity/src/Resources/views/UI/particals.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/UI/particals.blade.php @@ -27,10 +27,10 @@ \ No newline at end of file diff --git a/packages/Webkul/Velocity/src/Resources/assets/js/UI/components/sidebar.vue b/packages/Webkul/Velocity/src/Resources/assets/js/UI/components/sidebar.vue index 359f9c8ce..d91b79537 100644 --- a/packages/Webkul/Velocity/src/Resources/assets/js/UI/components/sidebar.vue +++ b/packages/Webkul/Velocity/src/Resources/assets/js/UI/components/sidebar.vue @@ -15,10 +15,11 @@ @mouseout="toggleSidebar(id, $event, 'mouseout')" @mouseover="toggleSidebar(id, $event, 'mouseover')"> + + :href="`${url}/${slicedCategories.parentSlug ? slicedCategories.parentSlug + '/' : ''}${category['translations'][0].slug}`">
+ :parent-slug="category.parentSlug ? category.parentSlug : category['translations'][0].slug">
@@ -61,6 +63,7 @@ 'id', 'url', 'addClass', + 'parentSlug', 'categories', 'mainSidebar', 'categoryCount' @@ -76,6 +79,9 @@ slicedCategories = this.categories.slice(0, categoryCount); } + if (this.parentSlug) + slicedCategories['parentSlug'] = this.parentSlug; + return { slicedCategories, sidebarLevel: Math.floor(Math.random() * 1000), diff --git a/packages/Webkul/Velocity/src/Resources/assets/sass/_variables.scss b/packages/Webkul/Velocity/src/Resources/assets/sass/_variables.scss index e363df7c7..e42ac06dd 100755 --- a/packages/Webkul/Velocity/src/Resources/assets/sass/_variables.scss +++ b/packages/Webkul/Velocity/src/Resources/assets/sass/_variables.scss @@ -23,6 +23,7 @@ $grey-clr: rgba(0,0,0,0.53); $light-grey-clr: rgb(158, 158, 158); $light-background: #F7F7F9; $sidebar-width: 230px; +$box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23); $font-family-pro: 'Source Sans Pro', sans-serif; $font-family-regular: 'SourceSansPro-Regular'; diff --git a/packages/Webkul/Velocity/src/Resources/assets/sass/admin.scss b/packages/Webkul/Velocity/src/Resources/assets/sass/admin.scss index 5a36bd684..998a57a1a 100644 --- a/packages/Webkul/Velocity/src/Resources/assets/sass/admin.scss +++ b/packages/Webkul/Velocity/src/Resources/assets/sass/admin.scss @@ -11,12 +11,6 @@ font-style: normal; } -.wk-icon { - font-size: 20px; - font-weight: 400; - text-align: center; - color: #0041ff; -} [class^="rango-"], [class*=" rango-"] { /* use !important to prevent issues with browser extensions that change fonts */ diff --git a/packages/Webkul/Velocity/src/Resources/assets/sass/app.scss b/packages/Webkul/Velocity/src/Resources/assets/sass/app.scss index f9c511bf3..4792e19f8 100755 --- a/packages/Webkul/Velocity/src/Resources/assets/sass/app.scss +++ b/packages/Webkul/Velocity/src/Resources/assets/sass/app.scss @@ -201,7 +201,21 @@ body { } + .account-modal { - height: 135px; + @extend .modal-dialog; + + right: 10px; + z-index: 100; + height: max-content; + width: 290px !important; + position: absolute !important; + + .theme-btn { + padding: .5rem .9rem; + } + + .modal-footer { + justify-content: unset; + } } } @@ -333,6 +347,7 @@ header { height: 40px; margin: 5px 0px; background: $white-color; + padding: 4px 1px 0px 0px; * { height: 100%; diff --git a/packages/Webkul/Velocity/src/Resources/assets/sass/components/UI.scss b/packages/Webkul/Velocity/src/Resources/assets/sass/components/UI.scss index 501a7726f..d9baf2f84 100644 --- a/packages/Webkul/Velocity/src/Resources/assets/sass/components/UI.scss +++ b/packages/Webkul/Velocity/src/Resources/assets/sass/components/UI.scss @@ -30,11 +30,11 @@ } .btn-add-to-cart { - padding: 8px; - color: #fff !important; + padding: 8px !important; border-radius: 0px !important; - border-color: #26A37C !important; - background-color: #26A37C !important; + color: $white-color !important; + border-color: $theme-color !important; + background-color: $theme-color !important; &.large { padding: 12px 18px; diff --git a/packages/Webkul/Velocity/src/Resources/assets/sass/components/app.scss b/packages/Webkul/Velocity/src/Resources/assets/sass/components/app.scss index 87473c5a8..4a84d31fb 100644 --- a/packages/Webkul/Velocity/src/Resources/assets/sass/components/app.scss +++ b/packages/Webkul/Velocity/src/Resources/assets/sass/components/app.scss @@ -511,7 +511,7 @@ top: 44px; z-index: 100; width: 350px; - left: -230px; + left: -265px; position: absolute; .close { @@ -521,6 +521,14 @@ position: relative; } + .mini-cart-container { + height: 100%; + font-size: 14px; + max-height: 200px; + overflow-y: scroll; + padding: 10px 15px 0 20px; + } + .small-card-container { margin: 0; width: 100%; @@ -581,6 +589,7 @@ .cart-header { max-height: 45px; margin-bottom: 20px; + padding-bottom: 20px !important; border-bottom: 2px solid $border-general; > h3 { @@ -1085,6 +1094,7 @@ .order-summary-container { padding-top: 25px; + height: max-content; max-width: 500px !important; > div { @@ -1172,6 +1182,7 @@ } .regular-price { + font-weight: 500; margin-right: 10px; text-decoration: line-through; } @@ -1194,6 +1205,8 @@ .method-sticker { font-size: 13px; padding: 4px 8px; + margin-right: 3px; + margin-bottom: 3px; text-align: center; border-radius: 1px; display: inline-block; @@ -1202,10 +1215,11 @@ } .sidebar { + z-index: 1000000; width: $sidebar-width; .category-content { - margin-bottom: 10px; + // margin-bottom: 10px; .category-title { top: -1px; @@ -1246,8 +1260,57 @@ } } +.category-list-container { + z-index: 10; + padding: 0px !important; + background: $white-color; + position: absolute !important; + box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); + + .category { + @extend .cursor-pointer; + + width: 100%; + line-height: 2.5rem; + display: inline-block; + + span { + top: -4px; + position: relative; + } + } + + li { + padding: 7px 0 5px 15px; + } + + li:hover { + background: $border-light; + } + + .sub-category-container { + // position: relative; + } + + .sub-categories { + top: 0px; + left: 100%; + z-index: 100; + padding-top: 10px; + position: absolute; + background: $light-color; + border-left: 1px solid $border-common; + box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); + + li:nth-last-of-type(1) { + margin-bottom: 10px; + } + } +} + #sidebar-level-0 { display: none; + z-index: 100000; border-top: 1px solid $border-common; } @@ -1570,6 +1633,10 @@ outline: none; box-shadow: none; } + + .VueCarousel-dot { + padding: 5px !important; + } } .VueCarousel-dot--active { diff --git a/packages/Webkul/Velocity/src/Resources/assets/sass/components/home.scss b/packages/Webkul/Velocity/src/Resources/assets/sass/components/home.scss index c683fd89e..e7f80ec37 100644 --- a/packages/Webkul/Velocity/src/Resources/assets/sass/components/home.scss +++ b/packages/Webkul/Velocity/src/Resources/assets/sass/components/home.scss @@ -9,71 +9,6 @@ body { } } -.account-modal { - @extend .modal-dialog; - - right: 10px; - z-index: 100; - width: 350px !important; - position: absolute !important; - - .theme-btn { - padding: .5rem .9rem; - } - - .modal-footer { - .text-left { - padding-left: 5px; - } - } -} - -.category-list-container { - z-index: 10; - padding: 0px !important; - background: $white-color; - position: absolute !important; - box-shadow: inset -1px 0 0 0 $border-light; - - .category { - @extend .cursor-pointer; - - width: 100%; - line-height: 2.5rem; - display: inline-block; - - span { - top: -4px; - position: relative; - } - } -} - -.category-list-container li { - padding: 7px 0 5px 15px; -} - -.category-list-container li:hover { - background: $border-light; -} - -.category-list-container { - .sub-category-container { - position: relative; - } - - .sub-categories { - top: -40px; - left: 100%; - z-index: 100; - padding-top: 10px; - position: absolute; - background: $light-color; - border-left: 1px solid $border-common; - box-shadow: inset -1px 0 0 0 $border-light; - } -} - .root-category-menu { border-bottom: solid 1px #d8e6ed; } @@ -352,7 +287,7 @@ header #search-form > *:focus { .hot-categories-container { .hot-category-wrapper { - padding: 0 10px 15px 0; + padding: 0 10px 0 0; .card { height: 100%; @@ -381,11 +316,11 @@ header #search-form > *:focus { } .hot-category-wrapper:nth-last-child(2) { - padding: 15px 0 15px 0px; + padding: 0 0 0 0px; } .hot-category-wrapper:last-child { - padding: 15px 0 15px 10px; + padding: 0 0 0 10px; } } @@ -427,8 +362,7 @@ header #search-form > *:focus { } .card-description { - padding: 25px; - margin-top: 15px; + padding: 10px 20px; } } @@ -513,6 +447,7 @@ header #search-form > *:focus { .content-list { margin: 0; width: 100%; + height: 42px; text-align: left; list-style: none; position: relative; @@ -522,7 +457,6 @@ header #search-form > *:focus { ul { width: 100%; height: 100%; - padding-left: 10px; display: inline-flex; background-color: $link-color; @@ -532,13 +466,17 @@ header #search-form > *:focus { cursor: pointer; font-size: 16px; font-weight: 600; + padding: 8px 15px; letter-spacing: 0; position: relative; color: $white-color; text-decoration: none; - padding: 8px 20px 8px 5px; } } + + li:hover { + background-color: #42719a; + } } } } diff --git a/packages/Webkul/Velocity/src/Resources/assets/sass/components/media.scss b/packages/Webkul/Velocity/src/Resources/assets/sass/components/media.scss index dae628f2d..b781f35dc 100644 --- a/packages/Webkul/Velocity/src/Resources/assets/sass/components/media.scss +++ b/packages/Webkul/Velocity/src/Resources/assets/sass/components/media.scss @@ -6,6 +6,7 @@ .social-icons { width: 100%; padding: 5px 0; + text-align: center !important; } .subscribe-newsletter { diff --git a/packages/Webkul/Velocity/src/Resources/assets/sass/components/product-view.scss b/packages/Webkul/Velocity/src/Resources/assets/sass/components/product-view.scss index 518317de6..0cd1f4608 100644 --- a/packages/Webkul/Velocity/src/Resources/assets/sass/components/product-view.scss +++ b/packages/Webkul/Velocity/src/Resources/assets/sass/components/product-view.scss @@ -1,5 +1,6 @@ .product-detail { padding-top: 20px; + margin-bottom: 60px; .magnifier { > img { @@ -31,6 +32,8 @@ } .reviews { + vertical-align: top; + > div { display: inline-block; } @@ -206,4 +209,15 @@ vertical-align: middle; } } + +} + +.store-meta-images { + margin-top: 20px; + + img { + width: 100%; + height: 100%; + max-height: 300px; + } } \ No newline at end of file diff --git a/packages/Webkul/Velocity/src/Resources/assets/sass/components/shared.scss b/packages/Webkul/Velocity/src/Resources/assets/sass/components/shared.scss index 0a6a0b9a0..25ee9b5bd 100644 --- a/packages/Webkul/Velocity/src/Resources/assets/sass/components/shared.scss +++ b/packages/Webkul/Velocity/src/Resources/assets/sass/components/shared.scss @@ -187,6 +187,9 @@ .cursor-pointer { cursor: pointer; } +.cursor-default { + cursor: default; +} .grey { color: rgb(158, 158, 158); @@ -499,6 +502,12 @@ .small-card-container { cursor: pointer; margin-bottom: 10px; + margin-left: 0 !important; + margin-right: 0 !important; + + .material-icons { + font-size: 16px; + } .product-image-container { padding: 0; @@ -516,6 +525,11 @@ display: inline-block; padding: 10px 0 !important; } + + .sticker, + .regular-price { + display: none; + } } .small-card-container:hover { @@ -655,6 +669,8 @@ a { .scrollable { max-height: 100vh; overflow-y: scroll; + scrollbar-width: none; + -ms-overflow-style: none; } .scrollable::-webkit-scrollbar { @@ -716,5 +732,8 @@ button[disabled] { font-variant: normal; -webkit-font-smoothing: antialiased; font-family: 'Webkul Rango' !important; +} +.max-height-350 { + max-height: 350px; } \ No newline at end of file diff --git a/packages/Webkul/Velocity/src/Resources/lang/en/app.php b/packages/Webkul/Velocity/src/Resources/lang/en/app.php index 7427a3a1f..040240502 100644 --- a/packages/Webkul/Velocity/src/Resources/lang/en/app.php +++ b/packages/Webkul/Velocity/src/Resources/lang/en/app.php @@ -95,13 +95,14 @@ return [ 'subscription-content' => 'Subscription bar Content', 'activate-slider' => 'Activate Slider', 'sidebar-categories' => 'Sidebar Categories', - 'footer-left-raw-content' => 'We love to craft softwares and solve the real world problems with the binaries. We are highly committed to our goals. We invest our resources to create world class easy to use softwares and applications for the enterprise business with the top notch, on the edge technology expertise.', + 'footer-left-raw-content' => '

We love to craft softwares and solve the real world problems with the binaries. We are highly committed to our goals. We invest our resources to create world class easy to use softwares and applications for the enterprise business with the top notch, on the edge technology expertise.

', 'footer-middle-content' => 'Footer Middle Content', 'update-meta-data' => 'Update Meta Data', 'advertisement-four' => 'Advertisement Four Images', 'advertisement-three' => 'Advertisement Three Images', 'advertisement-two' => 'Advertisement Two Images', 'advertisement-one' => 'Advertisement One Images', + 'product-view-image' => 'Product View Image', 'footer' => 'Footer', ], 'category' => [ diff --git a/packages/Webkul/Velocity/src/Resources/views/UI/particals.blade.php b/packages/Webkul/Velocity/src/Resources/views/UI/particals.blade.php index 9153db099..8c6c39c7e 100644 --- a/packages/Webkul/Velocity/src/Resources/views/UI/particals.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/UI/particals.blade.php @@ -1,5 +1,5 @@ diff --git a/packages/Webkul/Velocity/src/Resources/views/admin/meta-info/meta-data.blade.php b/packages/Webkul/Velocity/src/Resources/views/admin/meta-info/meta-data.blade.php index 40ff3913f..42074825e 100644 --- a/packages/Webkul/Velocity/src/Resources/views/admin/meta-info/meta-data.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/admin/meta-info/meta-data.blade.php @@ -121,6 +121,14 @@ input-name="images[1]"> + +
+ + + + +
diff --git a/packages/Webkul/Velocity/src/Resources/views/checkout/cart/mini-cart.blade.php b/packages/Webkul/Velocity/src/Resources/views/checkout/cart/mini-cart.blade.php index 356625872..ac48b0f26 100644 --- a/packages/Webkul/Velocity/src/Resources/views/checkout/cart/mini-cart.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/checkout/cart/mini-cart.blade.php @@ -16,7 +16,7 @@