quivr/frontend/app/search/page.module.scss

93 lines
1.9 KiB
SCSS

@use "@/styles/IconSizes.module.scss";
@use "@/styles/Radius.module.scss";
@use "@/styles/ScreenSizes.module.scss";
@use "@/styles/Spacings.module.scss";
@use "@/styles/Typography.module.scss";
@use "@/styles/Variables.module.scss";
@use "@/styles/ZIndexes.module.scss";
.main_container {
position: relative;
width: 100%;
height: 100%;
.page_header {
position: absolute;
width: 100%;
}
.search_page_container {
background-color: var(--background-0);
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
.main_wrapper {
display: flex;
flex-direction: column;
row-gap: Spacings.$spacing05;
width: 50%;
margin-inline: auto;
transform: translateY(-#{Variables.$searchBarHeight});
@media (max-width: ScreenSizes.$small) {
width: 100%;
padding-inline: Spacings.$spacing07;
}
.quivr_logo_wrapper {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.quivr_text {
@include Typography.Big;
.quivr_text_primary {
color: var(--primary-0);
}
}
}
}
.shortcuts_card_wrapper {
background-color: var(--background-2);
padding: Spacings.$spacing05;
gap: Spacings.$spacing03;
border-radius: Radius.$big;
.shortcut_wrapper {
display: flex;
align-items: center;
gap: Spacings.$spacing02;
.shortcut {
color: var(--primary-0);
}
}
}
}
}
.onboarding_overlay {
width: 100%;
height: 100%;
z-index: ZIndexes.$overlay;
background-color: var(--background-blur);
position: absolute;
top: 0;
left: 0;
.first_brain_button {
position: absolute;
right: Spacings.$spacing07;
top: Spacings.$spacing04;
display: flex;
gap: Spacings.$spacing05;
}
}