UNPKG

@nodesecure/cli

Version:
2,336 lines (2,314 loc) 73.3 kB
/* public/css/reset.css */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; } article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ""; content: none; } /* public/css/light.css */ :root { --primary-theme-color: #FFF; --primary-darker: #261877; --primary: #3722AF; --primary-lighter: #5A44DA; --secondary: #00D1FF; --secondary-darker: #1976D2; } body { color: var(--primary-theme-color); background: rgb(255, 255, 255); background: -moz-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 15%, rgba(208, 220, 221, 1) 100%); background: -webkit-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 15%, rgba(208, 220, 221, 1) 100%); background: radial-gradient( ellipse at center, rgba(255, 255, 255, 1) 15%, rgba(208, 220, 221, 1) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#d0dcdd", GradientType=1); } /* public/css/animation.css */ .lds-ellipsis { display: inline-block; position: relative; width: 80px; height: 80px; } .lds-ellipsis div { position: absolute; top: 33px; width: 13px; height: 13px; border-radius: 50%; background: var(--primary); animation-timing-function: cubic-bezier(0, 1, 1, 0); } .lds-ellipsis div:nth-child(1) { left: 8px; animation: lds-ellipsis1 0.6s infinite; } .lds-ellipsis div:nth-child(2) { left: 8px; animation: lds-ellipsis2 0.6s infinite; } .lds-ellipsis div:nth-child(3) { left: 32px; animation: lds-ellipsis2 0.6s infinite; } .lds-ellipsis div:nth-child(4) { left: 56px; animation: lds-ellipsis3 0.6s infinite; } @keyframes lds-ellipsis1 { 0% { transform: scale(0); } 100% { transform: scale(1); } } @keyframes lds-ellipsis3 { 0% { transform: scale(1); } 100% { transform: scale(0); } } @keyframes lds-ellipsis2 { 0% { transform: translate(0, 0); } 100% { transform: translate(24px, 0); } } .slide-in { animation: slide-in 0.8s forwards; -webkit-animation: slide-in 0.8s forwards; } .slide-out { animation: slide-out 0.8s forwards; -webkit-animation: slide-out 0.8s forwards; } .slide-out-documentation { animation: slide-out-documentation 0.8s forwards; -webkit-animation: slide-out-documentation 0.8s forwards; } @keyframes slide-in { 100% { transform: translateX(0%); } } @keyframes slide-out { 0% { transform: translateX(0%); } 100% { transform: translateX(-100%); } } @keyframes slide-out-documentation { 0% { transform: translateX(0%); } 100% { transform: translateX(calc(100%, -26px)); } } /* public/font/fontello/fontello.css */ @font-face { font-family: "fontello"; src: url("../fontello-KB4USTHF.eot?84631897"); src: url("../fontello-KB4USTHF.eot?84631897#iefix") format("embedded-opentype"), url("../fontello-C7WII5DR.woff2?84631897") format("woff2"), url("../fontello-RZQKXXTF.woff?84631897") format("woff"), url("../fontello-TYVGJDH7.ttf?84631897") format("truetype"), url("../fontello-GKO7XPZB.svg?84631897#fontello") format("svg"); font-weight: normal; font-style: normal; } [class^=icon-]:before, [class*=" icon-"]:before { font-family: "fontello"; font-style: normal; font-weight: normal; display: inline-block; text-decoration: inherit; width: 1em; margin-right: .2em; text-align: center; font-variant: normal; text-transform: none; line-height: 1em; margin-left: .2em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .icon-eye:before { content: "\e800"; } .icon-eye-off:before { content: "\e801"; } .icon-chart-bar:before { content: "\e802"; } .icon-chart-pie:before { content: "\e803"; } .icon-chat:before { content: "\e804"; } .icon-attention-circled:before { content: "\e805"; } .icon-book-open:before { content: "\e806"; } .icon-search:before { content: "\e807"; } .icon-link:before { content: "\e808"; } .icon-users:before { content: "\e809"; } .icon-archive:before { content: "\e80a"; } .icon-home:before { content: "\e80b"; } .icon-star-empty:before { content: "\e80c"; } .icon-star:before { content: "\e80d"; } .icon-warning:before { content: "\e80e"; } .icon-warning-empty:before { content: "\e80f"; } .icon-users-1:before { content: "\e810"; } .icon-doc:before { content: "\e811"; } .icon-eye-1:before { content: "\e812"; } .icon-eye-off-1:before { content: "\e813"; } .icon-ok-circled:before { content: "\e814"; } .icon-ok-circled2:before { content: "\e815"; } .icon-cancel-circled:before { content: "\e816"; } .icon-cancel-circled2:before { content: "\e817"; } .icon-book:before { content: "\e818"; } .icon-award:before { content: "\e819"; } .icon-box-1:before { content: "\e81a"; } .icon-vcard:before { content: "\e81b"; } .icon-doc-text:before { content: "\e81c"; } .icon-doc-text-inv:before { content: "\e81d"; } .icon-vcard-1:before { content: "\e81e"; } .icon-left-open-big:before { content: "\e81f"; } .icon-bell-1:before { content: "\e820"; } .icon-right-open-big:before { content: "\e821"; } .icon-globe:before { content: "\e822"; } .icon-cog:before { content: "\e823"; } .icon-code:before { content: "\e824"; } .icon-globe-alt-outline:before { content: "\e825"; } .icon-globe-alt:before { content: "\e826"; } .icon-lock:before { content: "\e827"; } .icon-info-circled:before { content: "\f085"; } .icon-info-circled-alt:before { content: "\f086"; } .icon-docs:before { content: "\f0c5"; } .icon-sitemap:before { content: "\f0e8"; } .icon-plus-squared:before { content: "\f0fe"; } .icon-terminal:before { content: "\f120"; } .icon-fork:before { content: "\f126"; } .icon-unlink:before { content: "\f127"; } .icon-lock-open:before { content: "\f13e"; } .icon-minus-squared:before { content: "\f146"; } .icon-minus-squared-alt:before { content: "\f147"; } .icon-doc-inv:before { content: "\f15b"; } .icon-box:before { content: "\f187"; } .icon-plus-squared-alt:before { content: "\f196"; } .icon-cube:before { content: "\f1b2"; } .icon-cubes:before { content: "\f1b3"; } /* public/font/roboto/roboto.css */ @font-face { font-family: "Roboto"; src: url("../Roboto-Light-6LTSOTTG.ttf"); font-weight: 300; font-style: normal; } @font-face { font-family: "Roboto"; src: url("../Roboto-LightItalic-W2KPB7R3.ttf"); font-weight: 300; font-style: italic; } @font-face { font-family: "Roboto"; src: url("../Roboto-Regular-VY5I3OJX.ttf"); font-weight: 400; font-style: normal; } @font-face { font-family: "Roboto"; src: url("../Roboto-Italic-TEO67APY.ttf"); font-weight: 400; font-style: italic; } @font-face { font-family: "Roboto"; src: url("../Roboto-Medium-V6OQCOK2.ttf"); font-weight: 500; font-style: normal; } @font-face { font-family: "Roboto"; src: url("../Roboto-MediumItalic-G4R2FZYB.ttf"); font-weight: 500; font-style: italic; } @font-face { font-family: "Roboto"; src: url("../Roboto-Bold-RDLB2V6V.ttf"); font-weight: 700; font-style: normal; } @font-face { font-family: "Roboto"; src: url("../Roboto-BoldItalic-FFKIY3TP.ttf"); font-weight: 700; font-style: italic; } /* public/font/mononoki/mononoki.css */ @font-face { font-family: "mononoki"; src: url("../mononoki-Regular-6EX2GR5C.woff"); font-style: normal; } @font-face { font-family: "mononoki"; src: url("../mononoki-Bold-GBHUQ7MT.woff"); font-style: bold; } @font-face { font-family: "mononoki"; src: url("../mononoki-Italic-WOQSQDKU.woff"); font-style: italic; } /* public/components/locker/locker.css */ #network-locker { position: absolute; bottom: 10px; right: 10px; z-index: 30; display: flex; height: 30px; border-radius: 4px; align-items: center; box-sizing: border-box; overflow: hidden; background-color: var(--primary); transition: 0.3s all linear; cursor: pointer; } #network-locker:not(.enabled) { background-color: var(--primary); } #network-locker.enabled { background-color: #af2222; } #network-locker > i { height: inherit; padding: 0 5px; display: flex; align-items: center; border-radius: 4px; margin-right: 10px; transition: 0.3s all linear; } #network-locker > i:not(.enabled) { background-color: var(--primary-lighter); } #network-locker > i.enabled { background-color: #cb3d3d; } #network-locker > p { font-family: "mononoki"; padding-right: 10px; display: flex; align-items: center; height: inherit; text-transform: capitalize; } /* public/components/legend/legend.css */ #legend { position: absolute; right: 10px; bottom: 40px; z-index: 30; max-width: 692px; padding: 4px; border-radius: 0 0 0 1rem; overflow: hidden; transition: transform 0.3s; display: none; flex-direction: column; justify-content: right; flex-wrap: wrap; font-size: 14px; color: #030421; padding: 0 10px 10px 0; border-radius: 4px; } .legend-box { box-sizing: border-box; display: inline-flex; flex-direction: row-reverse; align-items: center; height: 24px; border-radius: 4px; } .legend-badge { display: inline-block; width: 15px; height: 15px; margin: 0 5px; border-radius: 50%; box-shadow: 0 0 10px rgba(0, 0, 0, 0.34); } .legend { font-weight: bold; padding-left: 6px; display: none; } .legend-box:not(:hover) { background: transparent !important; } .legend-box:hover { border: 1px solid rgba(48, 56, 165, 0.6); } .legend-box:hover > .legend { display: flex; align-items: center; } .legend-box:hover .legend-badge { box-shadow: none; } /* public/components/popup/popup.css */ section#popup--background { width: 100%; height: 100%; overflow: hidden; position: fixed; left: 0; top: 0; z-index: 50; display: flex; align-items: center; justify-content: center; background: radial-gradient( ellipse at center, rgba(255, 255, 255, 0) 0%, rgb(30 35 65) 100%); visibility: hidden; opacity: 0; transition: opacity 0.35s ease-in, visibility 0ms ease-in 0.35s; } section#popup--background.show { visibility: visible; opacity: 1; transition: opacity 0.35s ease-in, visibility 0ms ease-in 0ms; } section#popup--background > .popup { pointer-events: all !important; background: #f5f4f4; border-radius: 4px; box-shadow: 5px 5px 15px rgb(23 27 129 / 41%); border-left: 2px solid #ffffff; border-top: 2px solid #FFF; } /* public/components/file-box/file-box.css */ .box-file-info { display: flex; flex-direction: column; padding: 10px; border-top: 2px solid #351ea7; border-left: 2px solid #351ea7; background: -moz-linear-gradient(top, rgba(12, 15, 94, 0.27) 0%, rgba(0, 0, 0, 0) 100%); background: -webkit-linear-gradient(top, rgba(12, 15, 94, 0.27) 0%, rgba(0, 0, 0, 0) 100%); background: linear-gradient( to bottom, rgba(12, 15, 94, 0.27) 0%, rgba(0, 0, 0, 0) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#450c0f5e", endColorstr="#00000000", GradientType=0); border-radius: 4px; box-shadow: 1px 1px 10px rgba(18, 101, 109, 0.1); } .box-file-info + .box-file-info { margin-top: 10px; } .box-file-info > .box-header { display: flex; align-items: center; height: 20px; margin-bottom: 20px; } .box-file-info > .box-header > span { width: 24px; height: 24px; border-radius: 4px; box-sizing: border-box; margin-right: 10px; display: flex; align-items: center; justify-content: center; font-family: "mononoki"; font-weight: bold; text-shadow: 2px 2px 10px #000; } .box-file-info > .box-header > span.Critical { background: #d32f2f; } .box-file-info > .box-header > span.Warning { background: #f08e26; } .box-file-info > .box-header > span.Information { background: #0288d1ab; } .box-file-info > .box-header > .box-title { font-size: 18px; font-variant: small-caps; font-family: "mononoki"; color: #FFF; font-weight: bold; letter-spacing: 1px; text-decoration: none; } .box-file-info > .box-header > a:hover { text-decoration: underline; cursor: pointer; } .box-file-info > .box-header > .box-file { margin-left: auto; color: #B3E5FC; display: flex; } .box-file-info > .box-header > .box-file a { color: inherit; text-decoration: none; } .box-file-info > .box-header > .box-file a:hover { text-decoration: underline; } .box-file-info > .box-header > .box-file i { margin-right: 6px; } .box-file-info > .box-container-licenses { display: flex; flex-wrap: wrap; } .box-file-info > .box-container-licenses > div { flex-grow: 1; flex-basis: 150px; height: 26px; display: flex; align-items: center; box-sizing: border-box; font-weight: 500; color: #D1C4E9; font-family: system-ui; } .box-file-info > .box-container-warning { display: flex; } .box-file-info > .box-container-warning .info { flex-grow: 1; display: flex; flex-direction: column; } .box-file-info > .box-container-warning .info > p.title { font-size: 15px; color: #ede3ff; } .box-file-info > .box-container-warning .info > p.value { font-size: 12px; margin-top: 5px; color: var(--secondary); font-family: "mononoki"; word-break: break-all; } .box-file-info > .box-container-warning .view-more { width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; font-size: 18px; box-sizing: border-box; color: #bfecff; background: #1a237e; border: 2px solid #2d39ac; border-radius: 50%; flex-shrink: 0; margin-left: 10px; transition: all 0.4s ease; } .box-file-info > .box-container-warning .view-more:hover { cursor: pointer; border-color: var(--secondary); color: var(--secondary); } .box-file-info > .box-source-code-position { height: 18px; margin-top: 10px; font-size: 14px; font-family: "system-ui"; display: flex; align-items: center; justify-content: center; } /* public/components/expandable/expandable.css */ span.expandable { display: flex; align-items: center !important; justify-content: center !important; height: 35px; font-size: 13px; font-family: "mononoki"; background: none; color: #00B0FF; text-shadow: 1px 1px 1px rgba(20, 20, 20, 0.5); transition: all 0.2s linear; margin-top: 5px; } span.expandable[data-value=opened] { color: #F44336 !important; } span.expandable:hover { cursor: pointer; } span.expandable i { margin-right: 4px; margin-top: 1px; } .package-scripts > .expandable { margin-top: 10px; } .home--body .expandable { text-shadow: none; font-size: 15px; color: var(--secondary-darker); flex-grow: 1; flex-basis: 100%; margin-top: 10px; } /* public/components/navigation/navigation.css */ nav#aside { width: 70px; flex-shrink: 0; background: var(--primary); position: relative; align-items: center; display: flex !important; flex-direction: column; z-index: 40; } nav#aside > .nsecure-logo { margin-top: 20px; } nav#aside > ul { width: inherit; display: flex; margin-top: 10px; flex-direction: column; flex-grow: 1; margin-bottom: 20px; } nav#aside > ul li { height: 70px; display: flex; position: relative; justify-content: center; align-items: center; } nav#aside > ul li + li { margin-top: 10px; } nav#aside > ul li:not(.active):hover { cursor: pointer; background: rgba(50, 200, 255, 0.085); } nav#aside > ul li.active:before { background: var(--secondary); position: absolute; left: 0; top: 17.5px; height: 35px; width: 4px; border-radius: 0 4px 4px 0; content: ""; } nav#aside > ul li > i { font-size: 24px; } nav#aside > ul li.active, nav#aside > ul li.active span { color: var(--secondary); } nav#aside > ul li > span { position: absolute; left: 10px; bottom: 5px; font-size: 12px; color: #FFF; font-weight: bold; } nav#aside > ul li.bottom-nav { margin-top: auto; } /* public/components/bundlephobia/bundlephobia.css */ section#package-info div.bundlephobia { height: 50px; display: flex; margin-top: 10px; } section#package-info div.bundlephobia > div { height: inherit; box-sizing: border-box; border-radius: 4px; border: 2px dashed var(--secondary); flex-grow: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; box-shadow: 1px 1px 10px rgba(41, 103, 122, 0.3) inset; } section#package-info div.bundlephobia > div + div { margin-left: 10px; } section#package-info div.bundlephobia > div > b { font-weight: 800px; color: var(--secondary); margin-bottom: 5px; font-size: 18px; } section#package-info div.bundlephobia > div > b i { font-family: "mononoki"; font-size: 14px; color: #fce12b; } section#package-info div.bundlephobia > div > span { font-size: 12px; font-family: "mononoki"; } /* public/components/package/header/header.css */ div.package-header { display: flex; flex-direction: column; margin-top: 20px; } div.package-header > .package-name { display: flex; font-family: "mononoki"; text-shadow: 1px 1px 5px rgba(20, 20, 20, 0.5); } div.package-header > .package-name > .name { color: #FFF; font-size: 22px; } div.package-header > .package-name > .version { color: var(--secondary); font-size: 16px; margin-left: 10px; display: flex; align-items: end; } div.package-header > .package-name > .info { background: url("../arrow-right-solid-NU3AXKTK.svg"); background-position: center center; background-repeat: no-repeat; width: 18px; height: 22px; border: none; margin-left: auto; cursor: pointer; filter: invert(71%) sepia(22%) saturate(6942%) hue-rotate(149deg) brightness(101%) contrast(106%); } div.package-header > .package-name > .info-menu { background: #f7f7f7; padding: 16px; border: none; border-radius: 6px; position: absolute; left: 420px; width: 160px; text-shadow: none; } div.package-header > .package-name > .info-menu > .info-menu-title { font-weight: bold; text-align: center; margin-bottom: 12px; color: rgb(39, 38, 38); } div.package-header > .package-name > .info-menu > a { display: block; margin-bottom: 4px; } div.package-header > .description { width: 100%; color: #FFF; text-align: left; font-size: 15px; margin-top: 7px; } div.package-header > ul.flags { display: flex; font-size: 18px; justify-content: center; margin-top: 20px; margin-bottom: 10px; } .flag-infobulle { position: relative; display: inline-block; cursor: pointer; } .flag-infobulle + .flag-infobulle { margin-left: 5px; } .flag-infobulle > span { visibility: hidden; width: 300px; background-color: #000; color: #FFF; text-align: center; border-radius: 3px; padding: 10px; position: absolute; z-index: 21; font-size: 13px; text-shadow: 1px 1px 1px rgba(20, 20, 20, 0.5); top: 150%; left: 50%; margin-left: -140px; font-family: "mononoki"; } .flag-infobulle > span::after { content: ""; position: absolute; bottom: 100%; left: 44%; margin-left: -5px; border-width: 5px; border-style: solid; border-color: transparent transparent #000 transparent; } .flag-infobulle:hover span { visibility: visible; } div.package-header > .links { height: 20px; display: flex; justify-content: center; } div.package-header > .links div { display: flex; height: inherit; align-items: center; } div.package-header > .links div + div { margin-left: 20px; } div.package-header > .links div > img { height: 20px; } div.package-header > .links div > i { font-size: 20px; } div.package-header > .links div > a { margin-left: 6px; color: #FFF; font-size: 14px; text-decoration: none; } div.package-header > .links div > a:hover { text-decoration: underline; } /* public/components/package/pannels/scripts/scripts.css */ .package-scripts { display: flex; flex-direction: column; margin: 10px 0; } .package-scripts .script { display: flex; flex-direction: column; padding: 5px; border-radius: 4px; box-sizing: border-box; } .package-scripts .script.suspicious { background: #8776464f; } .package-scripts .script:nth-child(even) { background: rgba(150, 100, 150, 0.05); } .package-scripts .script + .script { margin-top: 5px; } .package-scripts .script.suspicious p.name { color: #efe493; } .package-scripts .script p.name { color: #B3E5FC; height: 26px; display: flex; align-items: center; letter-spacing: 0.3px; } .package-scripts .script p.value { font-size: 13px; color: #f3e4f8; font-family: "mononoki"; margin-top: 5px; } /* public/components/package/pannels/overview/overview.css */ div.package-maintainers { display: flex; flex-direction: column; margin: 10px 0; } div.package-maintainers > div { display: flex; height: 40px; margin-bottom: 6px; box-sizing: border-box; border-radius: 4px; overflow: hidden; background: linear-gradient( to right, rgb(43 68 137) 0%, rgba(255, 255, 255, 0) 100%); } div.package-maintainers > div.clickable:hover { background: linear-gradient( to right, rgb(43, 87, 137) 0%, rgba(255, 255, 255, 0) 100%); cursor: pointer; color: yellow; } div.package-maintainers > div > img { width: 40px; margin-right: 6px; } div.package-maintainers > div > p { flex-grow: 1; display: flex; align-items: center; font-family: "mononoki"; } div.package-maintainers > div > span { margin-left: 6px; display: flex; align-items: center; font-family: "mononoki"; min-width: 76px; padding-right: 10px; justify-content: flex-end; background-color: #236f5c2e; border-radius: 20px; color: #ecf5da; } /* public/components/package/pannels/vulnerabilities/vulnerabilities.css */ .vuln-strategy { display: flex; flex-direction: column; height: 60px; margin-bottom: 15px; justify-content: center; } .vuln-strategy > div { display: flex; justify-content: center; align-items: center; } .vuln-strategy > div + div { margin-top: 5px; } .vuln-strategy img { width: 40px; margin-right: 10px; } .vuln-strategy .strategy { color: #bbb; font-size: 13px; font-family: system-ui; letter-spacing: 1px; } .vuln-strategy .strategy > i { margin-right: 4px; } .vuln-strategy .name { font-family: "mononoki"; font-variant: small-caps; font-weight: bold; font-size: 20px; text-shadow: 2px 2px 10px #00000082; } .packages-vuln { display: flex; flex-direction: column; } .packages-vuln .vuln { border-top: 4px solid grey; border-left: 1px solid grey; border-right: 2px solid grey; border-bottom: 1px solid grey; border-radius: 8px; box-sizing: border-box; overflow: hidden; color: #FFF; display: flex; flex-direction: column; } .packages-vuln .vuln + .vuln { margin-top: 10px; } .packages-vuln .vuln.critical { border-color: #B71C1C; background: -moz-linear-gradient(left, rgba(63, 0, 6, 0.53) 0%, rgba(0, 0, 0, 0) 100%); background: -webkit-linear-gradient(left, rgba(63, 0, 6, 0.53) 0%, rgba(0, 0, 0, 0) 100%); background: linear-gradient( to right, rgba(63, 0, 6, 0.53) 0%, rgba(0, 0, 0, 0) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#873f0006", endColorstr="#00000000", GradientType=1); } .packages-vuln .vuln.high { border-color: rgb(249, 104, 37); background: -moz-linear-gradient(left, rgba(53, 38, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%); background: -webkit-linear-gradient(left, rgba(53, 38, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%); background: linear-gradient( to right, rgba(53, 38, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#a6352600", endColorstr="#00000000", GradientType=1); } .packages-vuln .vuln.medium, .packages-vuln .vuln.moderate { border-color: #F9A825; background: -moz-linear-gradient(left, rgba(65, 66, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%); background: -webkit-linear-gradient(left, rgba(65, 66, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%); background: linear-gradient( to right, rgba(65, 66, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#a6414200", endColorstr="#00000000", GradientType=1); } .packages-vuln .vuln.info, .packages-vuln .vuln.low { border-color: #2545f9; background: -moz-linear-gradient(left, rgba(0, 46, 63, 0.65) 0%, rgba(0, 0, 0, 0) 100%); background: -webkit-linear-gradient(left, rgba(0, 46, 63, 0.65) 0%, rgba(0, 0, 0, 0) 100%); background: linear-gradient( to right, rgba(0, 46, 63, 0.65) 0%, rgba(0, 0, 0, 0) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#a6002e3f", endColorstr="#00000000", GradientType=1); } .packages-vuln .vuln { display: flex; flex-direction: column; padding: 10px; } .packages-vuln .vuln > div { display: flex; height: 24px; align-items: center; } .packages-vuln .vuln .links { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 5px; } .packages-vuln .vuln .links > i { margin-right: 5px; color: #00b8ead1; } .packages-vuln .vuln .links > a { text-decoration: none; font-variant: all-small-caps; } .packages-vuln .vuln.critical .links > a { color: #ff9797d1; } .packages-vuln .vuln.high .links > a { color: #ffd6a1d1; } .packages-vuln .vuln.medium .links > a, .packages-vuln .vuln.modate .links > a { color: #ffeea1d1; } .packages-vuln .vuln.info .links > a, .packages-vuln .vuln.low .links > a { color: #a1c8ffd1; } .packages-vuln .vuln > div .severity { width: 24px; height: inherit; margin-right: 10px; border-radius: 4px; display: flex; justify-content: center; align-items: center; font-family: "mononoki"; font-weight: bold; text-shadow: 2px 2px 10px #000; color: #FFF; border-top: 2px solid #fbffde61; box-sizing: border-box; } .packages-vuln .vuln > div > p { display: flex; align-items: center; font-size: 14px; } .packages-vuln .vuln > div > p.name { font-family: "mononoki"; font-size: 16px; color: #FFF; } .packages-vuln .vuln > div > span { margin-left: auto; background: #0000005c; padding: 4px 5px; margin-right: 10px; font-family: "mononoki"; font-size: 12px; border-radius: 4px; } .packages-vuln .vuln .description { height: auto; margin-top: 10px; text-shadow: 2px 2px 5px #00000054; } .packages-vuln .vuln > div .severity.critical { background: #B71C1C; } .packages-vuln .vuln > div .severity.high { background: rgb(249, 104, 37); } .packages-vuln .vuln > div .severity.medium, .packages-vuln .vuln > div .severity.moderate { background: #F9A825; } .packages-vuln .vuln > div .severity.info, .packages-vuln .vuln > div .severity.low { background: #2545f9; } /* public/components/package/pannels/scorecard/scorecard.css */ #pan-scorecard { padding: 10px; border-radius: 8px 8px 0 0; background: -moz-linear-gradient(top, rgba(76, 50, 223, 0.2) 0%, rgba(0, 0, 0, 0) 15%); background: -webkit-linear-gradient(top, rgba(76, 50, 223, 0.2) 0%, rgba(0, 0, 0, 0) 15%); background: linear-gradient( to bottom, rgba(76, 50, 223, 0.2) 0%, rgba(0, 0, 0, 0) 15%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#334c32df", endColorstr="#00000000", GradientType=0); } #pan-scorecard .container-title { display: flex; justify-content: center; width: 100%; color: var(--secondary); margin-bottom: 10px; font-family: "mononoki"; letter-spacing: 1px; text-shadow: 1px 1px 5px #2a6f99; position: static; } #pan-scorecard .score-header { height: inherit; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; margin-bottom: 5px; } #pan-scorecard .score-header .score-text { font-family: "mononoki"; font-size: 16px; margin-top: 5px; } #pan-scorecard .score-header .score-value { font-weight: 800px; color: var(--secondary); margin-top: 6px; font-size: 18px; } #pan-scorecard .score-header .visualizer a { color: #cfd8dc; margin-top: 6px; } #pan-scorecard .score-header .visualizer .logo { vertical-align: sub; width: 21px; filter: invert(99%) sepia(36%) saturate(748%) hue-rotate(170deg) brightness(93%) contrast(84%); } #pan-scorecard .check { display: flex; height: 26px; align-items: center; cursor: pointer; flex-wrap: wrap; white-space: initial; overflow: hidden; } #pan-scorecard .check.visible { height: auto; } #pan-scorecard .check:before { content: "\25b6"; padding: 4px; width: 20px; text-align: center; font-size: 11px; } #pan-scorecard .check.visible:before { content: "\25bc"; } #pan-scorecard .check:hover { background: #3722af; } #pan-scorecard .check .info { flex: 1 1 100%; margin-left: 28px; visibility: hidden; font-size: 14px; } #pan-scorecard .check .info.visible { visibility: visible; } #pan-scorecard .check .info strong { font-weight: 500; } #pan-scorecard .check .description, #pan-scorecard .check .reason, #pan-scorecard .check .detail { margin-bottom: 10px; word-wrap: break-word; } #pan-scorecard .check .detail { font-size: small; margin-bottom: 6px; } #pan-scorecard .name, #pan-scorecard .score { height: 26px; line-height: 26px; font-size: 16px; } #pan-scorecard .name { font-weight: 500; color: #BBDEFB; font-family: system-ui; } #pan-scorecard .score { margin-left: auto; font-family: "mononoki"; } /* public/components/package/pannels/warnings/warnings.css */ .package-code { visibility: hidden; position: absolute; z-index: 21; min-width: 120px; max-width: 600px; max-height: 300px; left: calc(50% + 500px); top: 50%; transform: translate(-50%, -50%); color: #FFF; border-radius: 4px; text-align: left; font-size: 14px; font-family: "mononoki"; letter-spacing: 0.5px; word-wrap: break-word; } .package-code pre { background: white; margin: 0; padding: 0; box-shadow: 0px 5px 3px rgba(0, 0, 0, 0.2); } .package-code code { scrollbar-width: thin; } .package-code pre code.hljs { padding-top: 0; } .package-code pre div.file { padding: 8px; text-align: right; background: linear-gradient( to right, rgba(255, 255, 255, 0) 0%, rgba(232, 232, 232, 1) 100%); margin-bottom: 5px; } .package-code pre div a { color: var(--secondary-darker); } .relevant-line { background: rgb(255 221 124 / 27%); padding: 2px 0px; } .hljs-ln-numbers { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; text-align: center; color: #ccc; border-right: 1px solid #CCC; vertical-align: top; padding-right: 10px !important; } .hljs-ln-code { padding-left: 10px; } .hljs-ln-n { text-align: right; } .package-code table, .package-code table tr { width: auto; background: white; height: auto; line-height: normal; } .package-code table tr, .package-code table td { border: none; padding: 0; text-align: left; height: auto; line-height: normal; } /* public/components/package/package.css */ section#package-info { height: 100vh; width: 400px; top: 0px; left: 0px; background: var(--primary-darker); padding: 15px; flex-direction: column; z-index: 20; position: absolute; transform: translateX(-100%); -webkit-transform: translateX(-100%); } section#package-info .package-container { margin-bottom: 40px; padding: 10px; background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(76, 50, 223, 0.2) 100%); background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(76, 50, 223, 0.2) 100%); background: linear-gradient( to bottom, rgba(0, 0, 0, 0) 0%, rgba(76, 50, 223, 0.2) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00000000", endColorstr="#334c32df", GradientType=0); border-radius: 0 0 8px 8px; overflow-y: auto; overflow-x: hidden; height: calc(100vh - 315px); } section#package-info > .package-navigation > div { font-family: "mononoki"; } section#package-info > .package-navigation { display: flex; position: relative; justify-content: space-around; height: 55px; margin-top: 20px; padding-top: 40px; padding-bottom: 10px; border-radius: 8px 8px 0 0; background: -moz-linear-gradient(top, rgba(76, 50, 223, 0.2) 0%, rgba(0, 0, 0, 0) 100%); background: -webkit-linear-gradient(top, rgba(76, 50, 223, 0.2) 0%, rgba(0, 0, 0, 0) 100%); background: linear-gradient( to bottom, rgba(76, 50, 223, 0.2) 0%, rgba(0, 0, 0, 0) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#334c32df", endColorstr="#00000000", GradientType=0); } .container-title { display: flex; justify-content: center; width: 100%; color: var(--secondary); margin-bottom: 10px; font-family: "mononoki"; letter-spacing: 1px; text-shadow: 1px 1px 5px #2a6f99; position: absolute; left: 0; top: 10px; } section#package-info > .package-navigation > div { width: 45px; height: 45px; position: relative; border-radius: 55px; box-sizing: border-box; background: var(--primary); border: 2px solid #4c32df6b; display: flex; justify-content: center; align-items: center; transition: all 0.5s ease; } section#package-info > .package-navigation > div:not(.active):not(.disabled):hover { cursor: pointer; background: #311B92; } section#package-info > .package-navigation > div.active { border: 2px solid var(--secondary); background: #311B92; color: var(--secondary); } section#package-info > .package-navigation > div.disabled { opacity: 0.3; } section#package-info > .package-navigation > div.active:before { content: ""; position: absolute; bottom: -17px; left: 10px; width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 8px solid var(--secondary); } section#package-info > .package-navigation > div > .signal { position: absolute; bottom: -2px; right: -2px; font-size: 12px; font-family: "mononoki"; background: #FBC02D; color: #000 !important; border-radius: 100%; width: 16px; height: 16px; align-items: center; justify-content: center; display: none; } section#package-info > .package-navigation > div#scorecard-menu { display: none; } section#package-info > .package-navigation > div#scorecard-menu.red { border: 2px solid #EF5350; color: #FF80AB; } section#package-info > .package-navigation > div#scorecard-menu.orange { border: 2px solid #FDD835; color: #FFD740; } section#package-info > .package-navigation > div#scorecard-menu.blue { border: 2px solid #2962FF; color: #BBDEFB; } section#package-info > .package-navigation > div#scorecard-menu.green { border: 2px solid #00E676; color: #B2FF59; } section#package-info .head-title { background: var(--primary-darker); height: 28px; flex-shrink: 0; display: flex; align-items: center; border-bottom: 2px solid var(--primary-lighter); border-radius: 2px 2px 0 0; } section#package-info .head-title.no-margin { margin-top: 0px; } section#package-info .head-title > p { text-shadow: 1px 1px 5px rgba(20, 20, 20, 0.5); font-size: 18px; font-variant: small-caps; font-family: "mononoki"; font-weight: bold; letter-spacing: 1px; padding: 0 10px; } section#package-info .head-title > span { margin-left: auto; background: #0068ff; margin-right: 10px; padding: 2px 5px; border-radius: 4px; font-size: 12px; font-family: "mononoki"; text-shadow: 2px 2px 5px #000000d4; transition: all 0.5s ease; cursor: pointer; } section#package-info .head-title > span.disabled { background: #3b3b3b; cursor: default; opacity: 0.3; } section#package-info .head-title > span.active { background: #7900ff; } section#package-info .head-title > span.active:not(.disabled):hover { background: #0068ff; } section#package-info .head-title > span:not(.disabled):not(.active):hover { background: #7900ff; } section#package-info .fields { margin-top: 10px; margin-bottom: 10px; } section#package-info .list-item { display: flex; flex-wrap: wrap; margin-top: 5px; margin-bottom: 5px; margin-left: -5px; } section#package-info .list-item.line { flex-direction: column; } section#package-info .list-item > span { padding: 0 10px; height: 25px; border-radius: 4px; font-size: 13px; flex-basis: 50px; letter-spacing: 0.7px; display: flex; align-items: center; justify-content: center; flex-grow: 1; color: #CFD8DC; } section#package-info .list-item > span:not(.expandable).clickable:hover { background: var(--secondary-darker); color: #FFF; cursor: pointer; } section#package-info .list-item.line > span { flex-basis: 25px; justify-content: start; } section#package-info .list-item > span { margin-left: 5px; margin-top: 5px; } section#package-info ul li { display: flex; height: 23px; font-size: 14px; padding: 0 10px; line-height: 26px; border-radius: 2px; } section#package-info ul li + li { margin-top: 2px; } section#package-info ul li > b { font-weight: 500; color: #BBDEFB; font-family: system-ui; } section#package-info ul li > p, section#package-info ul li > a { margin-left: auto; color: #cfd8dc; } section#package-info ul li.clickable i { margin-left: 5px; } section#package-info ul li.clickable:hover { background-color: var(--primary-lighter); color: #FFF; cursor: pointer; } .help-dialog { display: flex; padding: 10px; border-radius: 8px; margin-bottom: 10px; border: 2px dashed #57e1bf4a; color: #9de157; letter-spacing: 0.5px; align-items: center; } .help-dialog > i { margin-right: 5px; font-size: 28px; } .help-dialog > p { font-size: 14px; font-style: italic; } .help-dialog > p b { background: #9de157; padding: 2px 5px; color: #000; border-radius: 4px; font-style: normal; font-weight: bold; cursor: pointer; } .help-dialog > p b:hover { background: var(--secondary); } .help-dialog > p a { color: inherit; cursor: pointer; text-decoration: underline; font-weight: bold; } /* public/components/searchbar/searchbar.css */ #searchbar { background: linear-gradient( to bottom, #37474f 0%, #263238 100%); display: flex; height: inherit; box-sizing: border-box; border-left: 2px solid #0f041a; } #searchbar > * { transform: skewX(20deg); } #searchbar > div.search-items { padding-left: 5px; display: flex; align-items: center; } #searchbar > div.search-items div.cancel { cursor: pointer; width: 14px; height: 14px; display: flex; justify-content: center; align-items: center; border-radius: 2px; font-size: 14px; font-family: "roboto"; color: #B3E5FC; font-weight: bold; } #searchbar > div.search-items div:not(.cancel) { padding: 5px; background: #37474F; border-radius: 3px; font-size: 13px; font-family: "mononoki"; display: flex; } #searchbar > div.search-items div p { margin-left: 5px; } #searchbar > div.search-items div + div { margin-left: 5px; } #searchbar > input { width: 210px; background: none; border: none; outline: none; color: #FFF; font-family: "mononoki"; margin-bottom: 2px; } #searchbar > input::placeholder { color: #FFF; } #searchbar > i { width: 45px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 22px; } div.search-result-background { position: absolute; display: none; margin-top: 35px; right: -130px; min-width: 360px; max-width: 400px; padding: 10px !important; background: #263238; box-shadow: 1px 1px 10px rgba(20, 20, 20, 0.4); border-radius: 4px; box-sizing: border-box; padding: 15px; flex-direction: column; } div.search-result-background.show { display: flex; } div.search-result-background > div.search-result-pannel { display: flex; flex-direction: column; max-height: 70vh; overflow-y: auto; } div.search-result-pannel > .helpers { display: flex; flex-direction: column; border-bottom: 1px solid #37474F; padding-bottom: 10px; margin-bottom: 10px; font-family: "mononoki"; } div.search-result-pannel > .helpers.hide { display: none; } div.search-result-pannel > .helpers > .title { display: flex; align-items: center; font-size: 14px; font-weight: bold; margin-bottom: 3px; color: #ECEFF1; margin-bottom: 10px; } div.search-result-pannel > .helpers > .title > a { margin-left: auto; color: inherit; } div.search-result-pannel > .helpers > .line { display: flex; align-items: center; font-size: 13px; border-radius: 4px; padding: 2px 10px; min-height: 20px; } div.search-result-pannel > .helpers > .line.hide { display: none; } div.search-result-pannel > .helpers > .line + .line { margin-top: 2px; } div.search-result-pannel > .helpers > .line:hover { cursor: pointer; background: var(--secondary-darker); } div.search-result-pannel > .helpers > .line:hover p { color: #FFF; } div.search-result-pannel > .helpers > .line b { margin-right: 5px; color: #E1F5FE; } div.search-result-pannel > .helpers > .line p { color: #B0BEC5; } div.search-result-pannel .package { background: rgba(69, 90, 100, 0.198); align-items: center; border-radius: 2px; padding: 10px; display: flex; flex-shrink: 0; text-shadow: 1px 1px 1px rgba(20, 20, 20, 0.5); font-size: 14px; letter-spacing: 0.7px; margin-right: 2px; } div.search-result-pannel .package:hover { color: #E1F5FE; background: #01579B; cursor: pointer; } div.search-result-pannel .package > p { margin-right: 10px; } div.search-result-pannel .package > b { color: #ffeb3b; font-weight: bold; margin-left: auto; } div.search-result-pannel .package.hide { display: none !important; } div.search-result-pannel .package + .package { margin-top: 5px; } #search-nav { z-index: 30; display: flex; justify-content: center; align-items: center; position: absolute; height: 30px; left: 50px; padding-left: 20px; max-width: calc(100vw - 70px); box-sizing: border-box; background: var(--primary); transform: skewX(-20deg); box-shadow: 2px 1px 10px #26107f7a; } #search-nav:has(#searchbar[style*="display: none;"]) { display: none; } #search-nav .search-result-pannel .package { height: 30px; color: rgb(229, 229, 229); display: flex; align-items: center; padding: 0 10px; font-family: "Roboto"; } #search-nav .packages { height: inherit; display: flex; max-width: calc(100vw - 70px - 264px); background: var(--primary); } #search-nav .packages > .package { height: inherit; color: rgb(229, 229, 229); font-family: "mononoki"; display: flex; align-items: center; background: linear-gradient( to right, rgba(55, 34, 175, 1) 0%, rgba(87, 74, 173, 1) 50%, rgb(59, 110, 205) 100%); padding: 0 10px; border-right: 2px solid #0f041a; text-shadow: 1px 1px 10px #000; color: #def7ff; } #search-nav .packages > .package > * { transform: skewX(20deg); } #search-nav .packages > .package:first-child { padding-left: 10px; } #search-nav .packages > .package:not(.active):hover { background: linear-gradient( to right, rgba(55, 34, 175, 1) 1%, rgb(68, 121, 218) 100%); color: #defff9; cursor: pointer; } #search-nav .packages > .package.active { background: linear-gradient( to right, rgba(55, 34, 175, 1) 0%, rgba(87, 74, 173, 1) 50%, rgb(59, 110, 205) 100%); } #search-nav .packages > .package.active > b { background: var(--secondary); } #search-nav .packages > .package.active > .remove { display: block; } #search-nav .packages > .package > b:last-of-type:not(:first-of-type) { background: #f57c00; } #search-nav .packages > .package > b { font-weight: bold; font-size: 12px; margin-left: 5px; background: var(--secondary-darker); padding: 3px 5px; border-radius: 2px; font-family: "Roboto"; letter-spacing: 1px; } #search-nav .add { height: inherit; color: white; font-size: 20px; border: none; background: var(--secondary-darker); cursor: pointer; padding: 0 7px; transition: 0.2s all ease; color: #def7ff; } #search-nav .add:hover { background: var(--secondary); cursor: pointer; } #search-nav .add > i { transform: skewX(20deg); } #search-nav button.remove { display: none; border: none; position: relative; cursor: pointer; color: #fff5dc; background: #ff3434e2; margin-left: 10px; border-radius: 50%; line-height: 16px; text-shadow: 1px 1px 10px #000; font-weight: bold; width: 20px; } #search-nav button.remove:hover { cursor: pointer; background: #ff5353e2; } /* public/components/views/home/maintainers/maintainers.css */ .home--maintainers { display: flex; flex-wrap: wrap; margin-left: -10px; margin-top: -10px; } .home--maintainers > .person { height: 65px; flex-basis: 330px; background: linear-gradient( to bottom, rgb(255 255 255) 0%, rgb(245 252 255) 100%); display: flex; position: relative; box-sizing: border-box; border-radius: 4px; overflow: hidden; margin-left: 10px; margin-top: 10px; box-shadow: 1px 1px 4px 0px #271e792b; color: #546884; flex-grow: 1; } .home--maintainers > .person:hover { border-color: var(--secondary-darker); cursor: pointer; } .home--maintainers > .person > img { width: 65px; flex-shrink: 0; } .home--maintainers > .person > i { margin-right: 10px; display: flex; align-items: center; color: #1976D2; font-size: 18px; } .home--maintainers > .person > .whois { display: flex; flex-direction: column; justify-content: center; margin-left: 10px; font-size: 15px; font-family: "mononoki"; flex-grow: 1; margin-right: 10px; } .home--maintainers > .person > .whois > span { color: var(--secondary-darker); font-size: 14px; margin-top: 5px; font-family: monospace; } .home--maintainers > .person > div.packagescount { display: flex; align-items: center; font-family: "mononoki"; font-size: 18px; margin-right: 15px; flex-basis: 40px; flex-shrink: 0; } .home--maintainers > .person > div.packagescount > i { margin-right: 4px; } .maintainers--popup { display: flex; flex-direction: column; width: 500px; margin: 5px; } .maintainers--popup > .header { height: 80px; display: flex; flex-shrink: 0; margin-bottom: 10px; border-radius: 4px; overflow: hidden; margin-right: 25px; } .maintainers--popup > .header > .avatar { width: 80px; overflow: hidden; border-radius: 4px; overflow: hidden; flex-shrink: 0; border-radius: 8px; box-sizing: border-box; box-shadow: 2px 2px 6px 0px #00000012; } .maintainers--popup > .header > .avatar > img { width: 80px; } .maintainers--popup > .header > .informations { display: flex; flex-direction: column; flex-grow: 1; justify-content: center; font-family: "mononoki"; margin: 0 10px; } .maintainers--popup > .header > .informations > p.name { color: #546884; } .maintainers--popup > .header > .informations > p.email { color: var(--secondary-darker); margin-top: 10px; font-family: monospace; } .maintainers--popup > .header > .icons { display: flex; align-items: center; } .maintainers--popup > .header > .icons > i { height: 40px; width: 40px; font-size: 20px; display: flex; align-items: center; justify-content: center; background-color: var(--secondary-darker); border-radius: 100%; color: #FFF; box-shadow: 2px 2px 6px 0px #00000012; } .maintainers--popup > .header > .icons > i:hover { cursor: pointer; background-color: var(--primary); } .maintainers--popup > .header > .icons > i + i { margin-left: 10px; } .maintainers--popup > .separator { height: 2px; background: #d3d3d387; margin: 0 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .maintainers--popup > .separator > p { background: #f5f4f4; padding: 0 10px; font-family: "roboto"; font-weight: bold; letter-spacing: 1.2px; color: #255471; } .maintainers--popup > ul { display: flex; flex-direction: column; flex-grow: 1; overflow-y: auto; overflow-x: hidden; max-height: 240px; margin-top: 20px; margin-bottom: 10px; } .maintainers--popup > ul li { height: 36px; padding: 0 10px; display: flex; align-items: center; background: linear-gradient( to right, rgb(221 229 251) 0%, rgba(255, 255, 255, 0) 100%); border-left: 2px solid #4480da; color: #234c99; border-radius: 4px; font-family: "mononoki"; flex-shrink: 0; font-size: 15px; } .maintainers--popup > ul li > p { color: #234c99; } .maintainers--popup > ul li > span { color: #2470b3; margin-left: 10px; } .maintainers--popup > ul li > i { margin-left: auto; margin-right: 13px; background: #4ab968; color: #FFF; border-radius: 100%; width: 26px; height: 26px; display: flex; justify-content: center; align-items: center; box-shadow: 2px 2px 6px 0px #00000012; } .maintainers--popup > ul li > i:hover { background: #4ab8b9; cursor: pointer; } .maintainers--popup > ul li + li { margin-top: 5px; } /* public/components/views/home/report/report.css */ .report--popup { min-width: 400px; padding: 40px; display: flex; flex-direction: column; } .report