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

64 lines
997 B
SCSS
Raw Normal View History

.yrbl__wrap {
align-items: center;
display: flex;
justify-content: center;
vertical-align: middle;
text-align: left;
}
.yrbl {
2019-03-28 17:53:13 +01:00
height: 20rem;
2020-03-18 22:14:11 +01:00
margin-right: calc(var(--spacing-xlarge) * 2);
2019-12-18 06:27:08 +01:00
@media (max-width: $breakpoint-small) {
2020-03-23 20:16:09 +01:00
display: none;
2019-12-18 06:27:08 +01:00
}
}
.yrbl__content {
max-width: 500px;
}
.yrbl--first-run {
align-self: center;
height: 250px;
width: auto;
2019-06-11 20:10:58 +02:00
margin: 0 var(--spacing-large);
}
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);
}
}