58 lines
1.1 KiB
SCSS
58 lines
1.1 KiB
SCSS
.nag {
|
|
z-index: 9999;
|
|
position: fixed;
|
|
left: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
padding: var(--spacing-small);
|
|
background-color: var(--color-nag);
|
|
color: var(--color-white);
|
|
font-weight: var(--font-weight-bold);
|
|
text-align: center;
|
|
z-index: 2;
|
|
|
|
.button--link {
|
|
font-weight: var(--font-weight-bold);
|
|
color: var(--color-white);
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
.nag--helpful {
|
|
background-color: var(--color-secondary);
|
|
color: var(--color-white);
|
|
z-index: 3;
|
|
}
|
|
|
|
.nag__button {
|
|
line-height: 1;
|
|
margin-left: var(--spacing-small);
|
|
border-radius: var(--border-radius);
|
|
border: 1px solid var(--color-white);
|
|
padding: var(--spacing-miniscule);
|
|
color: var(--color-white);
|
|
font-weight: var(--font-weight-bold);
|
|
|
|
&:hover {
|
|
background-color: var(--color-white);
|
|
color: var(--color-nag);
|
|
}
|
|
}
|
|
|
|
.nag__button--helpful {
|
|
&:hover {
|
|
background-color: var(--color-secondary-alt);
|
|
color: var(--color-secondary);
|
|
}
|
|
}
|
|
|
|
.nag__close {
|
|
margin-left: auto;
|
|
right: var(--spacing-medium);
|
|
position: absolute;
|
|
border: none;
|
|
|
|
svg {
|
|
stroke-width: 4px;
|
|
}
|
|
}
|