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 aa44736c3..bb439ca78 100644 --- a/packages/Webkul/Velocity/src/Resources/assets/sass/components/UI.scss +++ b/packages/Webkul/Velocity/src/Resources/assets/sass/components/UI.scss @@ -157,39 +157,41 @@ } } - .sub-category { - border-top: 1px solid rgba(0,0,0,0.24); - border-bottom: 1px solid rgba(0,0,0,0.24); - font-weight: 520; - display: none; - letter-spacing: 0.2px; + // can work with layered navigation class + // .sub-category { + // border: 1px solid blue; + // border-top: 1px solid rgba(0,0,0,0.24); + // border-bottom: 1px solid rgba(0,0,0,0.24); + // font-weight: 520; + // display: none; + // letter-spacing: 0.2px; - .category-icon { - width: 25px; - height: 20px; - padding-right: 5px; - display: inline-block; + // .category-icon { + // width: 25px; + // height: 20px; + // padding-right: 5px; + // display: inline-block; - img { - width: 100%; - height: 100%; - vertical-align: text-top; - } - } + // img { + // width: 100%; + // height: 100%; + // vertical-align: text-top; + // } + // } - li { - font-size: 14px; - margin : 16px 0px 16px 15px; - font-weight: 400px; - i { - float: right; - font-size: 16px; - margin: 3px 20px 0px 0px; + // li { + // font-size: 14px; + // margin : 16px 0px 16px 15px; + // font-weight: 400px; + // i { + // float: right; + // font-size: 16px; + // margin: 3px 20px 0px 0px; - } - } - } + // } + // } + // } .greeting { display: table; @@ -220,6 +222,8 @@ line-height: 20px; font-weight: 530; border-top: 1px solid rgba(0,0,0,0.24); + border-bottom: 1px solid rgba(0,0,0,0.24); + li { font-size: 16px; margin : 16px 0px 16px 15px; @@ -227,14 +231,14 @@ } .layered-category{ - border-top: 1px solid rgba(0,0,0,0.24); - font-weight: 520; + font-weight: 501; letter-spacing: 0.2px; + margin: 16px 0px 0px 0px; .category-icon { - width: 25px; + width: 36px; height: 20px; - padding-right: 5px; + padding-left: 12px; display: inline-block; img { @@ -245,15 +249,22 @@ } li { - font-size: 14px; - margin : 16px 0px 16px 15px; - font-weight: 400px; + margin: 18px 0px 18px 5px; + font-size: 17px; + a { + span { + color: black; + font-size: 14px; + margin : 16px 0px 16px 15px !important; + font-weight: 400px; + } + } + + i { float: right; font-size: 16px; margin: 3px 20px 0px 0px; - - } } } 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 92c9db5ef..f7973f3a1 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 @@ -232,6 +232,53 @@ top: 60px; position: sticky; } + + .right { + .swatch-container { + margin-top: 10px; + display: inline-block; + + .swatch { + display: inline-block; + margin-right: 5px; + min-width: 40px; + height: 40px; + + span { + min-width: 38px; + height: 38px; + float: left; + border: 1px solid #C7C7C7; + border-radius: 3px; + line-height: 36px; + text-align: center; + cursor: pointer; + padding: 0 10px; + } + + img { + width: 38px; + height: 38px; + border: 1px solid #C7C7C7; + border-radius: 3px; + cursor: pointer; + background: rgb(242, 242, 242); + } + + input:checked + span, input:checked + img { + border: 1px solid #242424; + } + + input { + display: none; + } + } + + .no-options { + color: rgb(251, 57, 73); + } + } + } } } @@ -256,4 +303,5 @@ height: 100%; max-height: 300px; } -} \ No newline at end of file +} + diff --git a/packages/Webkul/Velocity/src/Resources/views/UI/shared/responsive-header.blade.php b/packages/Webkul/Velocity/src/Resources/views/UI/shared/responsive-header.blade.php index 7022c054c..75e5103da 100644 --- a/packages/Webkul/Velocity/src/Resources/views/UI/shared/responsive-header.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/UI/shared/responsive-header.blade.php @@ -1,24 +1,18 @@ +{!! view_render_event('bagisto.shop.layout.header.category.before') !!} + @php $velocityContent = app('Webkul\Velocity\Repositories\ContentRepository')->getAllContents(); + + $categories = []; + + foreach (app('Webkul\Category\Repositories\CategoryRepository')->getVisibleCategoryTree(core()->getCurrentChannel()->root_category_id) as $category) { + if ($category->slug) + array_push($categories, $category); + } @endphp