@nodesecure/cli
Version:
Node.js security CLI
399 lines (395 loc) • 9.54 kB
CSS
/* workspaces/documentation-ui/src/css/header.css */
.documentation--header {
flex-basis: 110px;
background: #3722AF;
display: flex;
flex-direction: column;
flex-shrink: 0;
padding-left: 10px;
border-bottom: 1px solid #00D1FF;
box-sizing: border-box;
}
.documentation--header > .title {
height: 80px;
display: flex;
align-items: center;
}
.documentation--header > .title > img {
width: 70px;
margin-right: 10px;
filter: invert(100%) sepia(0%) saturate(7494%) hue-rotate(315deg) brightness(96%) contrast(107%);
}
.documentation--header > .title > p {
font-family: "system-ui";
letter-spacing: 1px;
font-weight: bold;
font-size: 26px;
display: flex;
align-items: center;
text-shadow: 2px 2px 10px rgba(20, 20, 20, 0.4);
}
.documentation--header > ul {
height: 30px;
flex-shrink: 0;
display: flex;
}
.documentation--header > ul li {
display: flex;
align-items: flex-start;
padding: 0 20px;
font-family: "Roboto";
font-weight: bold;
position: relative;
}
.documentation--header > ul li:not(.active):hover {
cursor: pointer;
color: #D1C4E9;
}
.documentation--header > ul li.active {
color: #B3E5FC;
}
.documentation--header > ul li.active::after {
height: 4px;
width: 80%;
background: #00D1FF;
border-radius: 4px 4px 0 0;
position: absolute;
left: 10%;
bottom: 0;
content: "";
}
.documentation--header > ul li + li {
margin-left: 40px;
}
/* workspaces/documentation-ui/src/css/navigation.css */
.navigation--item {
position: relative;
height: 40px;
background: -moz-linear-gradient(left, rgba(207, 216, 220, 1) 0%, rgba(255, 255, 255, 0) 100%);
background: -webkit-linear-gradient(left, rgba(207, 216, 220, 1) 0%, rgba(255, 255, 255, 0) 100%);
background:
linear-gradient(
to right,
rgba(207, 216, 220, 1) 0%,
rgba(255, 255, 255, 0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#cfd8dc", endColorstr="#00ffffff", GradientType=1);
border-left: 2px solid #90A4AE;
border-radius: 6px 0px 0px 6px;
box-sizing: border-box;
display: flex;
justify-content: flex-start;
align-items: center;
padding: 10px;
transition: all 0.4s ease;
flex-shrink: 0;
}
.navigation--item.active {
background: -moz-linear-gradient(left, rgba(0, 209, 255, 0.57) 0%, rgba(255, 255, 255, 0) 100%);
background: -webkit-linear-gradient(left, rgba(0, 209, 255, 0.57) 0%, rgba(255, 255, 255, 0) 100%);
background:
linear-gradient(
to right,
rgba(0, 209, 255, 0.57) 0%,
rgba(255, 255, 255, 0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#9100d1ff", endColorstr="#00ffffff", GradientType=1);
border-left: 2px solid #00D1FF;
}
.navigation--item:not(.active):hover {
cursor: pointer;
background: -moz-linear-gradient(left, rgba(179, 207, 219, 1) 0%, rgba(255, 255, 255, 0) 100%);
background: -webkit-linear-gradient(left, rgba(179, 207, 219, 1) 0%, rgba(255, 255, 255, 0) 100%);
background:
linear-gradient(
to right,
rgba(179, 207, 219, 1) 0%,
rgba(255, 255, 255, 0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#b3cfdb", endColorstr="#00ffffff", GradientType=1);
border-left: 2px solid #73838b;
}
.navigation--item + .navigation--item {
margin-top: 10px;
}
.navigation--item > p.description,
.navigation--item > p.icon {
font-size: 20px;
}
.navigation--item > p.icon {
margin-right: 10px;
}
.navigation--item > p.description {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #37474F;
}
@media screen and (max-width: 1600px) {
.documentation--warnings .documentation--navigation {
width: auto ;
}
.documentation--flags .navigation--item > p.icon {
margin-right: 0px;
}
.documentation--flags .navigation--item > p.description {
display: none;
}
}
/* workspaces/documentation-ui/src/css/content.css */
.documentation--content > div {
display: flex;
flex-direction: column;
color: #455A64;
font-weight: 400;
font-size: 18px;
margin: 10px;
overflow-x: hidden;
}
.documentation--content img {
max-width: 100%;
}
.documentation--content div > span {
background: #b8e9ff;
padding: 2px;
border-radius: 2px;
color: #0f1126;
margin: 0 2px;
}
.documentation--content b {
color: #263238;
font-weight: 600;
}
.documentation--content a {
color: #1e00ff;
}
.documentation--content h1 {
color: #263238;
height: 50px;
margin-bottom: 1rem;
text-align: center;
line-height: 50px;
font-family: system-ui;
font-size: 30px;
letter-spacing: 0.5px;
}
.documentation--content h2 {
color: #3722AF;
height: 26px;
font-size: 22px;
border-bottom: 1px solid #3722AF;
margin-top: 2rem;
margin-bottom: 1rem;
font-weight: bold;
}
.documentation--content ul + h2 {
margin-top: 1rem ;
}
.documentation--content h3 {
height: 26px;
font-size: 18px;
margin-top: 1rem;
margin-bottom: 0.5rem;
border-bottom: 1px solid #d4d4d4;
font-weight: bold;
}
.documentation--content kbd {
background:
linear-gradient(
to bottom,
rgba(238, 238, 238, 1) 0%,
rgba(229, 229, 229, 1) 100%);
padding: 1px 5px;
border-radius: 4px;
border: 2px solid #cdcdcd;
}
.documentation--content p {
text-align: justify;
line-height: 1.50;
color: #314249;
margin-right: 10px;
}
.documentation--content p > code {
background: #feffd5;
padding: 1px 5px;
border-radius: 4px;
}
.documentation--content p + p {
margin-top: 10px;
}
.documentation--content p.note {
border-left: 3px solid #01579B;
padding: 10px 15px;
background: #81d4fa59;
color: #283593;
font-weight: 400;
border-radius: 2px;
box-sizing: border-box;
}
.documentation--content blockquote {
background: #81d4fa59;
color: #283593 ;
border-left: 5px solid #01579B;
margin: 0.5em 10px;
padding: 0.5em 10px;
}
.documentation--content blockquote p {
display: inline;
}
.documentation--content blockquote strong,
.documentation--content blockquote code {
font-weight: bold;
}
.documentation--content p.note > span {
background: #FFF9C4;
}
.documentation--content ul {
margin: 0.5rem 0;
box-shadow: 1px 1px 10px rgba(20, 20, 20, 0.205);
margin-right: 10px;
}
.documentation--content ul li {
padding: 7px 10px;
border-radius: 4px;
background: #FFF;
}
.documentation--content ul li + li {
margin-top: 3px;
}
.documentation--content ul li:before {
content: "\2022 ";
}
.documentation--content ul li a {
color: #1976D2;
}
.documentation--content ul li strong,
.documentation--content ul li code {
font-weight: bold;
}
table {
width: 100%;
border-spacing: 2px;
table-layout: fixed;
}
table thead tr th {
font-weight: bold;
background: #3722AF;
color: #FFF;
height: 40px;
cursor: pointer;
line-height: 40px;
}
table tbody tr {
background: rgba(55, 55, 55, 0.1);
}
table tr td {
height: 30px;
line-height: 30px;
color: #263238;
}
table tr td,
table tr th {
font-size: 14px;
font-family: "mononoki";
border: 2px solid rgba(55, 71, 79, 0.30);
text-align: center;
letter-spacing: 0.5px;
word-wrap: break-word;
padding: 0 10px;
}
pre {
background: #263238;
white-space: pre;
word-wrap: break-word;
overflow: auto;
border-radius: 4px;
flex-shrink: 0;
margin-top: 10px ;
margin-right: 10px ;
}
pre + p {
margin-top: 10px;
}
pre code.hljs {
font-size: 16px;
}
pre code {
font-family:
"Inconsolata",
"Monaco",
"Consolas",
"Andale Mono",
"Bitstream Vera Sans Mono",
"Courier New",
Courier,
monospace;
display: block;
padding: 15px 16px 14px;
overflow-x: auto;
font-size: 13px;
line-height: 19px;
}
/* workspaces/documentation-ui/src/css/main.css */
.documentation--main {
display: flex;
flex-direction: column;
position: relative;
font-family: "Roboto";
height: 100%;
}
.documentation--sub-container {
display: flex;
position: relative;
flex-grow: 1;
height: calc(100% - 110px);
box-sizing: border-box;
}
.documentation--sub-container > .documentation--navigation,
.documentation--sub-container > .documentation--content {
display: flex;
flex-direction: column;
height: 100%;
box-sizing: border-box;
}
.documentation--sub-container > .documentation--navigation {
flex-shrink: 0;
max-width: 270px;
padding: 10px;
overflow: auto;
background: #f4f6f7;
}
.documentation--warnings .documentation--navigation {
width: 270px;
}
.documentation--sub-container > .documentation--content {
overflow: auto;
flex-grow: 1;
background: #dfe7e9;
}
.documentation--main ::-webkit-scrollbar {
width: 8px;
border-radius: 4px;
}
.documentation--main ::-webkit-scrollbar-track-piece {
background: transparent none;
border: solid 4px transparent;
border-right-width: 6px;
margin: 4px;
}
.documentation--main ::-webkit-scrollbar-track-piece:horizontal {
border-right-width: 4px;
border-bottom-width: 8px;
}
.documentation--main ::-webkit-scrollbar-thumb {
border: solid 0 transparent;
border-right-width: 4px;
-webkit-border-radius: 5px;
-webkit-border-top-right-radius: 9px 5px;
-webkit-border-bottom-right-radius: 9px 5px;
-webkit-box-shadow: inset 0 0 0 1px #3722AF, inset 0 0 0 6px #3f27c7;
}
.documentation--main ::-webkit-scrollbar-thumb:horizontal {
border-right-width: 0;
border-bottom-width: 4px;
-webkit-border-top-right-radius: 5px;
-webkit-border-bottom-right-radius: 5px 9px;
-webkit-border-bottom-left-radius: 5px 9px;
}
/*# sourceMappingURL=main.css.map */