1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-02 10:24:59 +12:00

fix tooltip quirk in popup panel; add visual hint in logger for tab-less requests

This commit is contained in:
Raymond Hill 2018-10-07 11:16:25 -04:00
parent 45be8d04e3
commit 6dcc90c639
No known key found for this signature in database
GPG key ID: 25E1490B761470C2
3 changed files with 17 additions and 5 deletions

View file

@ -44,7 +44,7 @@ body[dir="rtl"] {
color: black; color: black;
content: attr(data-tip); content: attr(data-tip);
font: 12px sans-serif; font: 12px sans-serif;
left: -10vw; left: 10vw;
line-height: 140%; line-height: 140%;
min-width: 25vw; min-width: 25vw;
opacity: 1; opacity: 1;
@ -59,6 +59,10 @@ body[dir="rtl"] {
white-space: pre-line; white-space: pre-line;
z-index: 20; z-index: 20;
} }
body .tip-anchor-center[data-i18n-tip]:hover::after {
left: -10vw;
right: 10vw;
}
body[dir="ltr"] .tip-anchor-left[data-i18n-tip]:hover::after, body[dir="ltr"] .tip-anchor-left[data-i18n-tip]:hover::after,
body[dir="rtl"] .tip-anchor-right[data-i18n-tip]:hover::after { body[dir="rtl"] .tip-anchor-right[data-i18n-tip]:hover::after {
left: 0; left: 0;

View file

@ -182,6 +182,14 @@ body.compactView #content tr:not(.vExpanded) td {
direction: rtl; direction: rtl;
text-align: right; text-align: right;
} }
#content table tr[data-tabid="-1"] td:nth-of-type(2):not([colspan]) {
position: relative;
}
#content table tr[data-tabid="-1"] td:nth-of-type(2):not([colspan])::after {
content: '\2B1A';
position: absolute;
left: 0.2em;
}
#content table tr.tab:not(.canMtx) { #content table tr.tab:not(.canMtx) {
opacity: 0.3; opacity: 0.3;
} }

View file

@ -18,12 +18,12 @@
<div id="toolbarContainer"> <div id="toolbarContainer">
<div class="toolbar"> <div class="toolbar">
<span class="scope" id="specificScope"><span>&nbsp;</span></span><!-- <span class="scope" id="specificScope"><span>&nbsp;</span></span><!--
--><span class="scope" id="globalScope" data-scope="*" data-i18n-tip="matrixGlobalScopeTip"><span><span>&#x2217;</span></span></span> --><span class="scope tip-anchor-center" id="globalScope" data-scope="*" data-i18n-tip="matrixGlobalScopeTip"><span><span>&#x2217;</span></span></span>
<span id="mtxSwitch_matrix-off" class="fa-icon fa-icon-badged scopeRel" data-i18n-tip="matrixMtxButtonTip">power-off</span> <span id="mtxSwitch_matrix-off" class="fa-icon fa-icon-badged scopeRel tip-anchor-center" data-i18n-tip="matrixMtxButtonTip">power-off</span>
<span id="buttonMtxSwitches" class="fa-icon fa-icon-badged scopeRel" tabindex="-1" data-dropdown-menu="dropDownMenuSwitches">ellipsis-v</span> <span id="buttonMtxSwitches" class="fa-icon fa-icon-badged scopeRel" tabindex="-1" data-dropdown-menu="dropDownMenuSwitches">ellipsis-v</span>
<span id="buttonRecipes" class="fa-icon fa-icon-badged scopeRel" data-dropdown-menu="dropDownMenuRecipes">puzzle-piece</span> <span id="buttonRecipes" class="fa-icon fa-icon-badged scopeRel" data-dropdown-menu="dropDownMenuRecipes">puzzle-piece</span>
<span id="buttonPersist" class="fa-icon fa-icon-badged scopeRel" data-i18n-tip="matrixPersistButtonTip">lock</span> <span id="buttonPersist" class="fa-icon fa-icon-badged scopeRel tip-anchor-center" data-i18n-tip="matrixPersistButtonTip">lock</span>
<span id="buttonRevertScope" class="fa-icon fa-icon-badged scopeRel" data-i18n-tip="matrixRevertButtonTip">reply</span> <span id="buttonRevertScope" class="fa-icon fa-icon-badged scopeRel tip-anchor-center" data-i18n-tip="matrixRevertButtonTip">reply</span>
</div> </div>
<div class="toolbar"> <div class="toolbar">
<span id="buttonReload" class="fa-icon tip-anchor-right" data-i18n-tip="matrixReloadButton">sync-alt</span> <span id="buttonReload" class="fa-icon tip-anchor-right" data-i18n-tip="matrixReloadButton">sync-alt</span>