1
0
mirror of https://github.com/XFox111/my-website.git synced 2026-04-22 07:28:01 +03:00
Files
my-website/app/_components/CookieBanner.module.scss
T

76 lines
957 B
SCSS

@use "@/_styles/theme" as *;
.banner
{
@include flex(row);
position: fixed;
left: 0;
bottom: 8%;
background-color: $colorNeutralBackground2;
z-index: 20;
.learnMore
{
gap: $spacingL;
padding: $spacingMNudge $spacingL;
background-size: $spacingMNudge 100%;
flex-grow: 1;
justify-content: flex-start;
p
{
color: $colorNeutralForeground2;
@include body1;
span
{
color: $colorNeutralForeground1;
@include body2($fontFamilyBaseAlt);
}
}
&:hover,
&:focus-visible
{
p,
p > span
{
color: $colorNeutralForegroundInverted;
}
}
}
.controls
{
display: grid;
grid-auto-flow: column;
@media screen and (min-width: 769px)
{
> button
{
border-left: none;
}
}
}
@media screen and (max-width: 768px)
{
width: 100%;
bottom: 0;
flex-flow: column;
.learnMore
{
border-bottom: none;
}
.controls > button:last-child
{
border-left: none;
}
}
}