diff --git a/edit.html b/edit.html
index bcaa9506..e12f34ae 100644
--- a/edit.html
+++ b/edit.html
@@ -65,16 +65,11 @@
.aligned {
display: table-row;
}
- .aligned > *:not(img) {
+ .aligned > *:not(svg) {
display: table-cell;
margin-top: 0.1rem;
min-height: 1.4rem;
}
- img[src="help.png"] {
- cursor: pointer;
- vertical-align: middle;
- margin-left: 0.2rem;
- }
input[type="checkbox"] {
margin-left: 0.1rem;
}
@@ -95,12 +90,23 @@
#url:not([href^="http"]) {
display: none;
}
- img[src*="world"] {
- width: 16px;
- height: 16px;
+ .svg-icon {
+ cursor: pointer;
vertical-align: middle;
- image-rendering: -webkit-optimize-contrast;
+ transition: fill .5s;
}
+ .svg-icon:not(.applies-to-help):not(.dismiss) {
+ margin-left: 0.2rem;
+ }
+ h2 .svg-icon, label .svg-icon {
+ margin-top: -2px;
+ }
+ .svg-icon.info:hover {
+ fill: #000000;
+ }
+ a:hover .svg-icon.installed, .svg-icon.dismiss:hover {
+ fill: hsl(0, 0%, 40%);
+ }
#enabled {
margin-left: 0;
vertical-align: middle;
@@ -270,14 +276,9 @@
overflow-y: auto;
}
#help-popup .close-icon {
- cursor: pointer;
- width: 8px;
- height: 8px;
- border: 8px solid transparent;
position: absolute;
right: 4px;
top: 4px;
- background: linear-gradient(-45deg, transparent 5px, black 5px, black 6px, transparent 6.5px) no-repeat, linear-gradient(45deg, transparent 5px, black 5px, black 6px, transparent 6.5px) no-repeat;
}
.keymap-list {
@@ -428,7 +429,7 @@
#options {
-webkit-column-count: 2;
}
- #options .aligned > *:not(img) {
+ #options .aligned > *:not(svg) {
margin: 1px 0 0 0; /* workaround the flowing-padding column bug in webkit */
padding-right: 0.4rem;
vertical-align: baseline;
@@ -513,7 +514,7 @@