File size: 7,556 Bytes
346b79e 922104e 346b79e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 |
/* Copyright (c) 2015-2019, Chandan B.N
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
* following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
* disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
* following disclaimer in the documentation and/or other materials provided with the distribution.
* 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
* products derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
.cvssjs i {
width: 1em;
height: 1em;
display: inline-block;
background: url("cvssicons.png") 0 0 no-repeat;
vertical-align: middle;
background-size: cover;
margin-right: 4px;
margin: 2px;
font-size: 40px;
}
.cvssjs i.AVN {
background-position: -3em 0;
}
.cvssjs i.AVA {
background-position: -2em 0;
}
.cvssjs i.AVL {
background-position: -1em 0;
}
.cvssjs i.AVP {
background-position: 0 0;
}
.cvssjs i.ACL {
background-position: -4em 0;
}
.cvssjs i.ACH {
background-position: -5em 0;
}
.cvssjs i.PRN {
background-position: -6em 0;
}
.cvssjs i.PRL {
background-position: -7em 0;
}
.cvssjs i.PRH {
background-position: -8em 0;
}
.cvssjs i.UIN {
background-position: -10em 0;
}
.cvssjs i.UIR {
background-position: -9em 0;
}
.cvssjs i.SC {
background-position: -11em 0;
}
.cvssjs i.SU {
background-position: -10em 0;
}
.cvssjs i.CH {
background-position: -14em 0;
}
.cvssjs i.CL {
background-position: -13em 0;
}
.cvssjs i.CN {
background-position: -12em 0;
}
.cvssjs i.IH {
background-position: -16em 0;
}
.cvssjs i.IL {
background-position: -17em 0;
}
.cvssjs i.IN {
background-position: -15em 0;
}
.cvssjs i.AH {
background-position: -20em 0;
}
.cvssjs i.AL {
background-position: -19em 0;
}
.cvssjs i.AN {
background-position: -18em 0;
}
.cvssjs a {
color: #489;
text-decoration: none;
}
.cvssjs dl {
display: inline-block;
vertical-align: top;
background-color: #424a40;
margin-top: 2px;
margin-bottom: 2px;
margin: 2px;
border-radius: 4px;
box-shadow: 0px 0px 5px #bbb;
transition: background-color 0.3s ease-in-out;
}
.cvssjs dt {
color: #EEEEEE;
padding: 5px;
font-size: 60%;
overflow-x: hidden;
text-transform: uppercase;
letter-spacing: .5px;
}
.cvssjs dl:hover, .cvssjs dl:focus {
background-color: #676a60;
box-shadow: 0px 0px 5px #aaa;
}
.cvssjs dl:hover dt, .cvssjs dl:focus dt {
color: #ffffff;
}
.cvssjs dd {
margin: 0px;
padding: 0px;
text-align: left;
}
.cvssjs dd label,
#predef span {
min-width: 7.5em;
padding: 0px 2px 0px 2px;
display: block;
margin: 1px;
margin-top: 0px;
background-color: #f7f7f4;
vertical-align: middle;
transition: background-color 0.3s ease-in-out;
}
.cvssjs dd:last-child label,
#predef span:last-child {
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
}
.cvssjs dd small {
display: none;
}
.cvssjs dd:hover small {
position: absolute;
max-width: 220px;
border: solid 1px #333;
display: block;
color: black;
background-color: #FFFFC1;
border-radius: 5px;
padding: 5px;
margin-top: .7em;
margin-left: 5em;
box-shadow: 2px 2px 5px #333;
z-index: 1;
}
#predef span:hover:before {
content: "<";
display: block;
position: absolute;
margin-top: 0px;
margin-left: -2px;
color: #424a40;
}
.cvssjs dd > input {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.cvssjs dd:nth-child(2) input:checked + label,
.cvssjs .Critical {
background-color: rgb(240, 130, 120);
}
.cvssjs dd input:checked + label,
.cvssjs .High {
background-color: rgb(240, 170, 83);
transition: background-color 0.1s ease-in-out;
}
.cvssjs dd:last-child input:checked + label,
.cvssjs dl.AV dd:nth-child(4) input:checked + label,
.cvssjs .Medium {
background-color: rgb(250, 230, 120);
}
.cvssjs .Low {
background-color: rgb(208, 212, 134)
}
.cvssjs dl.C dd:last-child input:checked + label,
.cvssjs dl.I dd:last-child input:checked + label,
.cvssjs dl.A dd:last-child input:checked + label,
.cvssjs .None {
background-color: rgb(162, 213, 114);
}
.cvssjs dd:nth-child(2) label:hover {
background-color: rgb(250, 140, 130);
}
.cvssjs dd label:hover {
background-color: rgb(250, 180, 93);
transition: background-color 0.1s ease-in-out;
}
.cvssjs dl.PR dd:last-child label:hover,
.cvssjs dd:last-child label:hover,
.cvssjs dl.AV dd:nth-child(4) label:hover {
background-color: rgb(255, 240, 130);
}
.cvssjs dl.C dd:last-child label:hover,
.cvssjs dl.I dd:last-child label:hover,
.cvssjs dl.A dd:last-child label:hover {
background-color: rgb(172, 223, 124);
}
.cvssjs hr {
border-style: dashed;
color: #949ca0;
}
.cvssjs .score,
.cvssjs .vector,
.cvssjs .severity {
margin: 2px;
display: inline-block;
}
.cvssjs .score {
width: 1.5em;
}
.cvssjs .severity {
width: 5em;
border-radius: 4px;
padding: 5px;
text-align: center;
transition: background-color 0.1s ease-out;
}
.cvssjs .results {
padding: 7px;
}
.cvssjs dl dd label.results:hover {
background-color: white;
}
.cvssjs .results sub {
display: none;
font-size: x-small;
}
.cvssjs .copy-button {
border-width: 0;
background: local;
cursor: pointer;
user-select: none;
}
.cvssjs .copy-button:before {
display: inline-block;
width:16px;
height: 16px;
background-size:contain;
background-repeat: no-repeat;
content: " ";
user-select: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23000' d='M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM266 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h74v224c0 26.51 21.49 48 48 48h96v42a6 6 0 0 1-6 6zm128-96H182a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h106v88c0 13.255 10.745 24 24 24h88v202a6 6 0 0 1-6 6zm6-256h-64V48h9.632c1.591 0 3.117.632 4.243 1.757l48.368 48.368a6 6 0 0 1 1.757 4.243V112z'%3E%3C/path%3E%3C/svg%3E");
}
.cvssjs .copy-button:active:before,.cvssjs .copy-button:hover:before {
opacity: 0.7;
} |