Skip to content

Commit

Permalink
fix css for selected menu item in sort menu
Browse files Browse the repository at this point in the history
  • Loading branch information
dio-el-claire committed Oct 5, 2011
1 parent b513a48 commit 2b581bb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion css/toolbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@
/* fix hover ui class */
.elfinder-button-menu .ui-state-hover { border:0 solid; }

.elfinder-button-menu-item-selcted { background:#aaa; }
.elfinder-button-menu-item-selected {
background:url('../img/selected.png') 1px center no-repeat;
}

/* hack for upload button */
.elfinder-button form {
Expand Down
Binary file added img/selected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion js/ui/button.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $.fn.elfinderbutton = function(cmd) {
active = fm.res(c, 'active'),
hover = fm.res(c, 'hover'),
item = 'elfinder-button-menu-item',
selected = 'elfinder-button-menu-item-selcted',
selected = 'elfinder-button-menu-item-selected',
menu,
button = $(this).addClass('ui-state-default elfinder-button')
.attr('title', cmd.title)
Expand Down

0 comments on commit 2b581bb

Please sign in to comment.