diff --git a/edit.html b/edit.html index 7b986ee7..376c110c 100644 --- a/edit.html +++ b/edit.html @@ -89,7 +89,6 @@ } #url { margin-left: 0.25rem; - color: inherit; } #url:not([href^="http"]) { display: none; @@ -97,10 +96,9 @@ .svg-icon { cursor: pointer; vertical-align: middle; - transition: opacity .5s; + transition: fill .5s; width: 16px; height: 16px; - fill: currentColor; } .svg-icon:not(.applies-to-help):not(.dismiss) { margin-left: 0.2rem; @@ -108,13 +106,17 @@ h2 .svg-icon, label .svg-icon { margin-top: -2px; } + .svg-icon.info { + width: 14px; + height: 16px; + } .svg-icon:hover, .svg-icon.info { - opacity: .6; + fill: #666; } .svg-icon, .svg-icon.info:hover { - opacity: 1; + fill: #000; } #enabled { margin-left: 0; @@ -638,6 +640,9 @@ : + + + diff --git a/edit.js b/edit.js index f5bc8970..14557a53 100644 --- a/edit.js +++ b/edit.js @@ -1689,11 +1689,7 @@ function showRegExpTester(event, section = getSectionForChild(this)) { rxData.urls = urlsNow; } } - const moreInfoLink = '' + - ''; + const moreInfoLink = template.regexpTestPartial.outerHTML; const stats = { full: {data: [], label: t('styleRegexpTestFull')}, partial: {data: [], label: t('styleRegexpTestPartial') + moreInfoLink}, diff --git a/manage.css b/manage.css index 0467d1df..dea951c3 100644 --- a/manage.css +++ b/manage.css @@ -3,20 +3,14 @@ body { font: 12px arial, sans-serif; } -a, -a:visited { - color: inherit; - opacity: .75; - -webkit-transition: opacity 0.5s; +a { + color: #000; + transition: color .5s; + text-decoration-skip: ink; } -a:hover, -a.homepage:hover { - opacity: .6; -} - -a.homepage { - opacity: 1; +a:hover { + color: #666; } #header { @@ -53,13 +47,20 @@ a.homepage { .svg-icon { cursor: pointer; vertical-align: middle; - margin-left: 0.3rem; - margin-right: 0.3rem; margin-top: -4px; - transition: opacity .5s; + transition: fill .5s; width: 16px; height: 16px; - fill: currentColor; + fill: #000; +} + +.svg-icon:hover { + fill: #666; +} + +.homepage { + margin-left: 0.1em; + margin-right: 0.1em; } .style-name { @@ -69,12 +70,11 @@ a.homepage { .style-name a, .style-edit-link { text-decoration: none; - color: inherit; } .style-name-link:hover { text-decoration: underline; - color: black; + color: #000; } .applies-to { @@ -181,11 +181,6 @@ summary { animation: highlight 10s cubic-bezier(0,.82,.47,.98); } -#find-editor-styles { - display: block; - margin-top: .5em; -} - @keyframes highlight { from { background-color: rgba(128, 128, 128, .5); diff --git a/manage.html b/manage.html index 36de7dbf..5172331b 100644 --- a/manage.html +++ b/manage.html @@ -25,9 +25,7 @@ - - - + @@ -87,10 +85,14 @@