302 lines
4.7 KiB
CSS
302 lines
4.7 KiB
CSS
@import url(./trashcan.css);
|
|
|
|
*{
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
background: url("../pictures/Gerätehaus.jpg") no-repeat center center fixed;
|
|
-webkit-background-size: cover;
|
|
-moz-background-size: cover;
|
|
-o-background-size: cover;
|
|
background-size: cover;
|
|
height: 100%;
|
|
}
|
|
|
|
.navbar {
|
|
display: flex;
|
|
position: relative;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background-color: #090CA9;
|
|
color: white;
|
|
width: 100%;
|
|
}
|
|
|
|
#logo {
|
|
font-size: 1.5rem;
|
|
margin: .5rem;
|
|
}
|
|
|
|
.navbar-links {
|
|
height: 100%;
|
|
}
|
|
|
|
.navbar-links ul {
|
|
display: flex;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.navbar-links li {
|
|
list-style: none;
|
|
}
|
|
|
|
.navbar-links li a {
|
|
display: block;
|
|
text-decoration: none;
|
|
color: white;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.navbar-links li:hover {
|
|
background-color: #002e5b;
|
|
}
|
|
|
|
.toggle-button {
|
|
position: absolute;
|
|
top: .75rem;
|
|
right: .1rem;
|
|
display: none;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
width: 30px;
|
|
height: 21px;
|
|
}
|
|
|
|
.toggle-button .bar {
|
|
height: 3px;
|
|
width: 100%;
|
|
background-color: white;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
|
|
|
|
header {
|
|
margin-bottom: 5px;
|
|
width: 100%;
|
|
}
|
|
|
|
body {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
font-family: 'Open Sans', sans-serif;
|
|
align-items: center;
|
|
justify-content: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0px auto;
|
|
font-size: 26px;
|
|
padding: 20px 0px;
|
|
color: #002e5b;
|
|
text-align: center;
|
|
}
|
|
|
|
h1 span{
|
|
font-weight: 500;
|
|
margin-left: 5px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
div.table-div {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
div.table-div table{
|
|
table-layout: flex;
|
|
display: block;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
div.table-div th,td {
|
|
border: 1px solid;
|
|
padding-left: .5rem;
|
|
padding-right: .5rem;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
div.headline {
|
|
display: block;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-bottom: 1px solid silver;
|
|
width: 100%;
|
|
}
|
|
|
|
div.headline h2{
|
|
text-align: center;
|
|
color: #002e5b;
|
|
margin: 0px auto;
|
|
padding: 10px 0px;
|
|
font-weight: 400;
|
|
margin-left: 5px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.center{
|
|
/*max-width: 800px;
|
|
min-width: 300px;*/
|
|
margin: auto;
|
|
margin-top: 0px;
|
|
background-color: white;
|
|
height: 100%;
|
|
border-radius: 10px;
|
|
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.input{
|
|
padding-right: 0px;
|
|
justify-content: right;
|
|
display: flex;
|
|
}
|
|
|
|
.btn-div{
|
|
padding-top: 5px;
|
|
padding-bottom: 1px;
|
|
}
|
|
|
|
.btn-div input{
|
|
border-radius: 0;
|
|
border: 0;
|
|
width: 26px;
|
|
border-width: 1px;
|
|
height: 26px;
|
|
background-color: white;
|
|
}
|
|
|
|
|
|
.btn-div input:hover:enabled {
|
|
background-color: lightgray;
|
|
}
|
|
|
|
.btn-div form{
|
|
position: relative;
|
|
}
|
|
|
|
#icon-add {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
pointer-events: none;
|
|
transition: none;
|
|
}
|
|
|
|
#icon-delete{
|
|
position: absolute;
|
|
top: 4px;
|
|
left: 7px;
|
|
pointer-events: none;
|
|
visibility: visible;
|
|
}
|
|
|
|
#icon-delete.disabled,
|
|
#icon-edit.disabled {
|
|
visibility: hidden;
|
|
}
|
|
|
|
#icon-edit {
|
|
position: absolute;
|
|
top: 9px;
|
|
left: 8px;
|
|
pointer-events: none;
|
|
visibility: visible;
|
|
}
|
|
|
|
.input-table{
|
|
padding-left: 2px;
|
|
padding-right: 2px;
|
|
margin-left: 5px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.select-div {
|
|
padding-top: 5px;
|
|
padding-bottom: 1px;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.select-div select{
|
|
border-radius: 0;
|
|
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.05);
|
|
border: 1px solid silver;
|
|
background-color: white;
|
|
}
|
|
|
|
.home-menu-table {
|
|
padding-top: 5px;
|
|
}
|
|
|
|
.home {
|
|
display: block;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-bottom: none;
|
|
width: 100%;
|
|
}
|
|
|
|
.home h2 {
|
|
text-align: center;
|
|
color: #002e5b;
|
|
margin: 0px auto;
|
|
padding: 10px 0px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
@media (max-width: 800px) {
|
|
.navbar {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.toggle-button {
|
|
display: flex;
|
|
}
|
|
|
|
.navbar-links {
|
|
display: none;
|
|
width: 100%;
|
|
}
|
|
|
|
.navbar-links ul {
|
|
width: 100%;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.navbar-links ul li {
|
|
text-align: end;
|
|
}
|
|
|
|
.navbar-links ul li a {
|
|
padding: .5rem 1rem;
|
|
}
|
|
|
|
.navbar-links.active {
|
|
display: flex;
|
|
}
|
|
|
|
.center {
|
|
margin-left: 2%;
|
|
margin-right: 2%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 500px) {
|
|
.table-div table{
|
|
font-size: 4vmin;
|
|
}
|
|
} |