quivr/frontend/app/user/components/UserMenuCard/UserMenuCard.module.scss
Antoine Dewez 8f49a724ce
feat(frontend): design changes on user profile (#2140)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-02-03 17:45:05 -08:00

46 lines
874 B
SCSS

@use "@/styles/Colors.module.scss";
@use "@/styles/Radius.module.scss";
@use "@/styles/Spacings.module.scss";
@use "@/styles/ScreenSizes.module.scss";
@use "@/styles/Typography.module.scss";
.menu_card_container {
padding: Spacings.$spacing05;
border-radius: Radius.$big;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
cursor: pointer;
display: flex;
flex-direction: column;
gap: Spacings.$spacing03;
width: 20%;
@media (max-width: ScreenSizes.$small) {
width: auto;
.title,
.subtitle {
display: none;
}
}
&:hover,
&.selected {
background-color: Colors.$primary-lightest;
}
.first_line_wrapper {
display: flex;
align-items: center;
justify-content: space-between;
.title {
@include Typography.H2;
}
}
.subtitle {
font-size: Typography.$small;
color: Colors.$normal-grey;
}
}