Update edx.org theme to add new css rule
* To make language selection button in footer consistent with the edx.org theme, add new css rule * Remove unused event from select element LEARNER-1338
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<span class="icon fa fa-globe" aria-hidden="true"></span>
|
||||
<span class="sr">${_("Choose Language")}</span>
|
||||
</label>
|
||||
<select id="footer-language-select" name="language" onchange="footerLanguageSelector.handleSelection(this)">
|
||||
<select id="footer-language-select" name="language">
|
||||
% for language in sorted(released_languages(), key=lambda x: x.code):
|
||||
<% language_name = Locale.parse(language.code.replace('_', '-'), sep='-').language_name %>
|
||||
% if language.code == LANGUAGE_CODE:
|
||||
|
||||
@@ -21,3 +21,15 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
.select-lang-button {
|
||||
padding: 3px;
|
||||
color: $m-blue-d3 !important;
|
||||
height: 30px;
|
||||
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
background: $m-blue-d3 !important;
|
||||
color: white !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// Override theming for edx.org bootstrap
|
||||
|
||||
$m-blue-d3: rgb(18, 111, 154) !default;
|
||||
|
||||
@import 'edx-bootstrap/sass/edx/theme';
|
||||
|
||||
Reference in New Issue
Block a user