You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nuTensor/src/css/popup.css

644 lines
13 KiB
CSS

/*******************************************************************************
uMatrix - a browser extension to black/white list requests.
Copyright (C) 2014-present Raymond Hill
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see {http://www.gnu.org/licenses/}.
Home: https://github.com/gorhill/uMatrix
*/
10 years ago
body {
background-color: white;
10 years ago
border: 0;
float: left;
font: 14px httpsb,sans-serif;
margin: 0;
min-height: 16em;
10 years ago
min-width: 32em;
opacity: 1;
overflow-x: hidden;
10 years ago
overflow-y: auto;
padding: 0;
position: relative;
10 years ago
}
*:focus {
outline: none;
}
a {
color: inherit;
text-decoration: none;
}
10 years ago
.fa-icon:hover {
background-color: #eee;
}
#version {
font-size: 10px;
font-weight: normal;
}
#gotoDashboard {
background-color: #444;
border: 0;
color: #bbb;
cursor: pointer;
font: 12px/1 sans-serif;
margin: 0;
padding: 3px 0;
position: relative;
text-align: center;
}
10 years ago
.paneHead {
background-color: white;
10 years ago
padding: 0;
position: sticky;
top: 0;
z-index: 100;
10 years ago
}
.paneHead > a:first-child {
background-color: #444;
border: 0;
border-bottom: 1px solid white;
color: #bbb;
cursor: pointer;
display: block;
font-family: sans-serif;
line-height: 12px;
10 years ago
margin: 0;
padding: 2px 0;
text-align: center;
}
#toolbarContainer {
7 years ago
display: flex;
justify-content: space-between;
}
.toolbar {
10 years ago
border: 0;
display: inline-flex;
margin: 0;
padding: 0;
}
10 years ago
.toolbar .fa-icon {
cursor: pointer;
font-size: 150%;
padding: 0.3em 0.4em;
}
.toolbar .fa-icon.scopeRel {
fill: #24c;
}
body[data-scope="*"] .toolbar .fa-icon.scopeRel {
fill: #000;
}
10 years ago
body .toolbar button {
background-color: white;
border: 0;
color: black;
10 years ago
cursor: pointer;
margin: 0;
padding: 0.2em 0.2em 0.1em 0.2em;
position: relative;
10 years ago
}
body .toolbar button:hover {
background-color: #eee;
}
body .toolbar button.disabled {
color: #ccc;
}
#mtxSwitch_matrix-off.switchTrue {
color: #a00;
fill: #a00;
}
10 years ago
#mtxSwitches > li {
align-items: center;
color: #888;
display: flex;
}
#mtxSwitches > li.switchTrue {
color: #000;
}
#mtxSwitches > li > svg {
display: inline;
height: 1em;
margin-right: 0.4em;
width: 1.5em;
}
#mtxSwitches > li > svg * {
fill-opacity: 1;
opacity: 1;
stroke: none;
}
#mtxSwitches > li > svg > * {
fill: #bbb;
}
#mtxSwitches > li.relevant > svg .dot {
fill: #aaa;
}
#mtxSwitches > li.switchTrue.relevant > svg .dot {
fill: #eee;
}
#mtxSwitches > li > svg .off,
#mtxSwitches > li.switchTrue > svg .on,
#mtxSwitches > li.relevant > svg .dot {
display: block;
}
#mtxSwitches > li > svg .on,
#mtxSwitches > li > svg .dot,
#mtxSwitches > li.switchTrue > svg .off {
display: none;
}
#mtxSwitches > li > span[data-i18n] {
flex-grow: 1;
10 years ago
}
#mtxSwitches > li > a {
color: #000;
opacity: 0;
}
#mtxSwitches > li:hover > a {
opacity: 0.1;
}
#mtxSwitches > li > a:hover {
opacity: 0.8;
}
#mtxSwitches > li.unsupported {
cursor: default;
}
#mtxSwitches > li.unsupported > svg .on,
#mtxSwitches > li.unsupported > svg .off {
display: none;
}
10 years ago
.dropdown-menu-capture {
background-color: rgba(0,0,0,0.2);
10 years ago
border: 0;
bottom: 0;
display: none;
left: 0;
margin: 0;
padding: 0;
position: fixed;
right: 0;
top: 0;
z-index: 300;
}
.dropdown-menu-capture.dropdown-menu-centered > .dropdown-menu {
left: 4em;
right: 4em;
}
.dropdown-menu-capture.show {
display: block;
}
.dropdown-menu {
border: 0;
display: inline-block;
margin: 0;
padding: 3px 0 0 0;
position: absolute;
10 years ago
white-space: normal;
}
.dropdown-menu > ul {
margin: 0;
border: 0;
border: 1px solid #ccc;
border-radius: 4px;
padding: 0;
10 years ago
background-color: white;
list-style-type: none;
}
.dropdown-menu > ul > li.dropdown-menu-entry {
border: 0;
color: black;
cursor: pointer;
margin: 0;
padding: 0.2em 0.25em;
white-space: nowrap;
10 years ago
}
.dropdown-menu > ul > li.dropdown-menu-entry:hover {
background: #eee;
}
.dropdown-menu > ul > li.dropdown-menu-entry-divider {
border-top: 1px solid #ccc;
margin: 0.5em 0;
10 years ago
}
.dropdown-menu.show {
display: block;
}
button > span.badge {
background-color: rgba(240,240,240,0.75);
bottom: 1px;
color: #000;
10 years ago
display: inline-block;
font-size: 40%;
padding: 1px 1px;
pointer-events: none;
10 years ago
position: absolute;
right: 1px;
}
button.disabled > span.badge {
display: none;
}
#buttonPresets + .dropdown-menu {
position: fixed;
left: 10vw;
width: 80vw;
}
#dropDownMenuRecipes > .dropdown-menu > ul {
max-height: 70vh;
min-width: 50vw;
overflow: auto;
10 years ago
}
#dropDownMenuRecipes li > ul {
margin-left: 1em;
padding: 0;
10 years ago
}
.recipe {
list-style-type: none;
white-space: nowrap;
10 years ago
}
.recipe > div {
align-items: baseline;
display: flex;
justify-content: space-between;
10 years ago
}
.recipe > div > span {
10 years ago
color: #888;
fill: #888;
10 years ago
}
.recipe > div > span:hover {
color: #000;
fill: #000;
10 years ago
}
.recipe .expander {
display: inline-block;
padding: 0.4em;
width: 0.8em;
10 years ago
}
.recipe .expander::before {
content: '+';
font-family: sans-serif;
10 years ago
}
.recipe.expanded .expander::before {
content: '\2212';
10 years ago
}
.recipe .name {
color: #000;
cursor: default;
flex-grow: 1;
padding: 0.4em 0;
10 years ago
}
.recipe .importer,
.recipe .committer {
cursor: pointer;
display: none;
font-size: 100%;
padding-right: 0.5em;
text-align: center;
10 years ago
}
.recipe.mustImport .importer,
.recipe.mustCommit:not(.mustImport) .committer {
display: inline-block;
}
.recipe:hover {
background-color: #eef;
}
.recipe .ruleset {
display: none;
font: smaller monospace;
padding: 0 0.5em 0.5em 2em;
white-space: pre;
}
.recipe.expanded .ruleset {
display: block;
10 years ago
}
7 years ago
body .toolbar .scopeRel {
color: #24c;
}
body[data-scope="*"] .toolbar .scopeRel {
7 years ago
color: #000;
}
body[data-scope="*"] .toolbar .scopeRel.disabled {
color: #ccc;
}
10 years ago
body.embedded [data-extension-url],
body.tabless .needtab {
display: none;
}
10 years ago
.matrix {
text-align: left;
}
.matRow {
display: flex;
10 years ago
white-space: nowrap;
}
.matCell {
margin: 1px 1px 0 0;
padding: 6px 2px;
10 years ago
display: inline-block;
box-sizing: content-box;
width: 2.6em;
10 years ago
white-space: nowrap;
text-align: center;
line-height: 110%;
position: relative;
}
7 years ago
#matHead {
padding-bottom: 1px;
7 years ago
padding-top: 1px;
}
10 years ago
.paneHead .matCell:nth-child(2) {
letter-spacing: -0.3px;
}
.paneContent .matrix .matRow > .matCell:first-child {
font-weight: 100;
}
.paneContent .matrix .matRow > .matCell:first-child > b {
font-weight: normal;
}
10 years ago
/* RFC 3987 Internationalized Resource Identifiers (IRIs) -- 4.4 */
10 years ago
.matrix .matRow > .matCell:first-child {
10 years ago
direction: ltr;
text-align: right;
10 years ago
unicode-bidi: embed;
width: 16em;
}
.matrix .matGroup.g4 .matRow.ro > .matCell:first-child {
direction: inherit;
10 years ago
}
.matrix .matRow.l2 > .matCell:first-child {
}
.matrix .matRow > .matCell:hover {
}
.matrix .matGroup .matSection {
border: 0;
padding: 0;
}
.matrix .matGroup .matSection:hover {
10 years ago
}
.matrix .matGroup.g0 .matSection:first-child {
margin-top: 0;
}
.matrix .matGroup.g4 .matSection:first-child {
10 years ago
margin-top: 0;
}
/* Collapsing of domains */
.matrix .matSection .matRow.meta {
display: none;
}
.matrix .matSection.collapsible.collapsed .matRow.meta {
display: flex;
10 years ago
}
.matrix .matSection.collapsible.collapsed .matRow.l1:not(.meta) {
display: none;
}
.matrix .matSection.collapsible.collapsed .matRow.l2.collapsible {
display: none;
}
/* Collapsing of blacklisted */
.matrix .matGroup.g4 {
margin-bottom: 1px;
}
.matrix .g4Meta {
10 years ago
margin: 0;
padding: 0;
border: 0;
height: 6px;
10 years ago
background: url('../img/matrix-group-hide.png') no-repeat center top,
url('../img/matrix-group-hline.png') repeat-x center top 3px;
10 years ago
opacity: 0.2;
cursor: pointer;
}
.matrix .g4Meta:hover {
10 years ago
opacity: 0.4;
}
.matrix .g4Meta.g4Collapsed {
10 years ago
background: url('../img/matrix-group-show.png') no-repeat center top,
url('../img/matrix-group-hline.png') repeat-x center top 3px;
10 years ago
}
.matrix .g4Meta.g4Collapsed ~ .matSection {
10 years ago
display: none;
}
body.powerOff .matrix .g4Meta.g4Collapsed ~ .matSection {
10 years ago
display: block;
}
.matrix .g4Meta ~ .matRow.ro {
10 years ago
display: none;
}
.matrix .g4Meta.g4Collapsed ~ .matRow.ro {
display: flex;
10 years ago
}
body.powerOff .matrix .g4Meta.g4Collapsed ~ .matRow.ro {
10 years ago
display: none;
}
.matrix .matGroup .g4Meta + *,.matrix .matGroup .g4Meta + * + * {
10 years ago
margin-top: 0;
padding-top: 0;
}
/* Cell coloring */
10 years ago
.t81 {
10 years ago
color: white;
background-color: #c00;
}
10 years ago
.t82 {
10 years ago
color: white;
background-color: #080;
}
10 years ago
.t1 {
10 years ago
color: black;
background-color: #f8d0d0;
}
10 years ago
.t2 {
10 years ago
color: black;
background-color: #d0f0d0;
}
10 years ago
.matCell.p81 {
10 years ago
background-image: url('../img/permanent-black-small.png');
10 years ago
background-repeat: no-repeat;
background-position: -1px -1px;
}
10 years ago
.matCell.p82 {
10 years ago
background-image: url('../img/permanent-white-small.png');
10 years ago
background-repeat: no-repeat;
background-position: -1px -1px;
}
/* Cell coloring for color blind-friendly (hopefully) */
10 years ago
body.colorblind .t81 {
10 years ago
color: white;
background-color: rgb(0, 19, 110);
10 years ago
}
10 years ago
body.colorblind .t82 {
10 years ago
color: black;
background-color: rgb(255, 194, 57);
10 years ago
}
10 years ago
body.colorblind .t1 {
color: black;
background-color: rgba(0, 19, 110, 0.2);
10 years ago
}
10 years ago
body.colorblind .t2 {
10 years ago
color: black;
background-color: rgba(255, 194, 57, 0.2);
10 years ago
}
10 years ago
body.colorblind .matCell.p81 {
10 years ago
background-image: url('../img/permanent-black-small-cb.png');
10 years ago
}
10 years ago
body.colorblind .matCell.p82 {
10 years ago
background-image: url('../img/permanent-white-small-cb.png');
10 years ago
}
.matRow.rw .matCell {
cursor: pointer;
}
body.powerOff .matRow.rw .matCell {
cursor: auto;
opacity: 0.6;
}
#cellHotspots {
margin: 0;
border: 0;
padding: 0;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 10;
}
#whitelist, #blacklist {
margin: 0;
border: 0;
padding: 0;
position: absolute;
left: 0;
width: 100%;
height: 50%;
background: transparent;
}
#whitelist {
top: 0;
}
#blacklist {
top: 50%;
}
body.powerOff #whitelist, body.powerOff #blacklist {
display: none;
}
10 years ago
.rw .matCell.t1 #whitelist:hover {
10 years ago
background-color: #080;
opacity: 0.25;
}
body.colorblind .rw .matCell.t1 #whitelist:hover,
body.colorblind .rw .matCell.t2 #whitelist:hover {
background-color: rgb(255, 194, 57);
10 years ago
opacity: 0.6;
}
10 years ago
.rw .matCell.t2 #whitelist:hover {
10 years ago
background-color: #080;
opacity: 0.25;
}
10 years ago
.matCell.t81 #whitelist:hover {
10 years ago
background-color: transparent;
}
10 years ago
.matCell.t82 #whitelist:hover {
10 years ago
background-color: transparent;
}
10 years ago
.rw .matCell.t1 #blacklist:hover {
10 years ago
background-color: #c00;
opacity: 0.25;
}
body.colorblind .rw .matCell.t1 #blacklist:hover,
body.colorblind .rw .matCell.t2 #blacklist:hover {
background-color: rgb(0, 19, 110);
10 years ago
opacity: 0.4;
}
10 years ago
.rw .matCell.t2 #blacklist:hover {
10 years ago
background-color: #c00;
opacity: 0.25;
}
10 years ago
.matCell.t81 #blacklist:hover {
10 years ago
background-color: transparent;
}
10 years ago
.matCell.t82 #blacklist:hover {
10 years ago
background-color: transparent;
}
#domainOnly {
align-items: center;
background-color: white;
border: 1px solid #ccc;
10 years ago
border-radius: 3px;
bottom: -20%;
color: black;
cursor: pointer;
display: none;
fill: black;
font-size: 100%;
left: 20%;
margin: 0;
10 years ago
opacity: 0.25;
padding: 3px;
position: absolute;
10 years ago
z-index: 10000;
}
.matSection.collapsed #domainOnly,
#matHead.collapsed #domainOnly {
transform: rotate(0.5turn);
transform-origin: center;
10 years ago
}
.matSection.collapsible .matRow.l1 .matCell:nth-of-type(1):hover #domainOnly,
10 years ago
#matHead.collapsible .matRow .matCell:nth-of-type(1):hover #domainOnly {
display: inline-block;
10 years ago
}
#domainOnly:hover {
opacity: 1;
}
/* No data was found for the tab */
body.noTabFound .paneHead,
body.noTabFound .paneContent {
display: none;
}
body.noTabFound #noTabFound {
align-items: center;
color: gray;
display: flex;
font-size: xx-large;
height: 100vh;
justify-content: center;
}
/* Mobile-friendly rules */
body.hConstrained {
overflow-x: auto;
}
body[data-touch="true"] .matCell {
line-height: 200%;
}