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

fix css

parent 5c31293f
...@@ -335,7 +335,7 @@ ...@@ -335,7 +335,7 @@
* *
* Reverse proxy servers are often used to enhance the performance * Reverse proxy servers are often used to enhance the performance
* of heavily visited sites and may also provide other site caching, * 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 * is behind a reverse proxy, the real IP address of the client should
* be determined such that the correct client IP address is available * be determined such that the correct client IP address is available
* to Drupal's logging, statistics, and access management systems. In * to Drupal's logging, statistics, and access management systems. In
...@@ -767,10 +767,9 @@ ...@@ -767,10 +767,9 @@
include $app_root . '/' . $site_path . '/settings.local.php'; include $app_root . '/' . $site_path . '/settings.local.php';
} }
$databases['default']['default'] = array ( $databases['default']['default'] = array (
'database' => 'invi_estorequ', 'database' => 'estore',
'username' => 'user', 'username' => 'root',
'password' => '12345', 'password' => 'root',
'prefix' => '', 'prefix' => '',
'host' => 'localhost', 'host' => 'localhost',
'port' => '3306', 'port' => '3306',
......
...@@ -22,18 +22,27 @@ ...@@ -22,18 +22,27 @@
* @see template_preprocess_input() * @see template_preprocess_input()
*/ */
#} #}
{% spaceless %} {% spaceless %}
{% {%
set classes = [ set classes = [
'btn', 'btn',
type == 'submit' ? 'js-form-submit', type == 'submit' ? 'js-form-submit',
icon and icon_position and not icon_only ? 'icon-' ~ icon_position, icon and icon_position and not icon_only ? 'icon-' ~ icon_position,
] ]
%} %}
{% block input %} {% block input %}
<button{{ attributes.addClass(classes, 'icon-only') }}> {% if icon and icon_only %}
<span>search</span> <button{{ attributes.addClass(classes, 'icon-only') }}>
</button> <span class="sr-only">{{ label }}</span>
{{ icon }}
{% endblock %} </button>
{% endspaceless %} {% 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 %}
This diff is collapsed.
...@@ -30,8 +30,6 @@ ...@@ -30,8 +30,6 @@
$(".menu.menu--category-menu.nav").addClass('hide-block'); $(".menu.menu--category-menu.nav").addClass('hide-block');
} }
$(window).scroll(function () { $(window).scroll(function () {
console.log("scrollTop",$(window).scrollTop() )
// custom for ie
if($(window).scrollTop() > 130){ if($(window).scrollTop() > 130){
$(".middle-header-wrapper").children(".container-fluid").addClass("fixed-top"); $(".middle-header-wrapper").children(".container-fluid").addClass("fixed-top");
} }
...@@ -41,5 +39,14 @@ ...@@ -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;) // if(heightMenu > 400;)
})(window.jQuery, window.Drupal); })(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