.tour { border-top: 1px solid rgba($black, 0.05); position: relative; top: 1rem; &::after { @include clearfix; } } .tour__sidebar { width: 250px; height: 100%; float: left; list-style-type: none; padding-top: 1rem; padding-right: 1rem; vertical-align: top; } .tour__sidebar__step { cursor: pointer; &:not(:last-of-type) { margin-bottom: 1.5rem; } &:not(.active) { button, span { color: rgba($black, 0.3); } } &.active, &:hover { button { color: $teal; } span { color: $black; } } button, span { transition: color 0.2s; } button { background-color: transparent; font-size: 1.25rem; font-weight: 600; } span { display: block; font-size: 1rem; } } .tour__content { width: calc(100% - 250px); height: 100%; min-height: 500px; border-left: 1px solid rgba($black, 0.05); float: right; padding: 1rem; vertical-align: top; } .tour__content__urlbar { border: 1px solid rgba($black, 0.05); display: flex; margin-bottom: 1rem; button, input, span { float: left; vertical-align: middle; } button, span { height: 100%; line-height: 2rem; } button { color: $white; font-size: 1rem; position: relative; text-transform: lowercase; transition: background-color 0.2s; width: 6rem; &::after { width: calc(100% + 2px); height: calc(100% + 2px); top: -1px; left: -1px; content: ""; position: absolute; transition: background-color 0.2s; z-index: -1; } &:not(:hover) { background-color: $black; &::after { background-color: $black; } } &:hover { background-color: $teal; &::after { background-color: $teal; } } } input { font-size: 1rem; width: calc(100% - 9.5rem); &::placeholder { color: rgba($black, 0.5); opacity: 1; } } span { @include no-user-select; color: rgba($black, 0.5); cursor: default; font-size: 1rem; text-align: right; width: 3.5rem; } } .tour__content__trends { display: grid; grid-gap: 2%; grid-template-columns: 32% 32% 32%; overflow-y: auto; position: relative; &:empty { width: 100%; height: 10rem;; &::before { width: 4rem; height: 4rem; top: 2rem; left: calc(50% - 2rem); animation: spin 2s linear infinite; border-radius: 50%; border-style: solid; border-top-color: $teal; border-width: 6px; content: ""; position: absolute; } &::after { top: 7rem; left: 0; content: "Fetching trending content from LBRY"; font-size: 1rem; position: absolute; text-align: center; width: 100%; } } } .tour__content__trend { img { width: 100%; height: 175px; cursor: pointer; display: block; margin-bottom: 0.5rem; object-fit: cover; object-position: center; position: relative; } figcaption { cursor: pointer; font-size: 1rem; line-height: 1.33; span { color: rgba($black, 0.3); display: block; font-size: 0.8rem; letter-spacing: 0.025rem; } } }