Fix #1272 CSS dropdown issue on ie 7/8

This commit is contained in:
Nicolas Le Goff
2013-07-12 14:32:25 +02:00
parent d4d9106b92
commit 43ff943c2c
3 changed files with 12 additions and 8 deletions

View File

@@ -8,9 +8,8 @@
{% set currentUrl = app['request'].getBaseUrl() ~ app['request'].getPathInfo() ~ qs %}
<div id="authentication-sidebar-language" class="text-right well-small">
<span class="language"><b>{% trans "language" %}</b></span>
<div class="btn-group">
<button id="language-button" class="btn btn-mini btn-flat dropdown-toggle" data-toggle="dropdown">
<div class="pull-right btn-group">
<button id="language-button" class="btn btn-mini btn-flat dropdown-toggle" data-toggle="dropdown" type="button">
{{ attribute(languages, app['locale']) }}
<span class="caret"></span>
</button>
@@ -20,4 +19,5 @@
{% endfor %}
</ul>
</div>
<div class="language pull-right"><b>{% trans "language" %}</b></div>
</div>

View File

@@ -27,12 +27,16 @@
{% block header_stylesheet %}
<link rel="stylesheet" href="{{ path('minifier', { 'g' : 'authentication_css' }) }}">
<!--[if IE 7]>
<!--[if lte IE 8]>
<link rel="stylesheet" href="{ path('minifier', { 'f' : 'assets/font-awesome/css/font-awesome-ie7.min.css' }) }}">
<![endif]-->
{% endblock header_stylesheet %}
{% block header_javascript %}
<!--[if lte IE 8]>
<script type="text/javascript" src="{{ path('minifier', {'f' : 'assets/json3/lib/json3.js'}) }}"></script>
<![endif]-->
{# include backbone templates #}
{% include "login/common/templates.html.twig" %}
@@ -46,7 +50,7 @@
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
<![endif]-->
{% endif %}
<div class="container full-height">
<div class="container">
{% block content_scaffholding %}
{% endblock %}

View File

@@ -834,8 +834,8 @@ form[name=registerForm] .multiselect-group {
/** IE Fixes */
.lt-ie8 authentication-sidebar-language .caret {
margin: 6px 0px 0px 7px;
.lt-ie8 #authentication-sidebar-language .caret {
margin:0;
}
.lt-ie8 .inline li {