Commit aa9d1f1d authored by Chi Bui's avatar Chi Bui 👀

fix css

parent 5c31293f
......@@ -335,7 +335,7 @@
*
* Reverse proxy servers are often used to enhance the performance
* of heavily visited sites and may also provide other site caching,
128.199.187.131 * security, or encryption benefits. In an environment where Drupal
* security, or encryption benefits. In an environment where Drupal
* is behind a reverse proxy, the real IP address of the client should
* be determined such that the correct client IP address is available
* to Drupal's logging, statistics, and access management systems. In
......@@ -767,10 +767,9 @@
include $app_root . '/' . $site_path . '/settings.local.php';
}
$databases['default']['default'] = array (
'database' => 'invi_estorequ',
'username' => 'user',
'password' => '12345',
'database' => 'estore',
'username' => 'root',
'password' => 'root',
'prefix' => '',
'host' => 'localhost',
'port' => '3306',
......
......@@ -22,7 +22,7 @@
* @see template_preprocess_input()
*/
#}
{% spaceless %}
{% spaceless %}
{%
set classes = [
'btn',
......@@ -31,9 +31,18 @@
]
%}
{% block input %}
{% if icon and icon_only %}
<button{{ attributes.addClass(classes, 'icon-only') }}>
<span>search</span>
<span class="sr-only">{{ label }}</span>
{{ icon }}
</button>
{% else %}
{% if icon_position == 'after' %}
<button{{ attributes.addClass(classes) }}>{{ label }}{{ icon }}</button>{{ children }}
{% else %}
<button{{ attributes.addClass(classes) }}>{{ icon }}{{ label }}</button>{{ children }}
{% endif %}
{% endif %}
{{ children }}
{% endblock %}
{% endspaceless %}
{% endspaceless %}
This diff is collapsed.
......@@ -30,8 +30,6 @@
$(".menu.menu--category-menu.nav").addClass('hide-block');
}
$(window).scroll(function () {
console.log("scrollTop",$(window).scrollTop() )
// custom for ie
if($(window).scrollTop() > 130){
$(".middle-header-wrapper").children(".container-fluid").addClass("fixed-top");
}
......@@ -41,5 +39,14 @@
});
$(".dropdown-toggle").mouseover(function(){
$(".expanded.dropdown.first").addClass("open");
})
$(".dropdown-toggle").mouseleave(function(){
$(".expanded.dropdown.first").removeClass("open");
})
// if(heightMenu > 400;)
})(window.jQuery, window.Drupal);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment