diff --git a/assets/common/scss/_fonts.scss b/assets/common/scss/_fonts.scss index 9d1b98a..167c511 100644 --- a/assets/common/scss/_fonts.scss +++ b/assets/common/scss/_fonts.scss @@ -1,2 +1,3 @@ @import "../fonts/tavasi/style"; @import "../img/icomoon/style"; +@import "./sahel"; diff --git a/assets/common/vendors/counter/counter.js b/assets/common/vendors/counter/counter.js deleted file mode 100644 index f013b2b..0000000 --- a/assets/common/vendors/counter/counter.js +++ /dev/null @@ -1,46 +0,0 @@ -(function ($) { - $.fn.countTo = function (options) { - // merge the default plugin settings with the custom options - options = $.extend({}, $.fn.countTo.defaults, options || {}); - - // how many times to update the value, and how much to increment the value on each update - var loops = Math.ceil(options.speed / options.refreshInterval), - increment = (options.to - options.from) / loops; - - return $(this).each(function () { - var _this = this, - loopCount = 0, - value = options.from, - interval = setInterval(updateTimer, options.refreshInterval); - - function updateTimer() { - value += increment; - loopCount++; - $(_this).html(value.toFixed(options.decimals)); - - if (typeof options.onUpdate == "function") { - options.onUpdate.call(_this, value); - } - - if (loopCount >= loops) { - clearInterval(interval); - value = options.to; - - if (typeof options.onComplete == "function") { - options.onComplete.call(_this, value); - } - } - } - }); - }; - - $.fn.countTo.defaults = { - from: 0, // the number the element should start at - to: 100, // the number the element should end at - speed: 1000, // how long it should take to count between the target numbers - refreshInterval: 100, // how often the element should be updated - decimals: 0, // the number of decimal places to show - onUpdate: null, // callback method for every time the element is updated, - onComplete: null, // callback method for when the element finishes updating - }; -})(jQuery); \ No newline at end of file diff --git a/assets/majles/scss/pages/section/_search-section.scss b/assets/majles/scss/pages/section/_search-section.scss index eb3af96..bc0b468 100644 --- a/assets/majles/scss/pages/section/_search-section.scss +++ b/assets/majles/scss/pages/section/_search-section.scss @@ -43,8 +43,8 @@ bottom: 0; } .inner-wrapper { - max-width: 47.5em; - margin: 0 auto; + // max-width: 47.5em; + // margin: 0 auto; text-align: center; .title { diff --git a/assets/majles/scss/responsive/min-max/min-max.scss b/assets/majles/scss/responsive/min-max/min-max.scss index c1073a9..31c44fe 100644 --- a/assets/majles/scss/responsive/min-max/min-max.scss +++ b/assets/majles/scss/responsive/min-max/min-max.scss @@ -7,7 +7,7 @@ } @media only screen and (min-width: 768px) and (max-width: 991.98px) { .search-section .top-content .inner-wrapper { - padding-top: 10em; + // padding-top: 10em; } /* استایل‌های مربوط به اندازه‌های بین 768 تا 991 پیکسل */ } diff --git a/components/dashboard/majles/SearchSection.vue b/components/dashboard/majles/SearchSection.vue index c2f7a91..e9db075 100644 --- a/components/dashboard/majles/SearchSection.vue +++ b/components/dashboard/majles/SearchSection.vue @@ -5,9 +5,8 @@
- -
-
+
+
{{ title2 }}{{ title3 }} - +
+ +
- +