lbry-desktop/ui/scss/component/_nudge.scss
jessopb 3034f4ce6c
bring in styles (#7542)
* bring in ody styles; modify; cleanup

* workflow

* workflow

* v0.52.6-alpha.teststyles.1

* fix hook

* v0.52.6-alpha.teststyles.2

* style fixes

* fix pagination styling

* v0.52.6-alpha.teststyles.3

* wallet icon was bad

* restore deploy script

* fixes

* fix player close button

* modal inputs

* cleanup

* cleanup

* fix staked indicator

* fix profile menu button skel delay

* fix view-all-playlists hover

* fix overlay buttons on collection page

* fix header buttons
2022-04-17 13:04:56 -04:00

51 lines
988 B
SCSS

.nudge {
z-index: 3;
position: absolute;
top: 4rem;
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);
color: var(--color-secondary-contrast);
font-weight: bold;
.button--close {
.icon {
stroke: var(--color-secondary-contrast);
}
&:hover {
background-color: var(--color-primary);
.icon {
stroke: var(--color-primary-contrast);
}
}
}
@media (min-width: $breakpoint-small) {
top: calc(var(--height-button) + var(--spacing-s));
}
&::after {
content: '';
position: absolute;
height: 1rem;
width: 1rem;
top: -0.5rem;
left: 1rem;
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;
}
}