diff --git a/addons/default/visiosoft/advs-module/composer.json b/addons/default/visiosoft/advs-module/composer.json index 53cd02315..4f132dd3e 100644 --- a/addons/default/visiosoft/advs-module/composer.json +++ b/addons/default/visiosoft/advs-module/composer.json @@ -2,6 +2,9 @@ "name": "visiosoft/advs-module", "type": "streams-addon", "autoload": { + "files": [ + "src/helpers.php" + ], "psr-4": { "Visiosoft\\AdvsModule\\": "src/" } diff --git a/addons/default/visiosoft/advs-module/resources/css/list.css b/addons/default/visiosoft/advs-module/resources/css/list.css index 6cb92603a..4f18bf447 100644 --- a/addons/default/visiosoft/advs-module/resources/css/list.css +++ b/addons/default/visiosoft/advs-module/resources/css/list.css @@ -115,8 +115,11 @@ font-size: 13px; } -.result-text span:first-child { - font-weight: 500; +.result-text h1 { + font-size: 13px; + margin: 0; + line-height: 1.5; + max-width: 330px; } .result-text span:last-child { @@ -124,6 +127,68 @@ font-weight: 500; } +.result-text .filter-tabs > div { + margin: 3px 16px 4px 0; +} + +.result-text .filter-tabs div > span { + color: #292d2e; +} + +.result-text .filter-tabs a { + background-color: #eee; + font-size: 12px; + padding: 4px 7px; + border-radius: 2px; + text-decoration: none; + max-width: 400px; +} + +.result-text .filter-tabs div:last-child a { + background-color: unset; + font-size: 10px; + padding: 4px 7px; + text-decoration: none; + color: #039; +} + +.result-text .filter-tabs div:last-child a:hover { + text-decoration: underline; +} + +.result-text .filter-tabs a:hover { + background-color: #e0e0e0; +} + +.result-text .filter-tabs a span { + color: #666; +} + +.result-text .filter-tabs a:hover span { + color: #444; +} + +.result-text .filter-tabs a:hover button { + background-color: #CD7D22; +} + +.result-text .filter-tabs a button { + height: 12px; + width: 12px; + background-color: #EC9C4A; + border-radius: 2px; +} + +.result-text .filter-tabs a button:focus { + outline: none; +} + +.result-text .filter-tabs a svg { + flex-shrink: 0; + height: 6px; + width: 6px; +} + a.sort-by-open-dropdown:hover { color: #8598AA !important; } diff --git a/addons/default/visiosoft/advs-module/resources/images/close.svg b/addons/default/visiosoft/advs-module/resources/images/close.svg new file mode 100644 index 000000000..07737b3d1 --- /dev/null +++ b/addons/default/visiosoft/advs-module/resources/images/close.svg @@ -0,0 +1,2 @@ + + diff --git a/addons/default/visiosoft/advs-module/resources/lang/en/field.php b/addons/default/visiosoft/advs-module/resources/lang/en/field.php index 2d09d304e..fc6f0d4dc 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/en/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/en/field.php @@ -248,6 +248,9 @@ return [ 'in_the_last_24_hours' => [ 'name' => 'In The Last 24 Hours' ], + 'in_the_last_day' => [ + 'name' => 'In The Last 24 Hours' + ], 'in_the_last_week' => [ 'name' => 'In The Last Week' ], @@ -297,5 +300,10 @@ return [ // New create page 'options' => 'Options', - 'free' => 'Free' + 'free' => 'Free', + 'ad_date' => 'Ad Date', + 'photo_video' => 'Photo, Video', + 'and_above' => 'and above', + 'and_below' => 'and below', + 'clear_all' => 'Clear All', ]; diff --git a/addons/default/visiosoft/advs-module/resources/views/list/list.twig b/addons/default/visiosoft/advs-module/resources/views/list/list.twig index 21792d979..3d3fbb3ca 100644 --- a/addons/default/visiosoft/advs-module/resources/views/list/list.twig +++ b/addons/default/visiosoft/advs-module/resources/views/list/list.twig @@ -19,15 +19,45 @@