Bug 1242601 - Change devtools "Show allocation triggers" button style to resemble a link. r=gtatum

This commit is contained in:
Kerem KAT 2017-01-04 18:35:25 +03:00
parent 2d15fc2ee8
commit ec2c66fd1f
2 changed files with 7 additions and 1 deletions

View File

@ -225,7 +225,7 @@ exports.MarkerDOMUtils = {
hbox.className = "marker-details-customcontainer";
let label = doc.createElement("label");
label.className = "custom-button devtools-button";
label.className = "custom-button";
label.setAttribute("value", "Show allocation triggers");
label.setAttribute("type", "show-allocations");
label.setAttribute("data-action", JSON.stringify({

View File

@ -695,6 +695,12 @@
.marker-details-customcontainer .custom-button {
padding: 2px 5px;
border-width: 1px;
color: var(--theme-highlight-blue);
text-decoration: none;
}
.marker-details-customcontainer .custom-button:hover {
text-decoration: underline;
}
/**