Skip to content

Commit

Permalink
feat: nav cta hover effect
Browse files Browse the repository at this point in the history
  • Loading branch information
svvimming committed Sep 6, 2023
1 parent 8c796eb commit ddc3e13
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
15 changes: 15 additions & 0 deletions components/button/cta.vue
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,24 @@ const props = defineProps({
padding: toRem(9);
border-radius: 50%;
border: 2px solid $sageGreen;
background-color: rgba($sageGreen, 0);
@include transitionDefault;
.button-content {
display: flex;
}
:deep(.icon) {
path {
@include transitionDefault;
}
}
&:hover {
background-color: rgba($sageGreen, 1);
:deep(.icon) {
path {
fill: $codGray;
}
}
}
}
.theme__big-number {
Expand Down
12 changes: 6 additions & 6 deletions components/site-header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -283,13 +283,13 @@ const getCtaComponent = (icon) => {
visibility: visible;
transform: scale(1);
}
:deep(.navigation) {
.nav-item {
// :deep(.navigation) {
// .nav-item {
}
.nav-link {
// }
// .nav-link {
}
}
// }
// }
}
</style>

0 comments on commit ddc3e13

Please sign in to comment.