2018-08-22 23:57:45 +02:00
|
|
|
/**
|
|
|
|
* Tour | Wrapper
|
|
|
|
*
|
2018-08-23 00:03:02 +02:00
|
|
|
* @class .tour
|
|
|
|
* @selector {::before}
|
|
|
|
* @selector {::after}
|
|
|
|
* @state {.waiting}
|
2018-08-22 23:57:45 +02:00
|
|
|
*/
|
|
|
|
|
2018-08-07 00:51:32 +02:00
|
|
|
.tour {
|
|
|
|
border-top: 1px solid rgba($black, 0.05);
|
|
|
|
position: relative;
|
|
|
|
top: 1rem;
|
2018-07-16 23:06:37 +02:00
|
|
|
|
2018-08-21 23:22:31 +02:00
|
|
|
&.waiting::before {
|
|
|
|
top: 0; right: 0;
|
|
|
|
bottom: 0; left: 0;
|
|
|
|
|
|
|
|
background-color: rgba($white, 0.7);
|
|
|
|
content: "";
|
|
|
|
cursor: url("/assets/media/svg/watch--green.svg"), auto;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 5;
|
|
|
|
}
|
|
|
|
|
2018-08-07 00:51:32 +02:00
|
|
|
&::after {
|
|
|
|
@include clearfix;
|
2018-07-16 23:06:37 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-08-22 23:57:45 +02:00
|
|
|
/**
|
|
|
|
* Tour | Sidebar
|
|
|
|
*
|
2018-08-23 00:03:02 +02:00
|
|
|
* @class .tour__sidebar
|
2018-08-22 23:57:45 +02:00
|
|
|
*
|
2018-08-23 00:03:02 +02:00
|
|
|
* @class .tour__sidebar__example
|
2018-08-24 21:58:07 +02:00
|
|
|
* @selector {::before}
|
2018-08-23 00:03:02 +02:00
|
|
|
* @selector {:last-of-type}
|
|
|
|
* @state {.active}
|
|
|
|
* @state {:hover}
|
2018-08-22 23:57:45 +02:00
|
|
|
*/
|
|
|
|
|
2018-08-07 00:51:32 +02:00
|
|
|
.tour__sidebar {
|
|
|
|
width: 250px; height: 100%;
|
|
|
|
|
|
|
|
float: left;
|
|
|
|
list-style-type: none;
|
2018-07-16 23:06:37 +02:00
|
|
|
padding-top: 1rem;
|
2018-08-07 00:51:32 +02:00
|
|
|
padding-right: 1rem;
|
|
|
|
vertical-align: top;
|
2018-07-16 23:06:37 +02:00
|
|
|
}
|
|
|
|
|
2018-08-10 00:17:47 +02:00
|
|
|
.tour__sidebar__example {
|
2018-08-07 00:51:32 +02:00
|
|
|
cursor: pointer;
|
2018-08-24 21:58:07 +02:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
width: 1rem; height: 1rem;
|
|
|
|
top: 0.5rem; left: 0;
|
|
|
|
|
|
|
|
border: 1px solid;
|
|
|
|
border-radius: 50%;
|
|
|
|
content: attr(data-example);
|
|
|
|
font-size: 0.8rem;
|
|
|
|
line-height: 1.1;
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2018-07-16 23:06:37 +02:00
|
|
|
|
2018-08-07 00:51:32 +02:00
|
|
|
&:not(:last-of-type) {
|
|
|
|
margin-bottom: 1.5rem;
|
2018-07-16 23:06:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.active) {
|
2018-08-24 21:58:07 +02:00
|
|
|
&::before,
|
2018-08-07 00:51:32 +02:00
|
|
|
button,
|
2018-07-16 23:06:37 +02:00
|
|
|
span {
|
2018-08-07 00:51:32 +02:00
|
|
|
color: rgba($black, 0.3);
|
2018-07-16 23:06:37 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-07 00:51:32 +02:00
|
|
|
&.active,
|
|
|
|
&:hover {
|
|
|
|
button {
|
|
|
|
color: $teal;
|
|
|
|
}
|
2018-07-16 23:06:37 +02:00
|
|
|
|
2018-08-24 21:58:07 +02:00
|
|
|
&::before,
|
2018-07-16 23:06:37 +02:00
|
|
|
span {
|
2018-08-07 00:51:32 +02:00
|
|
|
color: $black;
|
2018-07-16 23:06:37 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-24 21:58:07 +02:00
|
|
|
&::before,
|
2018-08-07 00:51:32 +02:00
|
|
|
button,
|
2018-07-16 23:06:37 +02:00
|
|
|
span {
|
2018-08-07 00:51:32 +02:00
|
|
|
transition: color 0.2s;
|
2018-07-16 23:06:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
2018-08-07 00:51:32 +02:00
|
|
|
background-color: transparent;
|
|
|
|
font-size: 1.25rem;
|
|
|
|
font-weight: 600;
|
2018-08-24 21:58:07 +02:00
|
|
|
padding-left: 1.3rem;
|
2018-07-16 23:06:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
display: block;
|
2018-08-07 00:51:32 +02:00
|
|
|
font-size: 1rem;
|
2018-07-16 23:06:37 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-08-22 23:57:45 +02:00
|
|
|
/**
|
|
|
|
* Tour | Content
|
|
|
|
*
|
2018-08-23 00:03:02 +02:00
|
|
|
* @class .tour__content
|
2018-08-22 23:57:45 +02:00
|
|
|
*
|
2018-08-23 00:03:02 +02:00
|
|
|
* @class .tour__content__meme
|
|
|
|
* @selector {::after}
|
2018-08-22 23:57:45 +02:00
|
|
|
*
|
2018-08-23 00:03:02 +02:00
|
|
|
* @class .tour__content__meme__canvas
|
2018-08-22 23:57:45 +02:00
|
|
|
*
|
2018-08-23 00:03:02 +02:00
|
|
|
* @class .tour__content__meme__canvas__thumbnail
|
|
|
|
* @selector {:last-of-type}
|
|
|
|
* @state {.selected}
|
2018-08-22 23:57:45 +02:00
|
|
|
*
|
2018-08-23 00:03:02 +02:00
|
|
|
* @class .tour__content__meme__editor
|
2018-08-22 23:57:45 +02:00
|
|
|
*
|
2018-08-23 00:03:02 +02:00
|
|
|
* @class .tour__content__trends
|
|
|
|
* @selector {::after}
|
|
|
|
* @state {:empty}
|
2018-08-22 23:57:45 +02:00
|
|
|
*
|
2018-08-23 00:03:02 +02:00
|
|
|
* @class .tour__content__trend
|
|
|
|
* @class .tour__content__urlbar
|
2018-08-22 23:57:45 +02:00
|
|
|
*/
|
|
|
|
|
2018-08-07 00:51:32 +02:00
|
|
|
.tour__content {
|
|
|
|
width: calc(100% - 250px); height: 100%; min-height: 500px;
|
2018-07-16 23:06:37 +02:00
|
|
|
|
2018-08-07 00:51:32 +02:00
|
|
|
border-left: 1px solid rgba($black, 0.05);
|
|
|
|
float: right;
|
2018-08-11 00:29:06 +02:00
|
|
|
padding: 1rem 0 1rem 1rem;
|
2018-08-07 00:51:32 +02:00
|
|
|
vertical-align: top;
|
2018-08-15 19:36:47 +02:00
|
|
|
|
|
|
|
.loader {
|
|
|
|
@extend .__loading;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: "Processing request";
|
|
|
|
}
|
|
|
|
}
|
2018-07-16 23:06:37 +02:00
|
|
|
}
|
2018-08-08 01:15:34 +02:00
|
|
|
|
2018-08-22 23:57:45 +02:00
|
|
|
.tour__content__meme {
|
2018-08-11 00:29:06 +02:00
|
|
|
overflow-y: auto;
|
|
|
|
position: relative;
|
|
|
|
|
2018-08-22 23:57:45 +02:00
|
|
|
&::after {
|
|
|
|
@include clearfix;
|
|
|
|
}
|
2018-08-11 00:29:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.tour__content__meme__canvas {
|
|
|
|
float: left;
|
|
|
|
margin-right: 2%;
|
|
|
|
width: 48%;
|
|
|
|
|
|
|
|
canvas {
|
|
|
|
width: 100%; height: 100%;
|
|
|
|
|
|
|
|
background-color: rgba($teal, 0.3);
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tour__content__meme__canvas__thumbnail {
|
|
|
|
width: 5rem; height: 5rem;
|
|
|
|
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 2px;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
object-fit: contain;
|
|
|
|
object-position: center;
|
|
|
|
|
|
|
|
&:not(:last-of-type) {
|
|
|
|
margin-right: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.selected) {
|
|
|
|
border-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.selected {
|
|
|
|
border-color: $black;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tour__content__meme__editor {
|
|
|
|
float: right;
|
|
|
|
width: 48%;
|
|
|
|
|
|
|
|
h2.__metadata {
|
|
|
|
margin-top: 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset {
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
&:not(:last-of-type) {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
color: rgba($black, 0.3);
|
|
|
|
display: block;
|
|
|
|
font-size: 0.8rem;
|
|
|
|
font-weight: 600;
|
|
|
|
letter-spacing: 0.05rem;
|
|
|
|
margin-bottom: 0.025rem;
|
|
|
|
text-transform: uppercase;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:not([type="checkbox"]):not([type="submit"]),
|
|
|
|
select,
|
|
|
|
textarea {
|
|
|
|
@media (min-width: 901px) {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 900px) {
|
|
|
|
font-size: 1.05rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
&:not([type="checkbox"]):not([type="file"]):not([type="submit"]) {
|
|
|
|
border-bottom: 2px solid;
|
|
|
|
padding-bottom: 0.15rem;
|
|
|
|
transition: all 0.2s;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not([type="file"]):not([type="submit"]) {
|
|
|
|
&:not(:hover):not(:active) {
|
|
|
|
border-color: $black;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
|
|
|
border-color: $teal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&[type="checkbox"] {
|
|
|
|
width: 1.25rem; height: 1.25rem;
|
|
|
|
|
|
|
|
border: 2px solid;
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
position: relative;
|
|
|
|
top: 0.35rem;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
width: 100%; height: 100%;
|
|
|
|
|
|
|
|
content: "✓";
|
|
|
|
font-size: 1.5rem;
|
|
|
|
line-height: 1rem;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:checked)::after {
|
|
|
|
color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:checked::after {
|
|
|
|
color: $teal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
select,
|
|
|
|
textarea {
|
|
|
|
border-bottom: 2px solid;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&:not(:hover):not(:active) {
|
|
|
|
border-color: $black;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
|
|
|
border-color: $teal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
|
|
|
background-image: url("/assets/media/svg/down.svg");
|
|
|
|
background-position: 99% center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 1rem;
|
|
|
|
padding-right: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
min-height: 100px;
|
|
|
|
resize: vertical;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-08 22:20:53 +02:00
|
|
|
.tour__content__trends {
|
|
|
|
display: grid;
|
|
|
|
grid-gap: 2%;
|
|
|
|
grid-template-columns: 32% 32% 32%;
|
2018-08-22 23:57:45 +02:00
|
|
|
overflow-y: auto;
|
|
|
|
position: relative;
|
2018-08-08 01:15:34 +02:00
|
|
|
|
2018-08-08 22:20:53 +02:00
|
|
|
&:empty {
|
2018-08-15 19:36:47 +02:00
|
|
|
@extend .__loading;
|
2018-08-08 01:15:34 +02:00
|
|
|
|
2018-08-08 22:20:53 +02:00
|
|
|
&::after {
|
|
|
|
content: "Fetching trending content from LBRY";
|
|
|
|
}
|
2018-08-08 01:15:34 +02:00
|
|
|
}
|
2018-08-08 22:20:53 +02:00
|
|
|
}
|
2018-08-08 01:15:34 +02:00
|
|
|
|
2018-08-08 22:20:53 +02:00
|
|
|
.tour__content__trend {
|
2018-08-08 01:15:34 +02:00
|
|
|
img {
|
|
|
|
width: 100%; height: 175px;
|
|
|
|
|
2018-08-08 22:20:53 +02:00
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
2018-08-08 01:15:34 +02:00
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
object-fit: cover;
|
|
|
|
object-position: center;
|
2018-08-08 22:20:53 +02:00
|
|
|
position: relative;
|
2018-08-08 01:15:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
figcaption {
|
2018-08-08 22:20:53 +02:00
|
|
|
cursor: pointer;
|
2018-08-08 01:15:34 +02:00
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.33;
|
|
|
|
|
|
|
|
span {
|
|
|
|
color: rgba($black, 0.3);
|
|
|
|
display: block;
|
2018-08-08 22:20:53 +02:00
|
|
|
font-size: 0.8rem;
|
|
|
|
letter-spacing: 0.025rem;
|
2018-08-08 01:15:34 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-08-22 23:57:45 +02:00
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|