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