Browse Source

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

pull/2/head
Raymond Hill 6 years ago
parent
commit
6dcc90c639
No known key found for this signature in database GPG Key ID: 25E1490B761470C2
  1. 6
      src/css/common.css
  2. 8
      src/css/logger-ui.css
  3. 8
      src/popup.html

6
src/css/common.css

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

8
src/css/logger-ui.css

@ -182,6 +182,14 @@ body.compactView #content tr:not(.vExpanded) td {
direction: rtl;
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) {
opacity: 0.3;
}

8
src/popup.html

@ -18,12 +18,12 @@
<div id="toolbarContainer">
<div class="toolbar">
<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 id="mtxSwitch_matrix-off" class="fa-icon fa-icon-badged scopeRel" data-i18n-tip="matrixMtxButtonTip">power-off</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 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="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="buttonRevertScope" class="fa-icon fa-icon-badged scopeRel" data-i18n-tip="matrixRevertButtonTip">reply</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 tip-anchor-center" data-i18n-tip="matrixRevertButtonTip">reply</span>
</div>
<div class="toolbar">
<span id="buttonReload" class="fa-icon tip-anchor-right" data-i18n-tip="matrixReloadButton">sync-alt</span>

Loading…
Cancel
Save