This commit is contained in:
gorhill 2017-08-08 11:08:18 -04:00
parent faca2718fa
commit 7291227a64
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 16 additions and 12 deletions

View File

@ -193,20 +193,24 @@ body[dir="ltr"] #extraTools > span > span.badge {
body[dir="rtl"] #extraTools > span > span.badge { body[dir="rtl"] #extraTools > span > span.badge {
right: 100%; right: 100%;
} }
#extraTools > span.on > span:last-of-type { #extraTools > span > span:last-of-type {
color: #e00; color: #e00;
font-size: 1.1em; left: 50%;
left: 0;
position: absolute; position: absolute;
text-align: center;
top: 0; top: 0;
width: 100%; transform: translateX(-50%);
visibility: hidden;
} }
#extraTools > span.on > span:last-of-type:after { #extraTools > span > span:last-of-type > svg {
content: '\2715'; stroke: red;
stroke-width: 2;
width: 1em;
}
#extraTools > span.on > span:last-of-type {
visibility: visible;
} }
#extraTools > span:hover { #extraTools > span:hover {
color: #444; color: #333;
} }
#refresh { #refresh {

View File

@ -33,10 +33,10 @@
<h2 data-i18n="popupHitDomainCountPrompt">&nbsp;</h2> <h2 data-i18n="popupHitDomainCountPrompt">&nbsp;</h2>
<p class="statValue" id="popupHitDomainCount">&nbsp;</p> <p class="statValue" id="popupHitDomainCount">&nbsp;</p>
<div id="extraTools"> <div id="extraTools">
<span id="no-popups" class="hnSwitch fa" data-i18n-tip="popupTipNoPopups">&#xf0c5;<span class="badge"></span><span></span></span> <span id="no-popups" class="hnSwitch fa" data-i18n-tip="popupTipNoPopups">&#xf0c5;<span class="badge"></span><span><svg viewBox="0 0 20 20"><path d="M1,1 19,19M1,19 19,1" /></svg></span></span>
<span id="no-large-media" class="hnSwitch fa" data-i18n-tip="popupTipNoLargeMedia">&#xf008;<span class="badge"></span><span></span></span> <span id="no-large-media" class="hnSwitch fa" data-i18n-tip="popupTipNoLargeMedia">&#xf008;<span class="badge"></span><span><svg viewBox="0 0 20 20"><path d="M1,1 19,19M1,19 19,1" /></svg></span></span>
<span id="no-cosmetic-filtering" class="hnSwitch fa" data-i18n-tip="popupTipNoCosmeticFiltering">&#xf070;<span class="badge"></span><span></span></span> <span id="no-cosmetic-filtering" class="hnSwitch fa" data-i18n-tip="popupTipNoCosmeticFiltering">&#xf070;<span class="badge"></span><span><svg viewBox="0 0 20 20"><path d="M1,1 19,19M1,19 19,1" /></svg></span></span>
<span id="no-remote-fonts" class="hnSwitch fa" data-i18n-tip="popupTipNoRemoteFonts">&#xf031;<span class="badge"></span><span></span></span> <span id="no-remote-fonts" class="hnSwitch fa" data-i18n-tip="popupTipNoRemoteFonts">&#xf031;<span class="badge"></span><span><svg viewBox="0 0 20 20"><path d="M1,1 19,19M1,19 19,1" /></svg></span></span>
</div> </div>
</div><!-- DO NOT REMOVE --><div class="tooltipContainer"> </div><!-- DO NOT REMOVE --><div class="tooltipContainer">
<div id="firewallContainer" class="minimized"> <div id="firewallContainer" class="minimized">