1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-02 17:19:38 +02:00
This commit is contained in:
gorhill 2017-06-21 15:49:42 -04:00
parent 0c0ebb8a87
commit 9b55684551
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
4 changed files with 7 additions and 7 deletions

View File

@ -68,7 +68,7 @@
"description":"English: or" "description":"English: or"
}, },
"popupTipDashboard":{ "popupTipDashboard":{
"message":"Click to open the dashboard", "message":"Open the dashboard",
"description":"English: Click to open the dashboard" "description":"English: Click to open the dashboard"
}, },
"popupTipZapper":{ "popupTipZapper":{

View File

@ -39,11 +39,10 @@ a {
:focus { :focus {
outline: 0; outline: 0;
} }
#gotoPrefs { #appinfo {
background-color: #444; background-color: #444;
border: 0; border: 0;
color: #bbb; color: #bbb;
cursor: pointer;
display: block; display: block;
font-size: 85%; font-size: 85%;
line-height: 1.2; line-height: 1.2;
@ -144,7 +143,7 @@ body.off #switch .fa {
color: #aaa; color: #aaa;
cursor: pointer; cursor: pointer;
visibility: hidden; visibility: hidden;
margin-left: 0.8em; margin-left: 0.4em;
min-width: 1em; min-width: 1em;
padding: 0 0.2em; padding: 0 0.2em;
unicode-bidi: embed; unicode-bidi: embed;

View File

@ -55,7 +55,7 @@ if ( /[\?&]mobile=1/.test(window.location.search) ) {
// - Its horizontal position depends on whether there is a vertical scrollbar. // - Its horizontal position depends on whether there is a vertical scrollbar.
document.getElementById('rulesetTools').style.setProperty( document.getElementById('rulesetTools').style.setProperty(
'top', 'top',
(document.getElementById('gotoPrefs').getBoundingClientRect().bottom + 3) + 'px' (document.getElementById('appinfo').getBoundingClientRect().bottom + 3) + 'px'
); );
var positionRulesetTools = function() { var positionRulesetTools = function() {
@ -522,7 +522,7 @@ var renderOnce = function() {
lpane.style.setProperty( lpane.style.setProperty(
'height', 'height',
Math.max( Math.max(
window.innerHeight - uDom.nodeFromSelector('#gotoPrefs').offsetHeight, window.innerHeight - uDom.nodeFromSelector('#appinfo').offsetHeight,
rpane.offsetHeight rpane.offsetHeight
) + 'px' ) + 'px'
); );

View File

@ -10,13 +10,14 @@
</head> </head>
<body> <body>
<a href="dashboard.html" target="_blank" id="gotoPrefs" data-i18n-tip="popupTipDashboard" data-tip-position="under"><span id="appname">&nbsp;</span> <span id="version">&nbsp;</span></a> <span id="appinfo"><span id="appname">&nbsp;</span> <span id="version">&nbsp;</span></span>
<div id="panes"> <div id="panes">
<div class="tooltipContainer"> <div class="tooltipContainer">
<p id="switch" data-i18n-tip="popupPowerSwitchInfo" data-tip-position="under"><span class="fa">&#xf011;</span></p> <p id="switch" data-i18n-tip="popupPowerSwitchInfo" data-tip-position="under"><span class="fa">&#xf011;</span></p>
<p id="basicTools"> <p id="basicTools">
<span id="gotoZap" class="fa tool" data-i18n-tip="popupTipZapper" data-tip-position="under">&#xf0e7;</span> <span id="gotoZap" class="fa tool" data-i18n-tip="popupTipZapper" data-tip-position="under">&#xf0e7;</span>
<span id="gotoPick" class="fa tool" data-i18n-tip="popupTipPicker" data-tip-position="under">&#xf1fb;</span> <span id="gotoPick" class="fa tool" data-i18n-tip="popupTipPicker" data-tip-position="under">&#xf1fb;</span>
<a href="dashboard.html" class="fa tool enabled" data-i18n-tip="popupTipDashboard" data-tip-position="under">&#xf085;</a>
<a href="logger-ui.html" class="fa tool enabled" data-i18n-tip="popupTipLog" data-tip-position="under">&#xf022;</a> <a href="logger-ui.html" class="fa tool enabled" data-i18n-tip="popupTipLog" data-tip-position="under">&#xf022;</a>
</p> </p>
<h2 id="dfToggler" data-i18n="popupBlockedRequestPrompt">&nbsp;</h2> <h2 id="dfToggler" data-i18n="popupBlockedRequestPrompt">&nbsp;</h2>