Adapting Teaser to generator
This commit is contained in:
parent
bbe4f65eae
commit
b1bfc03561
@ -1,3 +1,3 @@
|
|||||||
@import 'overlayButton/_overlayButton'
|
//@import 'overlayButton/_overlayButton'
|
||||||
@import 'teaser/_teaser'
|
@import 'teaser/_teaser'
|
||||||
@import 'pagination/_pagination'
|
//@import 'pagination/_pagination'
|
@ -1,45 +1,56 @@
|
|||||||
+RV-Block('RV-Teaser')
|
RV-Teaser__Image(image-height, image-width)
|
||||||
RV-CSSParameter({
|
+RV-Element()
|
||||||
image-height: 300px,
|
RV-Fan__Base(image-height, image-width)
|
||||||
image-width: 300px,
|
|
||||||
shadow-color: #6b5690
|
|
||||||
|
|
||||||
})
|
RV-Teaser__Preview(image-height, image-width)
|
||||||
|
+RV-Element()
|
||||||
RV-Fan(--image-height, --image-width)
|
|
||||||
RV-BoxShadow()
|
|
||||||
|
|
||||||
+RV-Element('Image')
|
|
||||||
RV-Fan__Base(--image-height, --image-width)
|
|
||||||
|
|
||||||
+RV-Element('Preview')
|
|
||||||
RV-Fan__Surface(--image-height, --image-width)
|
|
||||||
RV-FlexRow()
|
RV-FlexRow()
|
||||||
+RV-Squash()
|
RV-FlexRow--vertical()
|
||||||
RV-FlexRow--vertical()
|
RV-Spacing__Inner--medium()
|
||||||
RV-Spacing__Inner--medium()
|
RV-Fan__Surface(image-height, image-width)
|
||||||
|
|
||||||
> *
|
> *
|
||||||
height unset
|
height unset
|
||||||
|
|
||||||
+RV-Element('Text')
|
RV-Teaser__Text()
|
||||||
|
+RV-Element()
|
||||||
flex 1
|
flex 1
|
||||||
|
|
||||||
+RV-Element('Headline')
|
RV-Teaser__Headline()
|
||||||
|
+RV-Element()
|
||||||
font-family sans-serif
|
font-family sans-serif
|
||||||
color primary-color
|
color primary-color
|
||||||
justify-self center
|
justify-self center
|
||||||
|
|
||||||
+RV-Element('Buttons')
|
RV-Teaser__Buttons()
|
||||||
|
+RV-Element()
|
||||||
RV-FlexRow__Item()
|
RV-FlexRow__Item()
|
||||||
RV-FlexRow()
|
RV-FlexRow()
|
||||||
+RV-Squash()
|
RV-FlexRow__Item--content()
|
||||||
RV-FlexRow__Item--content()
|
RV-Spacing__Inner--small()
|
||||||
RV-Spacing__Inner--small()
|
|
||||||
|
|
||||||
RV-FlexRow--horizontal()
|
RV-FlexRow--horizontal()
|
||||||
padding 0
|
padding 0
|
||||||
|
|
||||||
+RV-Block--modifier('')
|
RV-Teaser()
|
||||||
|
+RV-Block()
|
||||||
|
RV-CSSParameter({
|
||||||
|
image-height: 300px,
|
||||||
|
image-width: 300px,
|
||||||
|
shadow-color: #6b5690
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
RV-Fan(--image-height, --image-width)
|
||||||
|
RV-BoxShadow()
|
||||||
|
|
||||||
|
RV-Teaser__Image(--image-height, --image-width)
|
||||||
|
RV-Teaser__Preview(--image-height, --image-width)
|
||||||
|
RV-Teaser__Text()
|
||||||
|
RV-Teaser__Headline()
|
||||||
|
RV-Teaser__Buttons()
|
||||||
|
|
||||||
RV-Fan--auto(--image-height, --image-width)
|
RV-Fan--auto(--image-height, --image-width)
|
||||||
RV-BoxShadow--drop(--shadow-color)
|
RV-BoxShadow--drop(--shadow-color)
|
||||||
|
|
||||||
|
RV-Teaser()
|
@ -7,7 +7,7 @@
|
|||||||
<h2>This is a headline for a teaser it is indeed dear reader</h2>
|
<h2>This is a headline for a teaser it is indeed dear reader</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="RV-Teaser__Text">
|
<div class="RV-Teaser__Text">
|
||||||
<div class="RV-Truncation--fade">
|
<div class="RV-Truncation RV-Truncation--fade">
|
||||||
<div class="RV-Truncation__Cutter">
|
<div class="RV-Truncation__Cutter">
|
||||||
<p class="RV-Truncation__Content">
|
<p class="RV-Truncation__Content">
|
||||||
Qui sequi et et nostrum esse quae. Quasi voluptas aut adipisci ad quo at. Reiciendis sed vitae vero eaque aliquid ea dolorem. Qui consequatur temporibus quod eius natus ut et. Qui at necessitatibus incidunt et pariatur rem vel. Consequatur voluptas saepe odit voluptate magni possimus iure.
|
Qui sequi et et nostrum esse quae. Quasi voluptas aut adipisci ad quo at. Reiciendis sed vitae vero eaque aliquid ea dolorem. Qui consequatur temporibus quod eius natus ut et. Qui at necessitatibus incidunt et pariatur rem vel. Consequatur voluptas saepe odit voluptate magni possimus iure.
|
||||||
|
@ -2,10 +2,10 @@ bem_debug = true
|
|||||||
|
|
||||||
@import '00_Tools/_tools'
|
@import '00_Tools/_tools'
|
||||||
@import '01_Layouts/_layouts'
|
@import '01_Layouts/_layouts'
|
||||||
//@import '02_ContentShape/_contentShape'
|
@import '02_ContentShape/_contentShape'
|
||||||
@import '03_Styles/_styles'
|
@import '03_Styles/_styles'
|
||||||
//@import '04_Atoms/_atoms'
|
@import '04_Atoms/_atoms'
|
||||||
//@import '05_Molecules/_molecules'
|
@import '05_Molecules/_molecules'
|
||||||
|
|
||||||
//@import '06_Organisms/_organisms'
|
//@import '06_Organisms/_organisms'
|
||||||
//@import '10_Examples/playground/_playground'
|
//@import '10_Examples/playground/_playground'
|
||||||
|
Loading…
Reference in New Issue
Block a user