Redid styles and colors to be more appealing
This commit is contained in:
+55
-29
@@ -1,6 +1,15 @@
|
||||
: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: black;
|
||||
color: #ffffff;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
text-align:center;
|
||||
margin:2% 5% 0 5%;
|
||||
@@ -11,21 +20,48 @@ h2{
|
||||
padding-bottom:0;
|
||||
}
|
||||
|
||||
#scan-table{
|
||||
.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%;
|
||||
}
|
||||
|
||||
th{
|
||||
padding:5px;
|
||||
.scan-table thead tr {
|
||||
background-color: var(--accent-color);
|
||||
color: var(--header-text);
|
||||
font-weight: bold;
|
||||
}
|
||||
tr{
|
||||
border:1px solid white;
|
||||
background-color: #E8EDFF;
|
||||
|
||||
.scan-table th,
|
||||
.scan-table td {
|
||||
padding: 12px 15px;
|
||||
}
|
||||
td{
|
||||
padding:5px;
|
||||
font-size:1vw;
|
||||
|
||||
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:1px;
|
||||
}
|
||||
tr td:last-child{
|
||||
text-align: left;
|
||||
@@ -39,25 +75,14 @@ tr td:last-child{
|
||||
|
||||
tbody tr:hover td {
|
||||
background-color: #FFEFC6;
|
||||
font-weight: bold;
|
||||
color: var(--accent-color);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
tbody tr.active td {
|
||||
background-color: #FFEFC6;
|
||||
}
|
||||
|
||||
table tr:last-child td:first-child {
|
||||
border-bottom-left-radius: 10px;
|
||||
}
|
||||
table tr:first-child th:first-child {
|
||||
border-top-left-radius: 10px;
|
||||
}
|
||||
|
||||
table tr:last-child td:last-child {
|
||||
border-bottom-right-radius: 10px;
|
||||
}
|
||||
table tr:first-child th:last-child {
|
||||
border-top-right-radius: 10px;
|
||||
background-color: var(--active-color);
|
||||
font-weight: bold;
|
||||
color: var(--accent-color);
|
||||
}
|
||||
|
||||
a:hover, a:link, a:visited, a:active{
|
||||
@@ -67,6 +92,7 @@ a:hover, a:link, a:visited, a:active{
|
||||
|
||||
input[type=text]{
|
||||
background: transparent;
|
||||
color: var(--header-text);
|
||||
border: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@@ -74,12 +100,12 @@ input[type=text]{
|
||||
font-size:1.2vw;
|
||||
}
|
||||
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
|
||||
color: black;
|
||||
color: var(--header-text);
|
||||
opacity: 1; /* Firefox */
|
||||
}
|
||||
:-ms-input-placeholder { /* Internet Explorer 10-11 */
|
||||
color: black;
|
||||
color: var(--header-text);
|
||||
}
|
||||
::-ms-input-placeholder { /* Microsoft Edge */
|
||||
color: black;
|
||||
color: var(--header-text);
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
<h2>GutterBox</h2>
|
||||
<p style="padding-top:0;"><a href="https://github.com/d4rkr41n/gutterbox"><i>Organize your NMAP!</i></a></p>
|
||||
|
||||
<table id="scan-table">
|
||||
<table class="scan-table">
|
||||
<thead>
|
||||
<tr class="table-header">
|
||||
<form method="POST">
|
||||
|
||||
Reference in New Issue
Block a user