From b4e593a8538070fb237048e7ea3b158483e5421c Mon Sep 17 00:00:00 2001 From: prateek srivastava Date: Fri, 3 Jan 2020 15:56:32 +0530 Subject: [PATCH] layered navigation layout fixed --- .../Resources/assets/sass/components/app.scss | 35 +++++++++++++++---- .../list/layered-navigation.blade.php | 7 ++-- 2 files changed, 30 insertions(+), 12 deletions(-) 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 8880bb222..ce297f1c0 100644 --- a/packages/Webkul/Velocity/src/Resources/assets/sass/components/app.scss +++ b/packages/Webkul/Velocity/src/Resources/assets/sass/components/app.scss @@ -1424,14 +1424,35 @@ } } -.price-range { - display: flex; - justify-content: space-evenly; +.filter-attributes-item { + margin-bottom: 10px; + border-bottom: 1px solid #CCCCCC; + &.active { + .filter-attributes-content { + display: block; + } + } - .price-from { - border: 1px solid $theme-color; + .filter-input { + margin: 10px 15px 13px -4px; + + input[type=text] { + text-align: center; + border: 1px solid $theme-color; + width: 30%; + } } - .price-to { - border: 1px solid $theme-color; + + .checkbox { + input[type=checkbox] { + width: 14px; + height: 14px; + transform: scale(0.9); + } + } + + .filter-attributes-content { + display: none ; + margin-left: 7px; } } \ No newline at end of file diff --git a/packages/Webkul/Velocity/src/Resources/views/products/list/layered-navigation.blade.php b/packages/Webkul/Velocity/src/Resources/views/products/list/layered-navigation.blade.php index b87596d02..9b67754a1 100644 --- a/packages/Webkul/Velocity/src/Resources/views/products/list/layered-navigation.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/products/list/layered-navigation.blade.php @@ -61,8 +61,7 @@