Commit 7a17d615 authored by Mike Muzurakis's avatar Mike Muzurakis
Browse files

hover effects on edit name images, Refs #307

parent d9dbb1e0
......@@ -1451,7 +1451,37 @@ div#user a.current_lang {
margin-right:34%;
margin-top:3px;
float:right;
cursor: pointer;
}
.editbuttons .save:hover, .editbuttons .cancel:hover {
background-color: #CCCCCC;
}
.editbuttons .cancel:hover {
background-image: url("../static/cancel-onhover.png");
}
.editbuttons .cancel {
background-image: url("../static/cancel.png");
margin-left: 3px;
padding-left: 18px;
padding-top: 3px;
background-repeat: no-repeat;
color: transparent;
font-size: 9pt;
}
.editbuttons .save {
background-image: url("../static/save.png");
margin-left: 1px;
padding-left: 18px;
padding-top: 3px;
background-repeat: no-repeat;
color: transparent;
font-size: 9pt;
}
.editbuttons img {
float:none !important;
margin: 0px !important;
......
......@@ -24,8 +24,8 @@
<h5 class="namecontainer editable">
{% trans "Name: " %}<span class="name">node.name</span><span class="rename"></span>
<div class="editbuttons" style="display:none">
<img class="save" src="/static/save.png" />
<img class="cancel" src="/static/cancel.png" />
<span class="save" />
<span class="cancel" />
</div>
</h5>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment