lbry.tech/sass/pages/_tour.scss
2018-08-07 18:15:34 -05:00

108 lines
1.4 KiB
SCSS

.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;
vertical-align: top;
}
.tour__content__trends {
&::after {
@include clearfix;
}
}
.tour__content__trend {
width: calc(33.333333% - (2rem / 3)); // height: 175px;
float: left;
margin-bottom: 1rem;
&:not(:first-of-type) {
margin-left: 1rem;
}
img {
width: 100%; height: 175px;
margin-bottom: 0.5rem;
object-fit: cover;
object-position: center;
}
figcaption {
font-size: 1rem;
line-height: 1.33;
span {
color: rgba($black, 0.3);
display: block;
}
}
}