From bc5577740cee2fa8ec6dcb053ba06765bbda3c54 Mon Sep 17 00:00:00 2001 From: Aron Carroll Date: Wed, 25 Jul 2012 11:19:23 +0100 Subject: [PATCH] [#2375] Update the language snippet to use select2 --- ckan/public/base/css/main.css | 13 +++++++------ ckan/public/base/less/footer.less | 14 ++++++++------ ckan/templates/snippets/language_selector.html | 6 +++--- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/ckan/public/base/css/main.css b/ckan/public/base/css/main.css index 631a8db132b..a23c4f63d74 100644 --- a/ckan/public/base/css/main.css +++ b/ckan/public/base/css/main.css @@ -6553,16 +6553,14 @@ li .icon-large:before { .site-footer:after { clear: both; } -.site-footer a { - color: #ffffff; -} +.site-footer, +.site-footer a, .site-footer label { - color: #ffffff; + color: #fff; + color: rgba(255, 255, 255, 0.8); } .footer-links, .attribution { - opacity: 0.8; - filter: alpha(opacity=80); float: left; margin-left: 20px; width: 460px; @@ -6587,6 +6585,9 @@ li .icon-large:before { margin-top: 2px; background: url("../images/ckan-logo-footer.png") no-repeat top left; } +.attribution .select2-drop { + color: #000; +} .profile-info { *zoom: 1; -webkit-border-radius: 3px 3px 0 0; diff --git a/ckan/public/base/less/footer.less b/ckan/public/base/less/footer.less index 24af65e26bc..21ed7160fd7 100644 --- a/ckan/public/base/less/footer.less +++ b/ckan/public/base/less/footer.less @@ -4,17 +4,15 @@ padding: 20px 0; } -.site-footer a { - color: @mastheadLinkColor; -} - +.site-footer, +.site-footer a, .site-footer label { - color: @mastheadLinkColor; + color: #fff; + color: rgba(255, 255, 255, 0.8); } .footer-links, .attribution { - .opacity(80); .makeColumn(6); } @@ -41,3 +39,7 @@ margin-top: 2px; background: url("@{imagePath}/ckan-logo-footer.png") no-repeat top left; } + +.attribution .select2-drop { + color: #000; +} diff --git a/ckan/templates/snippets/language_selector.html b/ckan/templates/snippets/language_selector.html index 0f75d3ffdf8..c6a6a5776be 100644 --- a/ckan/templates/snippets/language_selector.html +++ b/ckan/templates/snippets/language_selector.html @@ -2,10 +2,10 @@ {% set current_lang = request.environ.CKAN_LANG %}
- {% for locale in h.get_available_locales() %} - {% endfor %}