Skip to content
Snippets Groups Projects
Commit 22aef1d4 authored by Olimpia Magliulo's avatar Olimpia Magliulo
Browse files

Add font-awesome icon to language dropdown-menu

parent 182a6ea7
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<select class="pure-input-1-4 language-menu selectize" name="language" id="language_selector"> <select class="pure-input-1-4 language-menu selectize" name="language" id="language_selector">
{% for key, lang in languageBar -%} {% for key, lang in languageBar -%}
{%- if key == currentLanguage -%} {%- if key == currentLanguage -%}
<option value="{{ key }}" selected="selected">{{ lang.name }}</option> <option value="{{ key }}" selected="selected">&#xf1ab; {{ lang.name }}</option>
{%- else -%} {%- else -%}
<option value="{{ key }}">{{ lang.name }}</option> <option value="{{ key }}">{{ lang.name }}</option>
{%- endif -%} {%- endif -%}
......
...@@ -74,6 +74,7 @@ LANGUAGE MENU ...@@ -74,6 +74,7 @@ LANGUAGE MENU
.language-menu{ .language-menu{
float: right; float: right;
font-family: FontAwesome, sans-serif; font-family: FontAwesome, sans-serif;
min-width: 10rem;
} }
/* *********************************************************** /* ***********************************************************
...@@ -100,7 +101,7 @@ FORMS ...@@ -100,7 +101,7 @@ FORMS
transform: translate(0, -50%); transform: translate(0, -50%);
} }
.selectize-input{ .selectize-input, .selectize-dropdown, .selectize-input.dropdown-active{
-webkit-border-radius: 0; -webkit-border-radius: 0;
-moz-border-radius: 0; -moz-border-radius: 0;
border-radius: 0; border-radius: 0;
...@@ -144,8 +145,6 @@ MEDIA QUERIES ...@@ -144,8 +145,6 @@ MEDIA QUERIES
@media screen and (max-width: 39.9375em) { @media screen and (max-width: 39.9375em) {
.hide-for-small-only { .hide-for-small-only {
display: none !important; } display: none !important; }
.language-menu {
min-width: 145px;}
.selectize-input{ .selectize-input{
padding-right: 0.1rem; padding-right: 0.1rem;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment