304 lines
3.9 KiB
CSS
304 lines
3.9 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
background-color: #1e1e2e;
|
|
color: #ff66ff;
|
|
}
|
|
|
|
.container {
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
header {
|
|
background-color: #14141f;
|
|
color: #ff66ff;
|
|
padding: 10px 0;
|
|
height: 60px;
|
|
border-bottom: 1px solid grey;
|
|
}
|
|
|
|
#logo {
|
|
float: left;
|
|
font-size: 1.5em;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.content {
|
|
padding: 50px 0;
|
|
}
|
|
|
|
form {
|
|
padding: 80px;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
form label {
|
|
padding: 15px;
|
|
}
|
|
|
|
form input {
|
|
margin-bottom: 15px;
|
|
width: 100%;
|
|
}
|
|
|
|
.login-form {
|
|
padding: 50px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.login-form label {
|
|
padding: 15px;
|
|
}
|
|
|
|
.login-form input {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.user-form, .employee-form {
|
|
padding: 80px;
|
|
width: 100%;
|
|
}
|
|
|
|
.user-form input {
|
|
width: 100%;
|
|
}
|
|
|
|
.employee-form input {
|
|
width: 100%;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
}
|
|
|
|
table, th, td {
|
|
border: 1px solid grey;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
td, th {
|
|
padding: 5px 15px;
|
|
}
|
|
|
|
table th {
|
|
color: #00ffcc;
|
|
}
|
|
|
|
input[type=submit] {
|
|
padding: 5px 20px;
|
|
}
|
|
|
|
input[type=text], input[type=password], input[type=email], input[type=number] {
|
|
background-color: inherit;
|
|
color: inherit;
|
|
border: none;
|
|
border-bottom: 2px solid #555;
|
|
padding: 5px;
|
|
}
|
|
|
|
select {
|
|
background-color: #14141f;
|
|
border: none;
|
|
border-bottom: 2px solid #555;
|
|
border-radius: 5px;
|
|
color: inherit;
|
|
padding: 10px 20px;
|
|
width: 100%;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
option {
|
|
padding-left: 10px;
|
|
}
|
|
|
|
input[type=text]:focus, input[type=password]:focus, input[type=email]:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.btn {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn-edit img {
|
|
position: fixed;
|
|
right: 30px;
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
|
|
.btn img:hover {
|
|
background-color: #555;
|
|
}
|
|
|
|
.btn-delete img {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.btn-delete img:hover {
|
|
background-color: #555;
|
|
}
|
|
|
|
.toggle img {
|
|
background-color: inherit;
|
|
width: 60px;
|
|
height: 30px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.toggle img:hover {
|
|
background-color: #555;
|
|
}
|
|
|
|
tr.htmx-swapping td {
|
|
opacity: 0;
|
|
transition: opacity 0.5s ease-out;
|
|
}
|
|
|
|
.sidepanel {
|
|
height: 275px;
|
|
width: 0;
|
|
position: fixed;
|
|
z-index: 1;
|
|
top: 0;
|
|
right: 0;
|
|
background-color: #111;
|
|
overflow-x: hidden;
|
|
padding-top: 60px;
|
|
transition: 0.5s;
|
|
}
|
|
|
|
.sidepanel a {
|
|
margin-left: 15px;
|
|
margin-bottom: 15px;
|
|
padding 10px 10px 10px 32px;
|
|
text-decoration: none;
|
|
font-size: 25px;
|
|
display: block;
|
|
transition: 0.3s;
|
|
color: grey;
|
|
}
|
|
|
|
.sidepanel a:hover {
|
|
color: #f1f1f1;
|
|
}
|
|
|
|
.sidepanel .closebtn {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 25px;
|
|
font-size: 36px;
|
|
margin-left: 50px;
|
|
color: grey;
|
|
}
|
|
|
|
.openbtn {
|
|
font-size: 30px;
|
|
cursor: pointer;
|
|
background-color: inherit;
|
|
color: white;
|
|
padding: 10px 15px;
|
|
border: none;
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.openbtn:hover {
|
|
background-color: #444;
|
|
}
|
|
|
|
.form-content {
|
|
transition: 0.5s;
|
|
overflow: auto;
|
|
z-index: 1;
|
|
position: fixed;
|
|
top: 100px;
|
|
left: 0;
|
|
background-color: #14141f;
|
|
width: 100%;
|
|
}
|
|
|
|
.closebtn {
|
|
color: grey;
|
|
margin-left: 50px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.form-content .closebtn {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 25px;
|
|
font-size: 36px;
|
|
margin-left: 50px;
|
|
color: grey;
|
|
}
|
|
|
|
.btn-add {
|
|
color: grey;
|
|
font-size: 1.5em;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.btn-add:hover {
|
|
background-color: #444;
|
|
}
|
|
|
|
.btn {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.btn:hover {
|
|
background-color: #444;
|
|
}
|
|
|
|
.danger {
|
|
color: red;
|
|
}
|
|
|
|
.vendor-branches {
|
|
width: 350px;
|
|
}
|
|
|
|
.vendor-branches ul li a {
|
|
position: relative;
|
|
top: 2px;
|
|
right: 0;
|
|
margin-left: 10px;
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
.vendor-branches ul li {
|
|
transition: 0.3s ease-out;
|
|
}
|
|
|
|
.branch-row {
|
|
display: inline-block;
|
|
width: 300px;
|
|
height: 40px;
|
|
background-color: #14141f;
|
|
border-radius: 25px;
|
|
padding-left: 15px;
|
|
margin: 5px;
|
|
}
|
|
|
|
.branch-row .branch-name {
|
|
display: inline-block;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.branch-row a {
|
|
float: right;
|
|
margin-top: 5px;
|
|
margin-right: 15px;
|
|
font-size: 1.5em;
|
|
}
|