Feature #31887 » 0002-Fix-JS-languages-menu-style.patch
public/javascripts/jstoolbar/jstoolbar.js | ||
---|---|---|
456 | 456 |
var hlLanguages = window.userHlLanguages; |
457 | 457 |
var menu = $("<ul style='position:absolute;'></ul>"); |
458 | 458 |
for (var i = 0; i < hlLanguages.length; i++) { |
459 |
$("<li></li>").text(hlLanguages[i]).appendTo(menu).mousedown(function(){ |
|
459 |
var langItem = $('<div></div>').text(hlLanguages[i]); |
|
460 |
$("<li></li>").html(langItem).appendTo(menu).mousedown(function(){ |
|
460 | 461 |
fn($(this).text()); |
461 | 462 |
}); |
462 | 463 |
} |
public/stylesheets/application.css | ||
---|---|---|
1632 | 1632 |
img.filecontent.image {background-image: url(../images/transparent.png);} |
1633 | 1633 | |
1634 | 1634 |
/* Custom JQuery styles */ |
1635 |
.ui-autocomplete { |
|
1635 |
.ui-autocomplete, .ui-menu {
|
|
1636 | 1636 |
border-radius: 2px; |
1637 | 1637 |
border: 1px solid #ccc; |
1638 | 1638 |
} |
1639 |
.ui-autocomplete .ui-menu-item > div { |
|
1639 |
.ui-autocomplete .ui-menu-item > div, .ui-menu .ui-menu-item > div {
|
|
1640 | 1640 |
padding: 4px 8px; |
1641 | 1641 |
} |
1642 | 1642 |
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { |
- « Previous
- 1
- …
- 4
- 5
- 6
- Next »