2022-09-07 08:15:36 -06:00
|
|
|
/* External CSS values override */
|
|
|
|
.fa-icon.fa-icon-badged > .fa-icon-badge {
|
|
|
|
bottom: auto;
|
|
|
|
top: -20%;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root body,
|
|
|
|
:root.mobile body {
|
|
|
|
--font-size: 14px;
|
|
|
|
--popup-gap: var(--font-size);
|
|
|
|
--popup-gap-thin: calc(0.5 * var(--popup-gap));
|
|
|
|
--popup-gap-extra-thin: calc(0.25 * var(--popup-gap));
|
|
|
|
--popup-main-min-width: 18em;
|
|
|
|
--popup-firewall-min-width: 30em;
|
|
|
|
--popup-rule-cell-width: 5em;
|
|
|
|
font-size: var(--font-size);
|
|
|
|
line-height: 20px;
|
2023-09-16 10:23:47 -06:00
|
|
|
min-width: 100%;
|
2022-09-07 08:15:36 -06:00
|
|
|
}
|
|
|
|
:root body.loading {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: var(--ink-1);
|
|
|
|
fill: var(--ink-1);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main {
|
|
|
|
align-self: flex-start;
|
2023-06-06 07:04:21 -06:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-09-07 08:15:36 -06:00
|
|
|
max-width: 340px;
|
2023-09-16 10:23:47 -06:00
|
|
|
min-width: 100%;
|
2022-09-07 08:15:36 -06:00
|
|
|
}
|
|
|
|
:root.portrait #main {
|
|
|
|
align-self: inherit;
|
|
|
|
}
|
|
|
|
hr {
|
|
|
|
border: 0;
|
|
|
|
border-top: 1px solid var(--hr-ink);
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2023-06-06 07:04:21 -06:00
|
|
|
#hostname {
|
|
|
|
align-items: center;
|
|
|
|
background-color: var(--popup-toolbar-surface);
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
min-height: calc(var(--font-size) * 3);
|
|
|
|
padding: 0 var(--popup-gap-extra-thin);
|
|
|
|
text-align: center;
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
#hostname > span {
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
#hostname > span + span {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2024-11-23 11:17:13 -07:00
|
|
|
body[data-forbid~="filteringMode"] .filteringModeSlider {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
body[data-forbid~="dashboard"] #gotoDashboard {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-10-10 10:28:24 -06:00
|
|
|
#filteringModeText {
|
|
|
|
color: var(--ink-3);
|
2023-06-06 07:04:21 -06:00
|
|
|
margin: var(--default-gap-small);
|
|
|
|
margin-top: 0;
|
|
|
|
text-align: center;
|
2022-10-10 10:28:24 -06:00
|
|
|
text-transform: lowercase;
|
2022-09-07 08:15:36 -06:00
|
|
|
}
|
2023-06-06 07:04:21 -06:00
|
|
|
#filteringModeText > span {
|
|
|
|
color: var(--accent-surface-1);
|
|
|
|
}
|
2022-10-10 10:28:24 -06:00
|
|
|
#filteringModeText > span:nth-of-type(2) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#filteringModeText > span:nth-of-type(2):not(:empty) {
|
|
|
|
display: inline;
|
2022-09-07 08:15:36 -06:00
|
|
|
}
|
2022-10-10 10:28:24 -06:00
|
|
|
#filteringModeText > span:nth-of-type(2):not(:empty)::before {
|
|
|
|
content: '\2002\2192\2002';
|
2022-09-07 08:15:36 -06:00
|
|
|
}
|
2022-10-10 10:28:24 -06:00
|
|
|
[dir="rtl"] #filteringModeText > span:nth-of-type(2):not(:empty)::before {
|
|
|
|
content: '\2002\2190\2002';
|
|
|
|
}
|
|
|
|
|
|
|
|
.filteringModeSlider {
|
2023-06-06 07:04:21 -06:00
|
|
|
align-self: center;
|
|
|
|
margin: var(--popup-gap);
|
|
|
|
width: calc(var(--popup-main-min-width) - 1em);
|
2022-10-10 10:28:24 -06:00
|
|
|
}
|
|
|
|
|
2022-09-07 08:15:36 -06:00
|
|
|
.rulesetTools {
|
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-evenly;
|
|
|
|
width: 25%;
|
|
|
|
}
|
|
|
|
.rulesetTools [id] {
|
|
|
|
background-color: var(--popup-ruleset-tool-surface);
|
|
|
|
border-radius: 4px;
|
|
|
|
cursor: pointer;
|
|
|
|
fill: var(--popup-ruleset-tool-ink);
|
|
|
|
flex-grow: 1;
|
|
|
|
font-size: 2.2em;
|
|
|
|
padding: 0;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
.rulesetTools [id]:not(:first-of-type) {
|
|
|
|
margin-block-start: 1px;
|
|
|
|
}
|
|
|
|
.rulesetTools [id] > svg {
|
|
|
|
fill: var(--ink-4);
|
|
|
|
}
|
2022-10-10 10:28:24 -06:00
|
|
|
body.needReload #refresh {
|
2022-09-07 08:15:36 -06:00
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
2022-09-08 08:04:08 -06:00
|
|
|
#rulesetStats {
|
|
|
|
padding: 0 var(--popup-gap-thin);
|
|
|
|
}
|
2022-09-15 11:14:08 -06:00
|
|
|
#rulesetStats .rulesetDetails h1 {
|
2022-09-08 08:04:08 -06:00
|
|
|
font-size: 1em;
|
2022-09-18 07:31:44 -06:00
|
|
|
font-weight: normal;
|
2022-09-29 17:51:33 -06:00
|
|
|
margin: 0.5em 0 0.25em 0;
|
2022-09-08 08:04:08 -06:00
|
|
|
}
|
2022-09-15 11:14:08 -06:00
|
|
|
#rulesetStats .rulesetDetails p {
|
2022-09-29 17:51:33 -06:00
|
|
|
color: var(--ink-2);
|
2022-09-08 08:04:08 -06:00
|
|
|
font-size: var(--font-size-smaller);
|
2022-09-29 17:51:33 -06:00
|
|
|
margin: 0.25em 0 0.5em 0.5em;
|
2022-09-08 08:04:08 -06:00
|
|
|
}
|
|
|
|
|
2022-09-07 08:15:36 -06:00
|
|
|
.itemRibbon {
|
|
|
|
column-gap: var(--popup-gap);
|
|
|
|
display: grid;
|
|
|
|
grid-auto-columns: 1fr;
|
|
|
|
grid-auto-flow: column;
|
|
|
|
grid-template: auto / 1fr 1fr;
|
|
|
|
margin: var(--popup-gap);
|
|
|
|
}
|
|
|
|
.itemRibbon > span + span {
|
|
|
|
text-align: end;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolRibbon {
|
2023-06-06 07:04:21 -06:00
|
|
|
align-items: center;
|
2022-09-07 08:15:36 -06:00
|
|
|
background-color: var(--popup-toolbar-surface);
|
|
|
|
display: grid;
|
|
|
|
grid-auto-columns: 1fr;
|
|
|
|
grid-auto-flow: column;
|
2022-09-15 11:14:08 -06:00
|
|
|
grid-template: auto / repeat(5, 1fr);
|
2022-09-07 08:15:36 -06:00
|
|
|
justify-items: center;
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
.toolRibbon .tool {
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
font-size: 1.4em;
|
|
|
|
min-width: 32px;
|
|
|
|
padding: var(--popup-gap)
|
|
|
|
var(--popup-gap-thin);
|
|
|
|
unicode-bidi: embed;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
.toolRibbon .tool:hover {
|
|
|
|
color: var(--ink-1);
|
|
|
|
fill: var(--ink-1);
|
|
|
|
}
|
|
|
|
.toolRibbon .tool.enabled {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
.toolRibbon .tool .caption {
|
|
|
|
font: 10px/12px sans-serif;
|
|
|
|
margin-top: 6px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
body.mobile.no-tooltips .toolRibbon .tool {
|
|
|
|
font-size: 1.6em;
|
|
|
|
}
|
2022-09-15 11:14:08 -06:00
|
|
|
.toolRibbon.genericTools {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2022-09-07 08:15:36 -06:00
|
|
|
|
2022-09-08 08:04:08 -06:00
|
|
|
#moreOrLess {
|
|
|
|
column-gap: 0;
|
|
|
|
display: grid;
|
|
|
|
grid-template: auto / 1fr 1fr;
|
|
|
|
justify-items: stretch;
|
|
|
|
margin: 1px 0 0 0;
|
|
|
|
}
|
|
|
|
#moreOrLess > span {
|
|
|
|
cursor: pointer;
|
|
|
|
margin: 0;
|
|
|
|
padding: var(--popup-gap-thin) var(--popup-gap);
|
|
|
|
user-select: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
#moreButton .fa-icon {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
#lessButton {
|
|
|
|
border-inline-start: 1px solid var(--surface-1);
|
|
|
|
text-align: end;
|
|
|
|
}
|
2022-09-15 11:14:08 -06:00
|
|
|
body[data-section="a b"] #moreButton {
|
2022-09-08 08:04:08 -06:00
|
|
|
pointer-events: none;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
body[data-section=""] #lessButton {
|
|
|
|
pointer-events: none;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
body:not([data-section~="a"]) [data-section="a"] {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-09-15 11:14:08 -06:00
|
|
|
body:not([data-section~="b"]) [data-section="b"] {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-09-08 08:04:08 -06:00
|
|
|
|
2022-09-07 08:15:36 -06:00
|
|
|
/* configurable UI elements */
|
|
|
|
:root:not(.mobile) .toolRibbon .caption,
|
|
|
|
:root.mobile body.no-tooltips .toolRibbon .caption,
|
|
|
|
:root.mobile body[data-ui~="-captions"] .toolRibbon .caption {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
:root.mobile .toolRibbon .caption,
|
|
|
|
:root:not(.mobile) body[data-ui~="+captions"] .toolRibbon .caption {
|
|
|
|
display: inherit;
|
|
|
|
}
|
|
|
|
:root:not(.mobile) .toolRibbon .tool,
|
|
|
|
:root.mobile body.no-tooltips .toolRibbon .tool,
|
|
|
|
:root.mobile body[data-ui~="-captions"] .toolRibbon .tool {
|
|
|
|
padding: var(--popup-gap) var(--popup-gap-thin);
|
|
|
|
}
|
2022-09-08 08:04:08 -06:00
|
|
|
:root.mobile #moreOrLess > span {
|
|
|
|
padding: var(--popup-gap);
|
|
|
|
}
|
2022-09-07 08:15:36 -06:00
|
|
|
|
|
|
|
/* horizontally-constrained viewport */
|
|
|
|
:root.portrait body {
|
|
|
|
overflow-y: auto;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
:root.portrait #main {
|
|
|
|
max-width: unset;
|
|
|
|
}
|
|
|
|
/* mouse-driven devices */
|
|
|
|
:root.desktop {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
:root.desktop body {
|
|
|
|
--popup-gap: calc(var(--font-size) * 0.875);
|
|
|
|
}
|
|
|
|
:root.desktop .rulesetTools [id]:hover {
|
|
|
|
background-color: var(--popup-ruleset-tool-surface-hover);
|
|
|
|
}
|
|
|
|
:root.desktop .rulesetTools [id]:hover > svg {
|
|
|
|
fill: var(--ink-2);
|
|
|
|
}
|
|
|
|
:root.desktop .tool:hover {
|
|
|
|
background-color: var(--popup-toolbar-surface-hover);
|
|
|
|
}
|
|
|
|
:root.desktop #moreOrLess > span:hover {
|
|
|
|
background-color: var(--surface-2);
|
|
|
|
/* background-color: var(--popup-toolbar-surface-hover); */
|
|
|
|
}
|
2022-09-15 11:14:08 -06:00
|
|
|
|
|
|
|
#templates {
|
|
|
|
display: none;
|
|
|
|
}
|