1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 07:22:28 +02:00

Fine tune UI of "fenix" popup panel

This commit is contained in:
Raymond Hill 2020-02-17 09:35:58 -05:00
parent e123c96bbc
commit 7a93301d78
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -222,7 +222,7 @@ body[dir="rtl"] #tooltip {
border: 0;
flex-shrink: 0;
font-family: "Noto Sans", sans-serif;
font-size: 85%;
font-size: 90%;
margin: 0;
padding: 0;
overflow-y: auto;
@ -258,8 +258,7 @@ body[dir="rtl"] #tooltip {
-moz-box-sizing: border-box;
color: #000;
display: inline-flex;
flex-shrink: 0;
padding: 0.33em 0;
padding: 0.35em 0;
position: relative;
}
#firewallContainer > div:first-of-type > span:first-of-type {
@ -269,6 +268,7 @@ body[dir="rtl"] #tooltip {
#firewallContainer > div > span:first-of-type {
align-items: flex-end;
flex-direction: column;
flex-grow: 1;
justify-content: flex-end;
padding-right: 2px;
width: calc(100% - 4em);
@ -286,8 +286,9 @@ body[dir="rtl"] #tooltip {
display: none;
}
#firewallContainer > div > span:first-of-type ~ span {
flex-shrink: 0;
margin-left: 1px;
width: 4em;
width: 5em;
}
#firewallContainer > div > span:nth-of-type(2) {
display: none;
@ -322,7 +323,9 @@ body[dir="rtl"] #tooltip {
}
#firewallContainer > div > span[data-acount]::before,
#firewallContainer > div > span[data-bcount]::after {
align-items: center;
content: ' ';
display: inline-flex;
}
#firewallContainer > div > span[data-acount]::before {
padding-left: 0.1em;
@ -349,9 +352,6 @@ body[dir="rtl"] #tooltip {
content: '\2212\2212\2212';
}
body.advancedUser #firewallContainer > div > span:first-of-type {
width: calc(100% - 8em);
}
body.advancedUser #firewallContainer > div > span:nth-of-type(2) {
display: inline-flex;
}
@ -453,7 +453,7 @@ body.advancedUser #firewallContainer > div > span.noopRule.ownRule {
left: 0;
position: absolute;
top: 0;
width: 4em;
width: 100%;
z-index: 1;
}
#actionSelector > span {