Files

164 lines
3.3 KiB
CSS
Executable File

:root {
--accent-color: #105E26;
--dark-accent-color: #105E26;
--header-text: #ffffff;
--odd-color: #252728;
--even-color: #2f3133;
--active-color: #e2d0a2;
}
body{
background-color: black;
color: #ffffff;
font-family: Arial, Helvetica, sans-serif;
text-align:center;
margin:2% 5% 0 5%;
}
h2{
color:gray;
padding-bottom:0;
}
.scan-table {
border-collapse: collapse;
margin: 25px 0;
font-size: 1.2em;
min-width: 400px;
border-radius: 5px 5px 0 0;
overflow: hidden;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
width: 100%;
height: 100%;
}
.scan-table thead tr {
background-color: var(--accent-color);
color: var(--header-text);
font-weight: bold;
}
.scan-table th,
.scan-table td {
padding: 12px 15px;
}
tbody {
background-color: var(--odd-color);
}
tbody tr {
border-bottom: 1px solid #dddddd;
}
tbody tr:nth-of-type(even) {
background-color: var(--even-color);
}
tbody tr:nth-of-type(odd) {
background-color: var(--odd-color);
}
tbody tr:last-of-type {
border-bottom: 2px solid var(--dark-accent-color);
}
tr td:first-child{
background-color: var(--dark-accent-color);
width:128px;
}
tr td:last-child{
text-align: left;
}
.table-header{
border-bottom:10px solid white;
font-weight: bold;
background-color: #B9C9FE;
}
tbody tr:hover td {
background-color: #FFEFC6;
color: var(--accent-color);
font-weight: bold;
cursor: pointer;
}
tbody tr.active td {
background-color: var(--active-color);
font-weight: bold;
color: var(--accent-color);
}
a:hover, a:link, a:visited, a:active{
color:gray;
text-decoration:none;
}
input[type=text]{
background: transparent;
border: 0;
border-bottom: 2px solid var(--accent-color);
color: var(--header-text);
width: 100%;
height: 100%;
text-align: center;
font-size:1.2vw;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
color: var(--header-text);
opacity: 1; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: var(--header-text);
}
::-ms-input-placeholder { /* Microsoft Edge */
color: var(--header-text);
}
/* Make em perty so that people can see what they are typing */
input[type=text]:focus::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
font-style: italic;
opacity: 0.3;
}
input[type=text]:focus:-ms-input-placeholder { /* Internet Explorer 10-11 */
font-style: italic;
opacity: 0.3;
}
input[type=text]:focus::-ms-input-placeholder { /* Microsoft Edge */
font-style: italic;
opacity: 0.3;
}
.result-count {
position: fixed;
right: 0;
bottom: 0;
margin: 0.8vw;
font-size: 1vw;
border-radius: 15px;
padding: 1vw;
background: var(--accent-color);
}
.result-count:hover {
background-color: #FFEFC6;
color: var(--accent-color);
font-weight: bold;
cursor: pointer;
}
.animate { animation: disappear 1s linear; }
.copyAlert {
background: var(--dark-accent-color);
color: var(--header-text);
border-radius: inherit;
line-height: 3vw;
position: absolute;
height: 100%;
width: 100%;
opacity: 0;
left: 0;
top: 0;
}
@keyframes disappear {
0% { opacity: 0; }
5% { opacity: 1; }
100% { opacity: 0; }
}