Honsely, I don't know what happened here

This commit is contained in:
2021-03-03 00:49:21 +01:00
parent a0240b2ec8
commit 6f4170af8e
70 changed files with 2415 additions and 372 deletions

View File

@@ -0,0 +1,62 @@
RV-Truncation--fade(background-color=white)
&:after
background-image linear-gradient(180deg, rgba(255, 255, 255, 0), background-color)
display block
content '###'
color transparent
opacity 1
position absolute
top calc(var(--height) - 60px)
width 100%
height 50px
line-height var(--line-height)
z-index 10
RV-Truncation--ellipsis(background-color=white)
&:after
position absolute
display block
right 0
content '...'
background-color background-color
padding-left 5px
padding-bottom 10px
box-shadow -10px 8px 6px 0px #fff;
line-height var(--line-height)
top calc(var(--height) - 40px)
RV-Truncation(line-height=1.3, height=350px)
RV-CSSParameter({
line-height: line-height,
height: height
})
background-color = white
display block
overflow hidden
position relative
height calc_height()
width calc_width()
*
overflow hidden
display block
position relative
text-overflow ellipsis
background-color background-color
line-height line-height
max-height floor(height / (line-height * 16)) * (line-height * 16)
padding 0
margin 0
.RV-Truncation
RV-Truncation()
&--fade
RV-Truncation--fade()
&--ellipsis
RV-Truncation--ellipsis()

View File

@@ -0,0 +1,17 @@
{
"name": "Truncation",
"variants": [
{
"name": "Fade",
"context": {
"modifier": "RV-Truncation--fade"
}
},
{
"name": "Ellipsis",
"context": {
"modifier": "RV-Truncation--ellipsis"
}
}
]
}

View File

@@ -0,0 +1,5 @@
<div class="RV-Truncation {{#if modifier}}{{modifier}}{{/if}}">
<p>
You could see there was text coming out of her eyes, text coming out of her wherever. . Does everybody know that pig named Lorem Ipsum? She's a disgusting pig, right? When other websites give you text, theyre not sending the best. Theyre not sending you, theyre sending words that have lots of problems and theyre bringing those problems with us. Theyre bringing mistakes. Theyre bringing misspellings. Theyre typists… And some, I assume, are good words. I'm speaking with myself, number one, because I have a very good brain and I've said a lot of things. Podcasting operational change management inside of workflows to establish a framework. Taking seamless key performance indicators offline to maximise the long tail. Keeping your eye on the ball while performing a deep dive on the start-up mentality to derive convergence on cross-platform integration.
</p>
</div>