This commit is contained in:
2023-04-20 13:28:44 +02:00
parent d48a51f0e3
commit cd8918f21b
4 changed files with 52 additions and 86 deletions

85
app.vue
View File

@ -1,14 +1,21 @@
<template> <template>
<div class="main-container"> <div class="main-container">
<div class="header"> <div class="header">
<p> <table id="header-table">
<tr>
<th>
<router-link to="/header/help"> <router-link to="/header/help">
HILFE Hilfe
</router-link> </router-link>
</th>
<th>
<router-link to="/header/info"> <router-link to="/header/info">
INFO Info
</router-link> </router-link>
</p> </th>
<th> Logout </th>
</tr>
</table>
</div> </div>
<div class="sidenav"> <div class="sidenav">
<div class="sidenav-content"> <div class="sidenav-content">
@ -33,72 +40,4 @@
<script></script> <script></script>
<style scoped> <style src="@/assets/main.css"></style>
.main-container {
max-width: 70vw;
margin: auto;
}
/* Navigation */
/* The side navigation menu */
.sidenav {
height: 100%;
width: 250px;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: #a5aeb5;
overflow-x: hidden;
padding-top: 20px;
}
.sidenav-content {
padding: 15px;
}
/* The menu title */
.menu-heading {
color: #f1f1f1;
width: 200px;
height: 75px;
font-weight: 600;
font-size: 40px;
}
/* The navigation menu links */
.sidenav a {
text-decoration: none;
font-size: 25px;
color: #e0e2e3;
display: block;
transition: 0.3s;
}
/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
color: #f1f1f1;
}
/* Position and style the close button (top right corner) */
.sidenav .closebtn {
position: absolute;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}
/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
transition: margin-left .5s;
padding: 20px;
}
/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}
</style>

View File

@ -2,17 +2,38 @@
padding: 0; padding: 0;
margin: 0; margin: 0;
box-sizing: border-box; box-sizing: border-box;
font-family: "TimesNewRoman"; font-family: "Times New Roman";
} }
.heading { /* Header */
background-color: beige;
.header {
background-color: #a5aeb5;
width: 100%;
} }
#header-table th {
text-transform: uppercase;
text-align: left;
padding: 8px;
min-width: 20px;
}
#header-table tr {
min-width: 20px;
}
#header-table td {
text-align: left;
padding: 8px;
}
/* main content field */
.main-container { .main-container {
max-width: 45vw; max-width: 70vw;
margin: auto; margin: auto;
padding-top: 60px; padding-top: 10px;
} }
/* The side navigation menu */ /* The side navigation menu */
@ -43,7 +64,6 @@
/* The navigation menu links */ /* The navigation menu links */
.sidenav a { .sidenav a {
padding: 8px 8px 8px 32px;
text-decoration: none; text-decoration: none;
font-size: 25px; font-size: 25px;
color: #e0e2e3; color: #e0e2e3;
@ -78,6 +98,7 @@
} }
/* Styling for adresses */ /* Styling for adresses */
/* search input */
input { input {
display: block; display: block;
width: 350px; width: 350px;
@ -92,6 +113,7 @@ input {
rgba(0, 0, 0, 0.3) 0px 1px 3px -1px; rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
} }
/* items */
.item { .item {
width: 350px; width: 350px;
margin: 0 auto 10px auto; margin: 0 auto 10px auto;
@ -102,12 +124,18 @@ input {
rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
} }
/* */
.adresses { .adresses {
background-color: #a5aeb5; background-color: #a5aeb5;
cursor: pointer; cursor: pointer;
} }
/* error message */
.error { .error {
background-color: tomato; background-color: tomato;
} }

View File

@ -29,5 +29,4 @@ function filteredList () {
} }
</script> </script>
<style scoped src="@/assets/main.css"> <style src="@/assets/main.css"></style>
</style>

View File

@ -6,4 +6,4 @@
</div> </div>
</template> </template>
<style scoped src="@/assets/main.css"></style> <style src="@/assets/main.css"></style>