2020-11-10 06:21:04 +01:00
|
|
|
.nudge {
|
|
|
|
z-index: 3;
|
|
|
|
position: absolute;
|
2020-11-10 07:10:22 +01:00
|
|
|
top: 4rem;
|
2020-11-10 06:21:04 +01:00
|
|
|
white-space: normal;
|
|
|
|
overflow: visible;
|
|
|
|
padding: var(--spacing-m);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
box-shadow: var(--card-box-shadow);
|
|
|
|
background-color: var(--color-secondary);
|
2022-02-11 19:50:55 +01:00
|
|
|
color: var(--color-secondary-contrast);
|
2021-04-26 21:19:17 +02:00
|
|
|
font-weight: bold;
|
2020-11-10 06:21:04 +01:00
|
|
|
|
|
|
|
.button--close {
|
|
|
|
.icon {
|
2022-02-11 19:50:55 +01:00
|
|
|
stroke: var(--color-secondary-contrast);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
stroke: var(--color-primary-contrast);
|
|
|
|
}
|
2020-11-10 06:21:04 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-10 07:10:22 +01:00
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
top: calc(var(--height-button) + var(--spacing-s));
|
|
|
|
}
|
|
|
|
|
2020-11-10 06:21:04 +01:00
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
height: 1rem;
|
|
|
|
width: 1rem;
|
|
|
|
top: -0.5rem;
|
2020-11-17 20:10:14 +01:00
|
|
|
left: 1rem;
|
2020-11-10 06:21:04 +01:00
|
|
|
transform: rotate(45deg);
|
|
|
|
background-color: var(--color-secondary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nudge__wrapper {
|
|
|
|
width: 10rem;
|
|
|
|
margin-right: var(--spacing-m);
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
width: 12.5rem;
|
|
|
|
}
|
2022-03-31 11:19:32 +02:00
|
|
|
|
|
|
|
.nudge__text {
|
|
|
|
display: -webkit-box;
|
|
|
|
max-width: 200px;
|
|
|
|
-webkit-line-clamp: 4;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2020-11-10 06:21:04 +01:00
|
|
|
}
|