lbry.tech/sass/pages/_tour.scss
2018-08-06 17:51:32 -05:00

73 lines
957 B
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;
}