security/public/index.css

224 lines
3.7 KiB
CSS

.vuln {
padding: 30px;
background: var(--dark-second);
border: solid 1px var(--bright-second);
color: var(--bright-second);
}
.vuln-header {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
border-bottom: solid 1px var(--bright-third);
margin-bottom: 20px;
}
.vuln-header h1{
font-family: JetBrainsMono;
margin-bottom: 5px;
color: var(--bright-main);
}
.vuln-header h3{
padding: 10px;
border-radius: 5px;
margin-bottom: 5px;
font-size: 18px;
font-weight: 1200;
text-transform: uppercase;
}
.sev-Critical {
background: #550000;
color: red;
}
.sev-High {
background: #661100;
color: #ff5500;
}
.sev-Medium {
background: #552200;
color: orange;
}
.sev-Low {
background: #555500;
color: yellow;
}
.vuln table {
border-collapse: collapse;
margin: 10px 0 15px 0;
width: 100%;
border: solid 1px var(--bright-third);
}
.vuln table td, .vuln table th{
background: var(--dark-main);
padding: 10px;
text-align: left;
border: solid 1px var(--bright-third);
}
.vuln table th {
color: var(--bright-main);
font-weight: 900;
}
.vuln table td a {
color: var(--bright-second);
}
.vuln table td a:hover {
color: var(--bright-main);
}
.vuln table td {
font-style: italic;
}
.vuln-footer, .search-footer {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.vuln-footer strong, .search-footer strong {
font-weight: 900;
font-style: normal;
color: var(--bright-main);
}
.vuln-footer p {
font-style: italic;
}
.vuln-footer a {
color: var(--bright-main);
}
.vuln-footer a:hover {
color: var(--bright-second);
}
.search {
display: flex;
flex-direction: column;
margin-bottom: 10px;
padding: 30px;
gap: 10px;
background: var(--dark-second);
border: solid 1px var(--bright-second);
}
.search-header {
display: flex;
flex-direction: row;
justify-content: space-between;
gap: 10px;
width: 100%;
}
.search-header div {
display: flex;
flex-direction: column;
gap: 2px;
font-size: 15px;
}
.search-header div:first-child {
flex-grow: 4;
}
.search-header div:last-child {
flex-grow: 1;
}
.search-header input {
background: var(--dark-main);
padding: 10px;
border: solid 1px var(--bright-third);
color: white;
font-size: 15px;
outline: none;
}
.search-header select {
appearance: none;
font-size: 15px;
color: white;
background: var(--dark-main);
padding: 10px;
outline: none;
cursor: pointer;
display: grid;
border: none;
border: solid 1px var(--bright-third);
margin: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-appearance: none;
-moz-appearance: none;
background-image:
linear-gradient(45deg, transparent 50%, var(--bright-main) 50%),
linear-gradient(135deg, var(--bright-main) 50%, transparent 50%),
linear-gradient(to right, var(--dark-third), var(--dark-third));
background-position:
calc(100% - 20px) calc(1em + 2px),
calc(100% - 15px) calc(1em + 2px),
100% 0;
background-size:
5px 5px,
5px 5px,
2.5em 2.5em;
background-repeat: no-repeat;
}
.search-header select::-ms-expand{
display: none;
}
.vulns {
display: flex;
flex-direction: column;
gap: 10px;
}
.pages {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 20px;
color: var(--bright-main);
background: var(--dark-second);
margin-top: 10px;
border: solid 1px var(--bright-main);
}
.pages a {
font-size: 15px;
text-decoration: underline;
cursor: pointer;
}
.pages a:hover {
color: var(--bright-second);
}
.pages .invalid {
cursor: not-allowed;
}
.pages .invalid:hover {
color: var(--bright-main);
}