I would like to show the current locale in bigger bold font, ideally it shouldn't be a hyperlink, but that's not critical (anyway it should have its own style class). And I would like to show other locales in smaller font.
The attached diff adds style classes for the links in the locale switching block: 'current-locale' and 'locale'.
The correspondent piece of my style.css follows:
a.locale {
font-size: 12px;
}
a.current-locale {
color: #000;
font-size: 14px;
font-weight: bold;
}
| Comment | File | Size | Author |
|---|---|---|---|
| localizer.module.patch | 1.32 KB | yasenp |
Comments
Comment #1
Roberto Gerola commentedGood suggestion. Many thanks.
I have integrated your patch with some little changes.
Defined two class : 'currentuilocale' for the selected item and 'uilocale' for other items.
Active class remains as fallback :
Comment #2
Roberto Gerola commentedComment #3
(not verified) commented