From 2d36bc2af2f24294363d4644ad2f81e631426b30 Mon Sep 17 00:00:00 2001 From: ogerly Date: Thu, 15 Dec 2022 10:43:09 +0100 Subject: [PATCH] contribution style nav and items --- .../src/assets/scss/gradido-template.scss | 72 ++++++-- .../Contributions/ContributionListItem.vue | 161 +++++++++--------- .../Contributions/GradidoNotification.vue | 53 ------ .../Template/ContentHeader/NavCommunity.vue | 16 +- .../Template/RightSide/ContributionInfo.vue | 57 ++++++- frontend/src/mixins/toaster.js | 6 + frontend/src/pages/Community.vue | 9 +- 7 files changed, 208 insertions(+), 166 deletions(-) delete mode 100644 frontend/src/components/Contributions/GradidoNotification.vue diff --git a/frontend/src/assets/scss/gradido-template.scss b/frontend/src/assets/scss/gradido-template.scss index 39f91795f..87efcedfa 100644 --- a/frontend/src/assets/scss/gradido-template.scss +++ b/frontend/src/assets/scss/gradido-template.scss @@ -9,10 +9,6 @@ body { cursor: pointer; } -.bg-gray300 { - background-color: $gray-300; -} - .shadow-default { box-shadow: rgb(0 0 0 / 14%) 0 4px 10px; } @@ -24,14 +20,7 @@ body { .c-blau { color: #0e79bc !important; } - -.text-gradido { - color: rgb(249 205 105 / 100%); -} - -.gradient-gradido { - background-image: linear-gradient(146deg, rgb(220 167 44) 50%, rgb(197 141 56 / 100%) 100%); -} + /* Navbar */ a, @@ -163,6 +152,18 @@ a:hover, border-bottom-color: rgb(195 230 203 / 85%); } +.b-toast-warning .toast .toast-header { + color: #fcfcfb; + background-color: #c58d38 !important; + border-bottom-color: rgba(207, 130, 14, 0.85); +} + +.b-toast-warning .toast .toast-body { + color: #010602; + background-color: rgba(247, 248, 247, 0.85); + border-bottom-color: rgba(207, 130, 14, 0.85); +} + // .btn-primary pim { .btn-primary { background-color: #5a7b02; @@ -236,6 +237,13 @@ a:hover, background-color: #ebebeba3 !important; border-radius: 25pt; } +.gradido-bg-f5 { + background-color: #f5f5f5 !important; +} + +.gradido-bg-orange { + background-color: rgb( 197 141 56) !important; +} .gradido-width-300 { width: 300px; @@ -247,6 +255,7 @@ a:hover, .gradido-border-radius { border-radius: 26px; + overflow: hidden; } .gradido-no-border-radius { @@ -264,3 +273,42 @@ a:hover, .list-group-item { background-color: rgb(255 255 255 / 0%); } + + +.pulse { + // margin:100px; + // display: block; + // width: 22px; + // height: 22px; + // border-radius: 50%; + // background: #cca92c; + // cursor: pointer; + box-shadow: 0 0 0 #c58d38; + animation: pulse 2s infinite; +} + +@-webkit-keyframes pulse { + 0% { + -webkit-box-shadow: 0 0 0 0 #c58d387e; + } + 70% { + -webkit-box-shadow: 0 0 0 10px rgba(204,169,44, 0); + } + 100% { + -webkit-box-shadow: 0 0 0 0 rgba(204,169,44, 0); + } +} +@keyframes pulse { + 0% { + -moz-box-shadow: 0 0 0 0 #c58d387e; + box-shadow: 0 0 0 0 #c58d387e; + } + 70% { + -moz-box-shadow: 0 0 0 20px rgba(204,169,44, 0); + box-shadow: 0 0 0 20px rgba(204,169,44, 0); + } + 100% { + -moz-box-shadow: 0 0 0 0 rgba(204,169,44, 0); + box-shadow: 0 0 0 0 rgba(204,169,44, 0); + } +} \ No newline at end of file diff --git a/frontend/src/components/Contributions/ContributionListItem.vue b/frontend/src/components/Contributions/ContributionListItem.vue index a1aeec7f5..6e4ce1ccc 100644 --- a/frontend/src/components/Contributions/ContributionListItem.vue +++ b/frontend/src/components/Contributions/ContributionListItem.vue @@ -1,88 +1,87 @@