1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-28 11:00:38 +12:00

fixed tooltips; illegal characters in messages.json

This commit is contained in:
gorhill 2014-10-28 18:34:44 -04:00
parent 35fdd38645
commit 448a56cc70
3 changed files with 21 additions and 26 deletions

View file

@ -49,25 +49,26 @@
cursor: pointer; cursor: pointer;
} }
*[data-tip]:hover:after { *[data-tip]:hover:after {
position: absolute;
content: attr(data-tip);
padding: 4px 6px;
font: 11px sans-serif;
line-height: 140%;
text-align: left;
color: black;
background-color: white; background-color: white;
top: 110%;
white-space: pre;
z-index: 20;
border: 1px solid gray; border: 1px solid gray;
border-radius: 3px; border-radius: 3px;
box-shadow: 1px 1px 3px gray; box-shadow: 1px 1px 3px gray;
color: black;
content: attr(data-tip);
font: 12px sans-serif;
line-height: 140%;
min-width: 40vw;
padding: 4px 6px;
position: absolute;
text-align: start;
top: 110%;
white-space: pre-line;
z-index: 20;
} }
.tip-anchor-left[data-tip]:hover:after { .tip-anchor-left[data-tip]:hover:after {
left: 0; left: -5vw;
} }
.tip-anchor-right[data-tip]:hover:after { .tip-anchor-right[data-tip]:hover:after {
right: 0; right: -5vw;
} }

View file

@ -76,19 +76,19 @@
"description": "" "description": ""
}, },
"matrixMtxButtonTip" : { "matrixMtxButtonTip" : {
"message": "Disable/enable matrix filtering \u000a for this scope. \u000aRequests blocked through \u000a matrix filtering on this page: {{count}}.", "message": "Disable/enable matrix filtering for this scope.\nRequests blocked through matrix filtering on this page: {{count}}.",
"description": "Tool tip for matrix button: {{}} is a placeholder for number of blocked requests." "description": "Tool tip for matrix button: {{}} is a placeholder for number of blocked requests."
}, },
"matrixPersistButtonTip" : { "matrixPersistButtonTip" : {
"message": "Save all temporary changes \u000a for this scope.", "message": "Save all temporary changes for this scope.",
"description": "Tool tip for the persist button" "description": "Tool tip for the persist button"
}, },
"matrixRevertButtonTip" : { "matrixRevertButtonTip" : {
"message": "Remove temporary changes \u000a for this scope.", "message": "Remove temporary changes for this scope.",
"description": "Tool tip for the revert local permission button" "description": "Tool tip for the revert local permission button"
}, },
"matrixRevertButtonAllTip" : { "matrixRevertButtonAllTip" : {
"message": "Remove all temporary \u000a changes.", "message": "Remove all temporary changes.",
"description": "Tool tip for the revert all permissions button" "description": "Tool tip for the revert all permissions button"
}, },
"matrixReloadButton" : { "matrixReloadButton" : {

View file

@ -72,25 +72,19 @@
"description":"" "description":""
}, },
"matrixMtxButtonTip":{ "matrixMtxButtonTip":{
"message":"Cliquez pour activer\/désactiver \ "message":"Cliquez pour activer\/désactiver les filtres matriciels pour le contexte actuel.\\nNombre de requêtes bloquées via les filtres matriciels : {{count}}",
les filtres matriciels pour le contexte actuel. \
Nombre de requêtes bloquées via \
les filtres matriciels : {{count}}",
"description":"Tool tip for matrix button: {{}} is a placeholder for number of blocked requests." "description":"Tool tip for matrix button: {{}} is a placeholder for number of blocked requests."
}, },
"matrixPersistButtonTip":{ "matrixPersistButtonTip":{
"message":"Conserver définitivement les changements \ "message":"Conserver définitivement les changements du contexte actuel",
du contexte actuel",
"description":"Tool tip for the persist button" "description":"Tool tip for the persist button"
}, },
"matrixRevertButtonTip":{ "matrixRevertButtonTip":{
"message":"Annuler les changements temporaires \ "message":"Annuler les changements temporaires du contexte actuel",
du contexte actuel",
"description":"Tool tip for the revert local permission button" "description":"Tool tip for the revert local permission button"
}, },
"matrixRevertButtonAllTip":{ "matrixRevertButtonAllTip":{
"message":"Annuler la totalité des changements \ "message":"Annuler la totalité des changements temporaires de tous les contextes",
temporaires de tous les contextes",
"description":"Tool tip for the revert all permissions button" "description":"Tool tip for the revert all permissions button"
}, },
"matrixReloadButton":{ "matrixReloadButton":{