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"
},
"popupTipDashboard":{
"message":"Click to open the dashboard",
"message":"Open the dashboard",
"description":"English: Click to open the dashboard"
},
"popupTipZapper":{

View File

@ -39,11 +39,10 @@ a {
:focus {
outline: 0;
}
#gotoPrefs {
#appinfo {
background-color: #444;
border: 0;
color: #bbb;
cursor: pointer;
display: block;
font-size: 85%;
line-height: 1.2;
@ -144,7 +143,7 @@ body.off #switch .fa {
color: #aaa;
cursor: pointer;
visibility: hidden;
margin-left: 0.8em;
margin-left: 0.4em;
min-width: 1em;
padding: 0 0.2em;
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.
document.getElementById('rulesetTools').style.setProperty(
'top',
(document.getElementById('gotoPrefs').getBoundingClientRect().bottom + 3) + 'px'
(document.getElementById('appinfo').getBoundingClientRect().bottom + 3) + 'px'
);
var positionRulesetTools = function() {
@ -522,7 +522,7 @@ var renderOnce = function() {
lpane.style.setProperty(
'height',
Math.max(
window.innerHeight - uDom.nodeFromSelector('#gotoPrefs').offsetHeight,
window.innerHeight - uDom.nodeFromSelector('#appinfo').offsetHeight,
rpane.offsetHeight
) + 'px'
);

View File

@ -10,13 +10,14 @@
</head>
<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 class="tooltipContainer">
<p id="switch" data-i18n-tip="popupPowerSwitchInfo" data-tip-position="under"><span class="fa">&#xf011;</span></p>
<p id="basicTools">
<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>
<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>
</p>
<h2 id="dfToggler" data-i18n="popupBlockedRequestPrompt">&nbsp;</h2>