Adapting ContentShape to Mixinname based generator
This commit is contained in:
parent
8c8eb4c097
commit
3afa94abd3
@ -1,38 +1,41 @@
|
|||||||
RV-Alignment()
|
|
||||||
display grid
|
|
||||||
|
|
||||||
RV-Alignment--top()
|
RV-Alignment--top()
|
||||||
+RV-Block--modifier()
|
+RV-Block--modifier()
|
||||||
|
display grid
|
||||||
align-content start
|
align-content start
|
||||||
|
|
||||||
RV-Alignment--bottom()
|
RV-Alignment--bottom()
|
||||||
+RV-Block--modifier()
|
+RV-Block--modifier()
|
||||||
|
display grid
|
||||||
align-content end
|
align-content end
|
||||||
|
|
||||||
RV-Alignment--left()
|
RV-Alignment--left()
|
||||||
+RV-Block--modifier()
|
+RV-Block--modifier()
|
||||||
|
display grid
|
||||||
justify-content start
|
justify-content start
|
||||||
|
|
||||||
RV-Alignment--right()
|
RV-Alignment--right()
|
||||||
+RV-Block--modifier()
|
+RV-Block--modifier()
|
||||||
justify-content: end
|
display grid
|
||||||
|
justify-content end
|
||||||
|
|
||||||
RV-Alignment--horizontalCenter()
|
RV-Alignment--horizontalCenter()
|
||||||
+RV-Block--modifier()
|
+RV-Block--modifier()
|
||||||
|
display grid
|
||||||
justify-content center
|
justify-content center
|
||||||
|
|
||||||
RV-Alignment--verticalCenter()
|
RV-Alignment--verticalCenter()
|
||||||
+RV-Block--modifier()
|
+RV-Block--modifier()
|
||||||
|
display grid
|
||||||
align-items center
|
align-items center
|
||||||
|
|
||||||
RV-Alignment--center()
|
RV-Alignment--center()
|
||||||
+RV-Block--modifier()
|
+RV-Block--modifier()
|
||||||
|
display grid
|
||||||
align-items center
|
align-items center
|
||||||
justify-content center
|
justify-content center
|
||||||
|
|
||||||
+RV-Block--shorthand('RV-Alignment')
|
RV-Alignment()
|
||||||
RV-Alignment()
|
+RV-Block()
|
||||||
|
|
||||||
RV-Alignment--top()
|
RV-Alignment--top()
|
||||||
RV-Alignment--bottom()
|
RV-Alignment--bottom()
|
||||||
RV-Alignment--left()
|
RV-Alignment--left()
|
||||||
@ -40,3 +43,5 @@ RV-Alignment--center()
|
|||||||
RV-Alignment--horizontalCenter()
|
RV-Alignment--horizontalCenter()
|
||||||
RV-Alignment--verticalCenter()
|
RV-Alignment--verticalCenter()
|
||||||
RV-Alignment--center()
|
RV-Alignment--center()
|
||||||
|
|
||||||
|
RV-Alignment()
|
@ -36,8 +36,8 @@ RV-AspectRatio--16to9()
|
|||||||
+RV-Block--modifier()
|
+RV-Block--modifier()
|
||||||
RV-AspectRatio--XtoY(16, 9)
|
RV-AspectRatio--XtoY(16, 9)
|
||||||
|
|
||||||
|
|
||||||
RV-AspectRatio()
|
RV-AspectRatio()
|
||||||
|
+RV-Block()
|
||||||
position relative
|
position relative
|
||||||
overflow hidden
|
overflow hidden
|
||||||
height unset
|
height unset
|
||||||
@ -51,11 +51,11 @@ RV-AspectRatio()
|
|||||||
bottom 0
|
bottom 0
|
||||||
right 0
|
right 0
|
||||||
|
|
||||||
+RV-Block--shorthand('RV-AspectRatio')
|
|
||||||
RV-AspectRatio()
|
|
||||||
|
|
||||||
RV-AspectRatio--1to2()
|
RV-AspectRatio--1to2()
|
||||||
RV-AspectRatio--2to1()
|
RV-AspectRatio--2to1()
|
||||||
RV-AspectRatio--3to2()
|
RV-AspectRatio--3to2()
|
||||||
RV-AspectRatio--4to3()
|
RV-AspectRatio--4to3()
|
||||||
RV-AspectRatio--16to9()
|
RV-AspectRatio--16to9()
|
||||||
|
|
||||||
|
RV-AspectRatio()
|
||||||
|
|
||||||
|
@ -33,6 +33,7 @@ RV-FocalPoint--rightHalf()
|
|||||||
})
|
})
|
||||||
|
|
||||||
RV-FocalPoint(focalX=50%, focalY=50%)
|
RV-FocalPoint(focalX=50%, focalY=50%)
|
||||||
|
+RV-Block()
|
||||||
RV-CSSParameter({
|
RV-CSSParameter({
|
||||||
focalX: focalX,
|
focalX: focalX,
|
||||||
focalY: focalY
|
focalY: focalY
|
||||||
@ -44,12 +45,13 @@ RV-FocalPoint(focalX=50%, focalY=50%)
|
|||||||
object-fit cover
|
object-fit cover
|
||||||
object-position --focalX --focalY
|
object-position --focalX --focalY
|
||||||
|
|
||||||
+RV-Block--shorthand('RV-FocalPoint')
|
|
||||||
RV-FocalPoint()
|
|
||||||
|
|
||||||
RV-FocalPoint--upperHalf()
|
RV-FocalPoint--upperHalf()
|
||||||
RV-FocalPoint--lowerHalf()
|
RV-FocalPoint--lowerHalf()
|
||||||
RV-FocalPoint--leftHalf()
|
RV-FocalPoint--leftHalf()
|
||||||
RV-FocalPoint--rightHalf()
|
RV-FocalPoint--rightHalf()
|
||||||
|
|
||||||
|
RV-FocalPoint()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -37,6 +37,9 @@ RV-Shape--circle()
|
|||||||
bottom 0
|
bottom 0
|
||||||
right 0
|
right 0
|
||||||
|
|
||||||
+RV-Block--shorthand('RV-Shape')
|
RV-Shape()
|
||||||
|
+RV-Block()
|
||||||
RV-Shape--square()
|
RV-Shape--square()
|
||||||
RV-Shape--circle()
|
RV-Shape--circle()
|
||||||
|
|
||||||
|
RV-Shape()
|
@ -3,10 +3,9 @@
|
|||||||
* Because this is actually realy messed up in native CSS, you have to specify the line-height
|
* Because this is actually realy messed up in native CSS, you have to specify the line-height
|
||||||
* and container height manualy in Stylues. CSS-Variables can unfortunately not be used in this case.
|
* and container height manualy in Stylues. CSS-Variables can unfortunately not be used in this case.
|
||||||
*/
|
*/
|
||||||
RV-Truncation--fade(background-color=white)
|
|
||||||
+RV-Block--modifier()
|
|
||||||
|
|
||||||
+RV-Element('Content')
|
RV-Truncation--fade__Content(background-color)
|
||||||
|
+RV-Element()
|
||||||
&:last-child:after
|
&:last-child:after
|
||||||
background-image linear-gradient(180deg, rgba(255, 255, 255, 0), background-color)
|
background-image linear-gradient(180deg, rgba(255, 255, 255, 0), background-color)
|
||||||
display block
|
display block
|
||||||
@ -19,10 +18,12 @@ RV-Truncation--fade(background-color=white)
|
|||||||
height calc(1.5 * var(--line-height))
|
height calc(1.5 * var(--line-height))
|
||||||
z-index 10
|
z-index 10
|
||||||
|
|
||||||
RV-Truncation--ellipsis(background-color=white)
|
RV-Truncation--fade(background-color=white)
|
||||||
+RV-Block--modifier()
|
+RV-Block--modifier()
|
||||||
|
RV-Truncation--fade__Content(background-color)
|
||||||
|
|
||||||
+RV-Element('Cutter')
|
RV-Truncation--ellipsis__Cutter(background-color)
|
||||||
|
+RV-Element()
|
||||||
&:after
|
&:after
|
||||||
position absolute
|
position absolute
|
||||||
display block
|
display block
|
||||||
@ -35,7 +36,8 @@ RV-Truncation--ellipsis(background-color=white)
|
|||||||
line-height --line-height
|
line-height --line-height
|
||||||
top calc(var(--height) - 38px)
|
top calc(var(--height) - 38px)
|
||||||
|
|
||||||
+RV-Element('Content')
|
RV-Truncation--ellipsis__Content(background-color)
|
||||||
|
+RV-Element()
|
||||||
&:after
|
&:after
|
||||||
display block
|
display block
|
||||||
background-color background-color
|
background-color background-color
|
||||||
@ -47,7 +49,13 @@ RV-Truncation--ellipsis(background-color=white)
|
|||||||
bottom -100%
|
bottom -100%
|
||||||
z-index 30
|
z-index 30
|
||||||
|
|
||||||
|
RV-Truncation--ellipsis(background-color=white)
|
||||||
|
+RV-Block--modifier()
|
||||||
|
RV-Truncation--ellipsis__Cutter(background-color)
|
||||||
|
RV-Truncation--ellipsis__Content(background-color)
|
||||||
|
|
||||||
RV-Truncation(line-height=1.3em, height=100%, background-color=white)
|
RV-Truncation(line-height=1.3em, height=100%, background-color=white)
|
||||||
|
+RV-Block()
|
||||||
RV-CSSParameter({
|
RV-CSSParameter({
|
||||||
line-height: line-height,
|
line-height: line-height,
|
||||||
height: height,
|
height: height,
|
||||||
@ -70,8 +78,7 @@ RV-Truncation(line-height=1.3em, height=100%, background-color=white)
|
|||||||
background --background-color
|
background --background-color
|
||||||
line-height --line-height
|
line-height --line-height
|
||||||
|
|
||||||
+RV-Block--shorthand('RV-Truncation')
|
|
||||||
RV-Truncation()
|
|
||||||
|
|
||||||
RV-Truncation--fade(--background-color)
|
RV-Truncation--fade(--background-color)
|
||||||
RV-Truncation--ellipsis(--background-color)
|
RV-Truncation--ellipsis(--background-color)
|
||||||
|
|
||||||
|
RV-Truncation()
|
@ -1,4 +1,4 @@
|
|||||||
<div class="{{#if modifier}}{{modifier}}{{/if}}" style="--height: 200px">
|
<div class="RV-Truncation {{#if modifier}}{{modifier}}{{/if}}" style="--height: 200px">
|
||||||
<div class="RV-Truncation__Cutter">
|
<div class="RV-Truncation__Cutter">
|
||||||
<p class="RV-Truncation__Content">
|
<p class="RV-Truncation__Content">
|
||||||
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, they’re not sending the best. They’re not sending you, they’re sending words that have lots of problems and they’re bringing those problems with us. They’re bringing mistakes. They’re bringing misspellings. They’re 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.
|
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, they’re not sending the best. They’re not sending you, they’re sending words that have lots of problems and they’re bringing those problems with us. They’re bringing mistakes. They’re bringing misspellings. They’re 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user