- styling für neuen tag

- hover effekt
- tagicon statt plus
This commit is contained in:
ma0048
2024-12-02 13:09:38 +01:00
parent 6b04dff4a3
commit 1a1ed49f8b
2 changed files with 26 additions and 7 deletions
+24 -4
View File
@@ -1,10 +1,9 @@
:is(.tag_notice, .tag_inwork, .tag_planning) {
:is(.tag_notice, .tag_inwork, .tag_planning, .tag_prio_one, .tag_prio_two, .tag_finished) {
display: inline-block;
padding: 5px 10px;
margin-right: 5px;
border-radius: 3px;
color: white;
cursor: default;
font-size: .75em;
font-weight: 700;
line-height: 1;
@@ -13,16 +12,37 @@
vertical-align: baseline;
}
:is(.tag_notice, .tag_inwork, .tag_planning, .tag_prio_one, .tag_prio_two, .tag_finished):hover {
transform: scale(1.05);
}
.tag_notice {
background-color: red !important;
}
.tag_inwork {
.tag_finished {
background-color: green !important;
}
.tag_inwork {
background-color: violet !important;
}
.tag_planning {
.tag_planning {
background-color: lightblue !important;
}
.tag_prio_one {
background-color: red !important;
}
.tag_prio_two {
background-color: yellow !important;
color: black;
}
.dropdown-list {
list-style: none;
background-color: white;
+2 -3
View File
@@ -181,8 +181,8 @@ export default {
<div class="plus-button-container" @mouseleave="hideList">
<button @mouseover="showList = true"
:disabled="!values || values.length === 0"
class="btn btn-secondary btn-sm">
<i class="fa-solid fa-plus fa-xl"></i>
class="btn btn-sm">
<i class="fa-solid fa-tag fa-xl"></i>
</button>
<ul v-if="showList" class="dropdown-list">
<li v-for="(item, index) in tags" :key="index" @click="openModal(item)" :title="item.bezeichnung">
@@ -209,7 +209,6 @@ export default {
placeholder="Notiz..."
></form-input>
<div class="modificationdate">angelegt von {{ tagData.insertvon }} am {{ tagData.insertamum }}</div>
</div>
</template>
<template #footer>