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

640 lines
13 KiB
CSS

10 years ago
body {
background-color: white;
10 years ago
border: 0;
float: left;
10 years ago
font: 13px 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
#version {
font-size: 10px;
font-weight: normal;
}
#gotoDashboard {
background-color: #444;
border: 0;
color: #bbb;
cursor: pointer;
display: block;
font-size: 12px;
line-height: 12px;
margin: 0;
padding: 3px 0;
position: relative;
text-align: center;
}
#gotoDashboard > span:last-of-type {
opacity: 0.5;
position: absolute;
}
body[dir="ltr"] #gotoDashboard > span:last-of-type {
left: 3px;
}
body[dir="rtl"] #gotoDashboard > span:last-of-type {
right: 3px;
}
10 years ago
.paneHead {
background-color: white;
left: 0;
10 years ago
padding: 0;
position: fixed;
right: 0;
top: 0;
z-index: 100;
10 years ago
}
.paneContent {
padding-top: 5.5em;
}
.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: 02px 0;
text-align: center;
}
#toolbarContainer {
7 years ago
display: flex;
flex-direction: row;
justify-content: space-between;
}
.toolbar {
10 years ago
border: 0;
display: inline-block;
margin: 0;
padding: 0;
10 years ago
vertical-align: top;
white-space: nowrap;
}
10 years ago
body .toolbar button {
margin: 0;
border: 0;
padding: 4px;
font: inherit;
background-color: white;
color: black;
10 years ago
opacity: 0.9;
cursor: pointer;
vertical-align: top;
}
body .toolbar button:hover {
background-color: #eee;
opacity: 1;
}
body .toolbar button.disabled {
color: #ccc;
}
body .toolbar button.fa {
10 years ago
font: 1.75em FontAwesome;
10 years ago
min-width: 1.1em;
}
#mtxSwitch_matrix-off.switchTrue {
color: #a00;
}
10 years ago
#mtxSwitches > li {
color: #888;
}
#mtxSwitches > li.switchTrue {
color: #000;
}
#mtxSwitches > li:before {
font: 110% FontAwesome;
}
body[dir="ltr"] #mtxSwitches > li:before {
padding-right: 0.5em;
}
body[dir="rtl"] #mtxSwitches > li:before {
padding-left: 0.5em;
}
#mtxSwitches > li:before {
10 years ago
content: '\f204';
}
#mtxSwitches > li.switchTrue:before {
color: #000;
content: '\f205';
}
10 years ago
10 years ago
.dropdown-menu {
margin: 0;
border: 0;
display: none;
font-size: 110%;
10 years ago
padding: 3px 0 0 0;
position: fixed;
10 years ago
white-space: normal;
z-index: 50;
10 years ago
}
.dropdown-menu > ul {
margin: 0;
border: 0;
border: 1px solid #ccc;
border-radius: 4px;
padding: 0.25em;
background-color: white;
list-style-type: none;
}
.dropdown-menu > ul > li.dropdown-menu-entry {
border: 0;
color: black;
cursor: pointer;
margin: 0;
padding: 4px 0.5em;
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;
}
.dropdown-menu-capture {
margin: 0;
border: 0;
padding: 0;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: transparent;
opacity: 0.1;
display: none;
z-index: 40;
}
.dropdown-menu.show ~ .dropdown-menu-capture {
display: block;
}
#buttonReload {
10 years ago
margin-left: 1em;
10 years ago
}
button > span.badge {
padding: 1px 1px;
display: inline-block;
font-size: 40%;
position: absolute;
right: 1px;
bottom: 1px;
color: #000;
background-color: rgba(240,240,240,0.75)
}
button.disabled > span.badge {
display: none;
}
#buttonPresets + .dropdown-menu {
position: fixed;
left: 10vw;
width: 80vw;
}
.presetInfo {
margin: 0.25em 0.5em;
text-align: center;
}
.presetEntry {
margin: 0.25em 0.25em;
border-radius: 3px;
padding: 0.5em;
display: inline-block;
cursor: pointer;
background-color: #eee;
}
.presetEntry .fa {
margin-right: 0.25em;
font-size: 110%;
}
.presetEntry:hover {
background-color: #80e2ff;
}
#presetMore > *:first-child {
margin: 0;
padding: 0;
text-align: center;
color: #888;
cursor: pointer;
font-size: 13px;
}
#presetMore > *:first-child + div {
margin: 0.25em 0 0 0;
padding: 0.25em 0 0 0;
display: none;
text-align: center;
}
#presetMore > *:first-child + div.show {
display: block;
}
#presetMore > *:first-child + div > * {
vertical-align: middle;
}
#presetMoreRecipe {
border: 1px solid #aaa;
width: 75%;
height: 4em;
overflow: hidden;
resize: none;
font-size: 10px;
color: #888;
}
#presetMoreRecipe.bad {
border: 1px solid #fcc;
color: #aaa;
}
#presetMoreWrite.bad {
visibility: hidden;
}
/* I think this is obsolete */
.dropdown-menu > li > a > i {
padding: 0 6px;
font-size: 1.2em;
}
7 years ago
body .toolbar .scope {
background-color: #ccc;
border: 1px solid #ccc;
10 years ago
box-sizing: content-box;
-moz-box-sizing: content-box;
10 years ago
color: white;
7 years ago
display: inline-block;
line-height: 2em;
margin: 0;
padding: 1px;
cursor: pointer;
white-space: nowrap;
10 years ago
}
7 years ago
body .toolbar #specificScope {
display: inline-flex;
justify-content: flex-end;
10 years ago
text-align: right;
7 years ago
width: 16em;
10 years ago
}
7 years ago
body .toolbar #specificScope.on {
background-color: #24c;
border-color: #24c;
}
body .toolbar #specificScope > span {
background-color: #ccc;
display: inline-block;
height: 100%;
10 years ago
}
7 years ago
body .toolbar #specificScope > span.on {
10 years ago
background-color: #24c;
}
7 years ago
body .toolbar #specificScope > span:first-of-type {
flex: 1;
}
body .toolbar #globalScope {
margin-left: 1px;
7 years ago
text-align: center;
width: 2em;
}
body .toolbar #globalScope.on {
background-color: #000;
border-color: #000;
}
body .toolbar .scopeRel {
color: #24c;
}
body.globalScope .toolbar .scopeRel {
color: #000;
}
body.globalScope .toolbar .scopeRel.disabled {
color: #ccc;
}
10 years ago
.matrix {
text-align: left;
}
.matRow {
white-space: nowrap;
}
.matCell {
margin: 1px 1px 0 0;
border: 1px dotted rgba(0,0,0,0.2);
padding: 6px 1px 3px 1px;
display: inline-block;
box-sizing: content-box;
-moz-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 {
border-top: 1px dotted #ccc;
padding-top: 1px;
margin: 1px 0 0 0;
}
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 {
margin-left: 1px;
width: calc(16em - 1px);
}
.matrix .matRow > .matCell:hover {
border-style: solid;
}
.matrix .matGroup .matSection {
margin: 2px 0 0 0;
border: 0;
padding: 0;
/* background-color: rgba(0,0,0,0.05); */
}
.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: block;
}
.matrix .matSection.collapsible.collapsed .matRow.l1:not(.meta) {
display: none;
}
.matrix .matSection.collapsible.collapsed .matRow.l2.collapsible {
display: none;
}
/* Collapsing of blacklisted */
.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 {
10 years ago
display: block;
}
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
border-color: #debaba;
color: black;
background-color: #f8d0d0;
}
10 years ago
.t2 {
10 years ago
border-color: #bad6ba;
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 {
border-color: rgb(255, 194, 57);
10 years ago
color: black;
background-color: rgb(255, 194, 57);
10 years ago
}
10 years ago
body.colorblind .t1 {
border-color: rgba(0, 19, 110, 0.3);
color: black;
background-color: rgba(0, 19, 110, 0.2);
10 years ago
}
10 years ago
body.colorblind .t2 {
border-color: rgba(255, 194, 57, 0.3);
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;
}
.top {
font-weight: bold;
}
#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 {
margin: 0;
border: 1px solid gray;
border-radius: 3px;
padding: 0 1px;
position: absolute;
font-size: 1.1em;
left: 20%;
bottom: -20%;
10 years ago
display: none;
10 years ago
color: black;
background-color: white;
opacity: 0.25;
z-index: 10000;
cursor: pointer;
}
.matSection #domainOnly .fa:before {
content: '\f106';
}
.matSection.collapsed #domainOnly .fa:before {
content: '\f107';
}
.matSection.collapsible .matRow.l1 .matCell:nth-of-type(1):hover #domainOnly {
10 years ago
display: block;
10 years ago
}
#matHead #domainOnly .fa:before {
content: '\f106';
}
#matHead.collapsed #domainOnly .fa:before {
content: '\f107';
}
#matHead.collapsible .matRow .matCell:nth-of-type(1):hover #domainOnly {
10 years ago
display: block;
10 years ago
}
#domainOnly:hover {
opacity: 1;
}
/* Mobile-friendly rules */
body.hConstrained {
overflow-x: auto;
}
body.hConstrained .paneHead {
left: auto;
position: absolute;
right: auto;
width: 100%;
}
body[data-touch="true"] .matCell {
line-height: 200%;
}