Fixed event form

This commit is contained in:
Torsten Schulz
2024-07-09 18:17:33 +02:00
parent 1bc7339159
commit 2b9d11f849
4 changed files with 27 additions and 18 deletions

View File

@@ -94,6 +94,7 @@ body {
flex: 1; flex: 1;
background-color: #d9e2f3; background-color: #d9e2f3;
overflow-y: auto; overflow-y: auto;
margin: 0 7px 7px 0;
} }
.right-column h2 { .right-column h2 {

View File

@@ -42,7 +42,7 @@ header {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: 100%; width: 100%;
background-color: #e0bfff; background-color: #ffffff;
} }
.header-title { .header-title {
@@ -50,11 +50,14 @@ header {
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
width: 100%; width: 100%;
padding: 0.3em 0.5em; padding: .3em .5em;
} }
header h1 { header h1 {
margin: 0; margin: 0;
flex: 1;
text-align: center;
text-shadow: 2px 2px 1px #e0bfff;
} }
.reload-icon { .reload-icon {

View File

@@ -12,7 +12,8 @@
{{ item.name }} {{ item.name }}
</span> </span>
<transition name="fade"> <transition name="fade">
<div v-if="item.submenu && item.submenu.length && (isSubmenuOpen[item.name] || windowWidth > 768)" class="dropdown-content"> <div v-if="item.submenu && item.submenu.length && (isSubmenuOpen[item.name] || windowWidth > 768)"
class="dropdown-content">
<router-link v-for="subitem in item.submenu" :key="subitem.name" :to="subitem.link" @click="closeMenu"> <router-link v-for="subitem in item.submenu" :key="subitem.name" :to="subitem.link" @click="closeMenu">
{{ subitem.name }} {{ subitem.name }}
</router-link> </router-link>
@@ -103,9 +104,11 @@ export default {
background-color: #9400ff; background-color: #9400ff;
overflow: visible; overflow: visible;
min-height: 47px; min-height: 47px;
display: flex; display: inline-flex;
flex-direction: column; flex-direction: column;
width: 100%; width: auto;
margin: 0.1em 0.75em 9px 0.75em;
box-shadow: 0 0 2px 5px #9400ff;
} }
.menu-toggle { .menu-toggle {
@@ -180,11 +183,16 @@ export default {
visibility: visible; visibility: visible;
} }
.fade-enter-active, .fade-leave-active { .fade-enter-active,
.fade-leave-active {
transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out; transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
} }
.fade-enter, .fade-leave-to /* .fade-leave-active in <2.1.8 */ { .fade-enter,
.fade-leave-to
/* .fade-leave-active in <2.1.8 */
{
opacity: 0; opacity: 0;
visibility: hidden; visibility: hidden;
} }
@@ -225,6 +233,7 @@ export default {
display: block; display: block;
} }
} }
.pointer { .pointer {
cursor: pointer; cursor: pointer;
} }

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="right-column"> <div>
<img :src="currentImage" alt="Cross" /> <img :src="currentImage" alt="Cross" />
</div> </div>
</template> </template>
@@ -56,10 +56,6 @@ export default {
</script> </script>
<style scoped> <style scoped>
.right-column {
background-color: #d9e2f3;
}
.right-column h2 { .right-column h2 {
text-align: center; text-align: center;
color: #000; color: #000;