lbry-desktop/ui/scss/component/_yrbl.scss
Jeremy Kauffman 872259b73a
File downloads and refactoring (#3918)
* am I done?

* post diff

* unused selector cleanup

* missed commit

* mess with button styles

* fix flow

Co-authored-by: Jeremy Kauffman <jeremy@lbry.io>
Co-authored-by: Sean Yesmunt <sean@lbry.io>
2020-04-01 14:43:50 -04:00

63 lines
997 B
SCSS

.yrbl__wrap {
align-items: center;
display: flex;
justify-content: center;
vertical-align: middle;
text-align: left;
}
.yrbl {
height: 20rem;
margin-right: calc(var(--spacing-xlarge) * 2);
@media (max-width: $breakpoint-small) {
display: none;
}
}
.yrbl__content {
max-width: 500px;
}
.yrbl--first-run {
align-self: center;
height: 250px;
width: auto;
margin: 0 var(--spacing-large);
}
.yrbl--search {
justify-content: flex-start;
margin: 0;
.yrbl {
height: 18rem;
}
}
// 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);
}
}