Project:Language icons
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

Here a simple CSS

/* languageicons.css */
.block-locale {
  padding-top: 0.1em;
  text-align: right;
}

ul li.it {
  background-image: none;
  list-style-image: none;
  list-style-type: none;
}

ul li.en {
  background-image: none;
  list-style-image: none;
  list-style-type: none;
}

Note that you must add more style using the simple naming convention, for example franch: "ul li.fr".

add this function to load them, in "languageicons.module":

/**
* Implementation of hook_init().
*/
function languageicons_init() {
  drupal_add_css(drupal_get_path('module', 'languageicons') .'/languageicons.css', 'module');
}

Comments

#1

Status:active» postponed (maintainer needs more info)

How would this allow for better customisation? None of the added CSS is specific to anything produced by Language icons and could easily be placed in any other module or theme, and so could the drupal_add_css() call.

#2

Status:postponed (maintainer needs more info)» closed (won't fix)

No reply for more than 40 weeks...

nobody click here