Skip to content

Commit ddc3e13

Browse files
committed
feat: nav cta hover effect
1 parent 8c796eb commit ddc3e13

File tree

2 files changed

+21
-6
lines changed

2 files changed

+21
-6
lines changed

components/button/cta.vue

+15
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,24 @@ const props = defineProps({
216216
padding: toRem(9);
217217
border-radius: 50%;
218218
border: 2px solid $sageGreen;
219+
background-color: rgba($sageGreen, 0);
220+
@include transitionDefault;
219221
.button-content {
220222
display: flex;
221223
}
224+
:deep(.icon) {
225+
path {
226+
@include transitionDefault;
227+
}
228+
}
229+
&:hover {
230+
background-color: rgba($sageGreen, 1);
231+
:deep(.icon) {
232+
path {
233+
fill: $codGray;
234+
}
235+
}
236+
}
222237
}
223238
224239
.theme__big-number {

components/site-header.vue

+6-6
Original file line numberDiff line numberDiff line change
@@ -283,13 +283,13 @@ const getCtaComponent = (icon) => {
283283
visibility: visible;
284284
transform: scale(1);
285285
}
286-
:deep(.navigation) {
287-
.nav-item {
286+
// :deep(.navigation) {
287+
// .nav-item {
288288
289-
}
290-
.nav-link {
289+
// }
290+
// .nav-link {
291291
292-
}
293-
}
292+
// }
293+
// }
294294
}
295295
</style>

0 commit comments

Comments
 (0)