styling rework
This commit is contained in:
@@ -29,12 +29,6 @@ function display()
|
|||||||
+ '</td></tr>';
|
+ '</td></tr>';
|
||||||
});
|
});
|
||||||
|
|
||||||
document.getElementById('resultarea').innerHTML +=
|
|
||||||
'<tr>' +
|
|
||||||
'<td colspan="4">' +
|
|
||||||
'<a class="bookmark" href="#add">Add new</a>' +
|
|
||||||
'</td>' +
|
|
||||||
'</tr>';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function updatecustomer(id)
|
function updatecustomer(id)
|
||||||
|
|||||||
@@ -29,12 +29,6 @@ function display()
|
|||||||
+ '</td></tr>';
|
+ '</td></tr>';
|
||||||
});
|
});
|
||||||
|
|
||||||
document.getElementById('resultarea').innerHTML +=
|
|
||||||
'<tr>' +
|
|
||||||
'<td colspan="4">' +
|
|
||||||
'<a class="bookmark" href="#add">Add new</a>' +
|
|
||||||
'</td>' +
|
|
||||||
'</tr>';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateemployee(id)
|
function updateemployee(id)
|
||||||
|
|||||||
BIN
WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/img/hatter.png
Normal file
BIN
WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/img/hatter.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 MiB |
@@ -29,12 +29,6 @@ function display()
|
|||||||
+ '</td></tr>';
|
+ '</td></tr>';
|
||||||
});
|
});
|
||||||
|
|
||||||
document.getElementById('resultarea').innerHTML +=
|
|
||||||
'<tr>' +
|
|
||||||
'<td colspan="4">' +
|
|
||||||
'<a class="bookmark" href="#add">Add new</a>' +
|
|
||||||
'</td>' +
|
|
||||||
'</tr>';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function updatemaintainerteam(id)
|
function updatemaintainerteam(id)
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
<tbody id="resultarea">
|
<tbody id="resultarea">
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<br>
|
||||||
<h2 id="add">Add a new line</h2>
|
<h2 id="add">Add a new line</h2>
|
||||||
<table class="inputs">
|
<table class="inputs">
|
||||||
<tr>
|
<tr>
|
||||||
@@ -61,10 +62,8 @@
|
|||||||
<td>Port</td>
|
<td>Port</td>
|
||||||
<td class="inputcell"><input type="text" id="in_port"></td>
|
<td class="inputcell"><input type="text" id="in_port"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td colspan="2"><button onclick="addService()">Save</button></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
</table>
|
||||||
|
<button class="save" onclick="addService()">Save</button>
|
||||||
<div id="addresult"></div>
|
<div id="addresult"></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -28,13 +28,6 @@ function display()
|
|||||||
+ '<button type="button" onclick="updateService(' + t.id + ')">Edit</button>'
|
+ '<button type="button" onclick="updateService(' + t.id + ')">Edit</button>'
|
||||||
+ '</td></tr>';
|
+ '</td></tr>';
|
||||||
});
|
});
|
||||||
|
|
||||||
document.getElementById('resultarea').innerHTML +=
|
|
||||||
'<tr>' +
|
|
||||||
'<td colspan="4">' +
|
|
||||||
'<a class="bookmark" href="#add">Add new</a>' +
|
|
||||||
'</td>' +
|
|
||||||
'</tr>';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateService(id)
|
function updateService(id)
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
|
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
|
||||||
|
|
||||||
body{
|
body{
|
||||||
background: linear-gradient(to left, #8a2be2, rgb(255, 51, 170));
|
background-image: url("./img/hatter.png");
|
||||||
background-position: right top;
|
|
||||||
background-size: cover;
|
|
||||||
font-family: 'Roboto', sans-serif;
|
font-family: 'Roboto', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -44,6 +43,7 @@ a.button{
|
|||||||
a.button:hover{
|
a.button:hover{
|
||||||
background: rgba(255, 255, 255, 0.25);
|
background: rgba(255, 255, 255, 0.25);
|
||||||
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
|
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
|
||||||
|
border: 3px solid #ff5c33;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.bookmark{
|
a.bookmark{
|
||||||
@@ -58,64 +58,36 @@ table.inputs{
|
|||||||
width: 50%;
|
width: 50%;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
margin: 50px auto;
|
margin: 50px auto;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.inputs td:first-child{
|
table.inputs td:first-child{
|
||||||
background-color: rgba(0, 0, 0, 0.1);
|
background-color: rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
table.queryresults th,
|
|
||||||
table.queryresults tr:last-child td,
|
|
||||||
table.queryresults td:nth-last-child(-n+2) {
|
|
||||||
background-color: rgba(0, 0, 0, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
table
|
table.queryresults
|
||||||
{
|
{
|
||||||
width: 80%;
|
width: 80%;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
color: white;
|
color: white;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
border-radius: 10px;
|
border-radius: 30px;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
table th, table td
|
table th, table td
|
||||||
{
|
{
|
||||||
border: 1px solid white;
|
border: 2px solid white;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
table th
|
table th
|
||||||
{
|
{
|
||||||
border-top: none;
|
|
||||||
background-color: rgba(0, 0, 0, 0.1);
|
background-color: rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
table th:last-child, table td:last-child
|
|
||||||
{
|
|
||||||
border-right: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
table tr:last-child td
|
|
||||||
{
|
|
||||||
vertical-align: middle;
|
|
||||||
border-bottom: none;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
table th:first-child, table td:first-child
|
|
||||||
{
|
|
||||||
border-left: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
table tr:first-child td
|
|
||||||
{
|
|
||||||
border-top: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inputcell
|
.inputcell
|
||||||
{
|
{
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@@ -141,16 +113,35 @@ table td input, table button
|
|||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
border: 2px solid #ff5c33;
|
border: 2px solid white;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
transition: background 0.3s ease, box-shadow 0.3s ease;
|
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:hover
|
button:hover
|
||||||
{
|
{
|
||||||
background: #ff5c33;
|
border: 2px solid #ff5c33;
|
||||||
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
|
background: rgba(255, 255, 255, 0.25);
|
||||||
}
|
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.save{
|
||||||
|
border: 2px solid white;
|
||||||
|
background: transparent;
|
||||||
|
color: white;
|
||||||
|
font-size: 16px;
|
||||||
|
border-radius: 5px;
|
||||||
|
display: block;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
padding: 10px 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.save:hover
|
||||||
|
{
|
||||||
|
border: 2px solid #ff5c33;
|
||||||
|
background: rgba(255, 255, 255, 0.25);
|
||||||
|
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user