Skip to content
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions apps/web/src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ declare module 'vue' {
ProgramObjective: typeof import('./components/program/detail/ProgramObjective.vue')['default']
ProgramProjects: typeof import('./components/program/detail/ProgramProjects.vue')['default']
ProgramTile: typeof import('./components/program/detail/ProgramTile.vue')['default']
ProjectButton: typeof import('./components/project/ProjectButton.vue')['default']
ProjectCard: typeof import('./components/project/list/ProjectCard.vue')['default']
ProjectDescription: typeof import('./components/project/details/ProjectDescription.vue')['default']
ProjectDetail: typeof import('./components/project/details/ProjectDetail.vue')['default']
Expand Down Expand Up @@ -88,11 +89,11 @@ declare module 'vue' {
TeeQuestionnaireResult: typeof import('./components/questionnaire/TeeQuestionnaireResult.vue')['default']
TeeSpinner: typeof import('./components/element/TeeSpinner.vue')['default']
TeeTabs: typeof import('./components/element/TeeTabs.vue')['default']
ThemeCard: typeof import('./components/theme/ThemeCard.vue')['default']
ThemeCard: typeof import('./components/theme/select/ThemeCard.vue')['default']
ThemeFilter: typeof import('./components/theme/ThemeFilter.vue')['default']
ThemeFiltersAndCard: typeof import('./components/questionnaire/result/list/ThemeFiltersAndCard.vue')['default']
ThemeHeaderCard: typeof import('./components/theme/ThemeHeaderCard.vue')['default']
ThemeSelect: typeof import('./components/theme/ThemeSelect.vue')['default']
ThemeSelect: typeof import('./components/theme/select/ThemeSelect.vue')['default']
TrackButton: typeof import('./components/track/form/TrackButton.vue')['default']
TrackButtonInput: typeof import('./components/track/form/TrackButtonInput.vue')['default']
TrackCallout: typeof import('./components/track/detail/TrackCallout.vue')['default']
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<template>
<div
tabindex="0"
class="fr-card fr-mx-md-0 fr-mx-2v theme-card"
:class="`fr-bg-xs--${option.color}--light`"
>
<div class="fr-card__body fr-py-1v">
<div class="fr-card__body theme-card-body fr-py-1v">
<div class="fr-card__content fr-p-2v">
<div class="fr-card__title theme-card-title">
<div
Expand Down Expand Up @@ -37,10 +38,10 @@
</div>
</div>
<div
class="fr-hidden fr-unhidden-sm fr-card__header"
class="fr-hidden fr-unhidden-sm fr-card__header theme-card-header"
:class="`fr-card__header--${option.color}`"
>
<div class="fr-card__img fr-card__img--contain">
<div class="fr-card__img fr-card__img--contain fr-m-auto">
<img
class="fr-responsive-img"
height="200px"
Expand Down Expand Up @@ -70,7 +71,17 @@ defineProps<Props>()
height: 100%;
}

.theme-card:hover {
.theme-card-body {
height: 75%;
}

.theme-card-header {
height: 35%;
}

.theme-card:hover,
.theme-card:active,
.highlighted-project:active {
box-shadow: 1px 2px 8px 2px rgb(0 0 0 / 10%);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
:key="opt.value"
class="fr-col-4 fr-col-sm-6 fr-col-md-4 fr-col-xs-12 fr-p-1v"
@click="selectOption(opt.value)"
@keydown.enter="selectOption(opt.value)"
>
<ThemeCard :option="opt" />
</div>
Expand Down
Loading