Skip to content

Commit

Permalink
Removed edit icon hover effect
Browse files Browse the repository at this point in the history
Also did some JS clean up.

Change-Id: I5b282fbee72413ad863562591c4e1e76b2579918
Closes-Bug: #1357589
  • Loading branch information
tqtran7 committed Aug 15, 2014
1 parent bf0c4aa commit 203c9cb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
8 changes: 0 additions & 8 deletions horizon/static/horizon/js/horizon.tables_inline_edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,13 +263,5 @@ horizon.addInitFunction(function() {
$('table').on('mouseleave', '.inline_edit_available', function (evt) {
$(this).find(".table_cell_action").fadeOut(200);
});

$('table').on('mouseenter', '.table_cell_action', function (evt) {
$(this).addClass("hovered");
});

$('table').on('mouseleave', '.table_cell_action', function (evt) {
$(this).removeClass("hovered");
});
});

8 changes: 0 additions & 8 deletions openstack_dashboard/static/dashboard/scss/horizon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -752,14 +752,6 @@ div.table_cell_wrapper {
z-index: 99;
}

.table_cell_action.hovered {
background-image: -webkit-linear-gradient(top, +body-bg, +gray-lighter);
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
border: 1px solid $gray-light;
border-bottom-color: darken($gray-light, 10%);
border-radius: 4px;
}

.inline-edit-error {
.error {
@include status-icon(-144px, -120px, 0px, 0px);
Expand Down

0 comments on commit 203c9cb

Please sign in to comment.