lbry-desktop/ui/scss/component/_yrbl.scss

93 lines
1.4 KiB
SCSS
Raw Normal View History

.yrbl__wrap {
display: flex;
align-items: center;
2020-12-11 19:33:27 +01:00
flex-direction: column;
flex-wrap: wrap;
justify-content: center;
text-align: left;
.section__actions {
flex-wrap: wrap;
> * {
margin-bottom: var(--spacing-s);
}
}
@media (min-width: $breakpoint-small) {
flex-direction: row;
}
}
.yrbl {
display: none;
2020-12-11 19:33:27 +01:00
height: 10rem;
2019-12-18 06:27:08 +01:00
@media (min-width: $breakpoint-small) {
display: block;
height: 20rem;
margin-right: calc(var(--spacing-xl) * 2);
2019-12-18 06:27:08 +01:00
}
}
2020-12-11 19:33:27 +01:00
.yrbl--always-show {
display: block;
}
.yrbl--small {
display: none;
@media (min-width: $breakpoint-small) {
display: block;
height: 8rem;
margin-right: calc(var(--spacing-xl));
}
}
.yrbl__content {
2020-04-22 21:07:38 +02:00
max-width: 400px;
}
.yrbl--first-run {
align-self: center;
height: 250px;
width: auto;
2020-06-01 19:03:19 +02:00
margin: 0 var(--spacing-l);
}
2019-01-23 16:38:40 +01:00
2019-02-15 02:52:10 +01:00
.yrbl--search {
justify-content: flex-start;
margin: 0;
.yrbl {
height: 18rem;
}
}
2019-01-23 16:38:40 +01:00
// Get weird here
.yrbl--enhanced {
position: absolute;
z-index: 9999;
height: 95vh;
width: 95vh;
left: 0;
right: 0;
opacity: 0.5;
animation-name: enhancedAnimation;
animation-duration: 2s;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-timing-function: ease-out;
}
@-webkit-keyframes enhancedAnimation {
from {
left: 0;
transform: rotate(0deg);
}
to {
left: 50vw;
transform: rotate(360deg);
}
}