Extend markdown support for LBRY urls #2521

Merged
btzr-io merged 27 commits from smart-links into master 2019-06-26 07:23:39 +02:00
2 changed files with 49 additions and 49 deletions
Showing only changes of commit 7fed44e3e8 - Show all commits

View file

@ -85,52 +85,3 @@ $metadata-z-index: 1;
margin-top: -0.25rem; margin-top: -0.25rem;
color: rgba($lbry-white, 0.75); color: rgba($lbry-white, 0.75);
} }
// Tooltip
.channel-tooltip {
width: 20rem;
.channel-thumbnail {
left: 0;
position: relative;
flex-shrink: 0;
text-align: center;
display: flex;
max-width: 5rem;
max-height: 5rem;
margin-right: 1rem;
box-shadow: 0px 2px 10px -2px $lbry-black;
}
}
.channel-tooltip__profile {
display: flex;
align-items: center;
padding: 1rem;
}
.channel-tooltip__description {
padding: 1rem;
visibility: visible;
border-top: 1px solid rgba($lbry-gray-4, 0.4);
html[data-mode='dark'] & {
border-top: 1px solid rgba($lbry-black, 0.8);
}
}
.channel-tooltip__info {
align-items: center;
visibility: visible;
}
.channel-tooltip__title {
font-weight: bold;
font-size: 1.4rem;
line-height: 1.5em;
}
.channel-tooltip__url {
font-size: 1rem;
}

View file

@ -150,3 +150,52 @@
margin-left: -5px; margin-left: -5px;
} }
} }
// Channel-tooltip
.channel-tooltip {
width: 20rem;
.channel-thumbnail {
left: 0;
position: relative;
flex-shrink: 0;
text-align: center;
display: flex;
max-width: 5rem;
max-height: 5rem;
margin-right: 1rem;
box-shadow: 0px 2px 10px -2px $lbry-black;
}
}
.channel-tooltip__profile {
display: flex;
align-items: center;
padding: 1rem;
}
.channel-tooltip__description {
padding: 1rem;
visibility: visible;
border-top: 1px solid rgba($lbry-gray-4, 0.4);
html[data-mode='dark'] & {
border-top: 1px solid rgba($lbry-black, 0.8);
}
}
.channel-tooltip__info {
align-items: center;
visibility: visible;
}
.channel-tooltip__title {
font-weight: bold;
font-size: 1.4rem;
line-height: 1.5em;
}
.channel-tooltip__url {
font-size: 1rem;
}