Inital Commit

This commit is contained in:
2023-01-28 22:01:59 +01:00
commit 116dc1dcb0
16 changed files with 1980 additions and 0 deletions

60
public/css/button.css Normal file
View File

@@ -0,0 +1,60 @@
/*Genral Button Style*/
.btn {
display: inline-block;
align-items: center;
background: none;
border: 1px solid #bdbdbd;
height: 48px;
letter-spacing: 0.25px;
border-radius: 24px;
cursor: pointer;
}
.btn:focus {
outline: none;
}
.btn .mdi {
margin-right: 5px;
margin-left: 5px;
}
/*Delete Button Style*/
.btn-delete {
font-size: 16px;
color: red;
}
.btn-delete:hover, .btn-delete:focus {
background-color: var(--btn-hover-bg-color);
}
.btn-delete > .mdi-delete-empty {
display: none;
}
.btn-delete:hover > .mdi-delete-empty {
display: inline-block;
}
.btn-delete:hover > .mdi-delete {
display: none;
}
/*Info Button Style*/
.btn-info {
font-size: 16px;
color: skyblue;
}
.btn-info > .mdi-information {
display: none;
}
.btn-info:hover > .mdi-information {
display: inline-block;
}
.btn-info:hover > .mdi-information-outline {
display: none;
}

70
public/css/modal.css Normal file
View File

@@ -0,0 +1,70 @@
/*Modal Style*/
.modal {
margin: 100px auto;
padding: 20px;
background: var(--bg-color);
border: 1px solid #666;
width: 300px;
border-radius: 6px;
box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
position: relative;
}
.modal h2 {
margin-top: 0;
}
.modal .close {
position: absolute;
width: 20px;
height: 20px;
top: 20px;
right: 20px;
opacity: 0.8;
transition: all 200ms;
font-size: 24px;
font-weight: bold;
text-decoration: none;
color: var(--txt-color);
}
.modal .close:hover {
opacity: 1;
}
.modal .content {
max-height: 400px;
overflow: auto;
}
.modal p {
margin: 0 0 1em;
text-align: center;
}
.modal p:last-child {
margin: 0;
}
/*Modal background Style*/
.overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.5);
transition: opacity 200ms;
opacity: 1;
}
.overlay .cancel {
position: absolute;
width: 100%;
height: 100%;
cursor: default;
}
.overlay:target {
visibility: visible;
opacity: 1;
}

78
public/css/style.css Normal file
View File

@@ -0,0 +1,78 @@
/*Ligt theme colors*/
:root {
--bg-color: #f8f8f8;
--txt-color: #212121;
--lnk-color: #0033cc;
--table-border-color:#eeeeee ;
--table-bg-color: #ffffff;
--table-bg-hover-color:#f3f3f3;
--btn-hover-bg-color: #d2d2d2;
}
/* Dark theme colors*/
@media (prefers-color-scheme: dark) {
:root {
--bg-color: #383c4a;
--txt-color: #bbc0ca;
--lnk-color: #809fff;
--table-border-color: #373c48 ;
--table-bg-color:#2a2e3a ;
--table-bg-hover-color: #373b46;
--btn-hover-bg-color: #2a2e3a;
--color-footer: #2e323e;
}
}
/*Genral Style*/
body {
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
color: var(--txt-color);
background: var(--bg-color);
font: 100% system-ui;
}
.container{
padding: 1%;
}
a {
color: var(--lnk-color);
}
.HeadIcon {
color: #0046a1;
font-size: 100px;
}
.text-center {
text-align: center;
}
.alert.alert-danger {
margin-bottom: 5px;
text-align: center;
border-radius: 50px;
border: 2px darkred solid;
background: red;
max-width: 250px;
}
footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
text-align: center;
padding: 5px 0;
background-color: var(--color-footer);
color: var(--txt-color);
}
footer >.right {
float: right;
padding-right: 1%;
}
footer > .left {
float: left;
padding-left: 1%;
}

41
public/css/table.css Normal file
View File

@@ -0,0 +1,41 @@
tbody > tr:hover {
background-color: var(--table-bg-hover-color);
}
table {
border: 1px solid var(--table-border-color);
margin: 0;
padding: 0;
width: 100%;
border-collapse: collapse;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
overflow: hidden;
}
table caption {
font-size: 1.5em;
margin: .5em 0 .75em;
}
table tbody tr {
background-color: var(--table-bg-color);
border: 1px solid var(--table-border-color);
padding: .35em;
}
table thead tr {
background-color: #404652;
border: 1px solid var(--table-border-color);
padding: .35em;
}
table th, table td {
padding: .625em;
text-align: center;
}
table th {
font-size: .85em;
letter-spacing: .1em;
}

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB