diff --git a/components/02_Styles/_styles.styl b/components/02_Styles/_styles.styl index 24d9975..993e4d2 100644 --- a/components/02_Styles/_styles.styl +++ b/components/02_Styles/_styles.styl @@ -1,3 +1,4 @@ @import 'spacing/_spacing' + @import 'boxShadow/_boxShadow' -@import 'iconized/_iconized' \ No newline at end of file +@import 'iconized/_iconized' diff --git a/components/02_Styles/boxShadow/_boxShadow.styl b/components/02_Styles/boxShadow/_boxShadow.styl index f86dd5b..e88b192 100644 --- a/components/02_Styles/boxShadow/_boxShadow.styl +++ b/components/02_Styles/boxShadow/_boxShadow.styl @@ -1,39 +1,102 @@ +/* + * A collection of Box Shadows + */ + +/* + * Just a simple box shadow, surrounding the box + */ RV-BoxShadow--simple(color) - box-shadow 0 0 10px color + +RV-Block__Modifier--name('simple') + box-shadow 0 0 10px 3px color -RV-BoxShadow(color) +/* + * Hhuge shadow under the bottom of the + * box, which creates an levitation effect + */ +RV-BoxShadow--levitating(color) + +RV-Block__Modifier--name('levitating') + box-shadow: color 0px 1px 1px 0px inset, color 0px 40px 80px -15px, color 0px 30px 60px -30px; - position relative - float left - background-color white +/* + * Stacked, retro, synth wave style + * shadows unterneath the box + * To change the color using CSS vars + * you have to set the separte r, g, b values + * --color: 107, 86, 144 + * This may cause other types of shadow to break + * if used in the same selector / var scope + */ +RV-BoxShadow--stacked(color) + +RV-Block__Modifier--name('stacked') + --color red(@--color), green(@--color), blue(@--color) + box-shadow: 'rgba(%s, 0.4) 0px 5px, rgba(%s, 0.3) 0px 10px, rgba(%s, 0.2) 0px 15px, rgba(%s, 0.1) 0px 20px, rgba(%s, 0.05) 0px 25px' % (color color color color color) - &:before, &:after - content "" - position absolute - z-index -2 - - &--simple - RV-BoxShadow--simple(color) - - &--raised - &:after - box-shadow 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset - - - &--liftedCorners +/* + * Two shadows at the lower left and right of the box + * to create the effect the corners are lifted like + * a piece of paper + */ +RV-BoxShadow--liftedCorners(color) + +RV-Block__Modifier--name('liftedCorners') &:before, &:after bottom 15px left 10px width 50% height 20% - max-width 300px - box-shadow 0 15px 10px rgba(0, 0, 0, 0.7) - transform rotate(-3deg) + box-shadow 0 15px 8px color + transform rotate(-5deg) &:after right 10px left auto - transform rotate(3deg) - -.RV-BoxShadow - RV-BoxShadow(#6b5690) \ No newline at end of file + transform rotate(5deg) + +/* + * A suttle drop shadow in the middle of the element + */ +RV-BoxShadow--drop(color) + +RV-Block__Modifier--name('drop') + position relative + box-shadow 0 1px 4px color + + &:after + box-shadow 0 0 40px color + bottom 0px + left 10% + right 10% + width 80% + height 50% + border-radius 100% + + +RV-BoxShadow() + position relative + float left + background-color white + + &:before, &:after + content '' + position absolute + z-index -2 + ++RV-Block('RV-BoxShadow') + RV-CSSParameter({ + color: #6b5690 + }) + + RV-BoxShadow() + + +RV-Block__Modifier() + RV-BoxShadow--simple(color) + + +RV-Block__Modifier() + RV-BoxShadow--liftedCorners(color) + + +RV-Block__Modifier() + RV-BoxShadow--levitating(color) + + +RV-Block__Modifier() + RV-BoxShadow--stacked(color) + + +RV-Block__Modifier() + RV-BoxShadow--drop(color) \ No newline at end of file diff --git a/components/02_Styles/boxShadow/boxShadow.hbs b/components/02_Styles/boxShadow/boxShadow.hbs index 112667f..cb66e0f 100644 --- a/components/02_Styles/boxShadow/boxShadow.hbs +++ b/components/02_Styles/boxShadow/boxShadow.hbs @@ -1,11 +1,18 @@ -
- -
- -
+
+
+
+ +
+ +
+ +
+ +
+
\ No newline at end of file diff --git a/components/02_Styles/iconized/_iconized.styl b/components/02_Styles/iconized/_iconized.styl index a6e93ef..27216d8 100644 --- a/components/02_Styles/iconized/_iconized.styl +++ b/components/02_Styles/iconized/_iconized.styl @@ -1,56 +1,70 @@ -RV-Iconized__Container() - position relative +RV-Iconized--extraSmall() + +RV-Block__Modifier--name('extraSmall') + +RV-Element('Icon') + width 1em + height 1em + position relative + top .125em - &--small +RV-Iconized--small() + +RV-Block__Modifier('small') top -.25em + +RV-Element('Icon') + width 1.5em + height 1.5em + position relative + top .45em - &--medium +RV-Iconized--medium() + +RV-Block__Modifier--name('medium') top -.5em + +RV-Element('Icon') + width 2em + height 2em + position relative + top .625em - &--large +RV-Iconized--large() + +RV-Block__Modifier--name('large') top -1.03073em + +RV-Element('Icon') + width 3em + height 3em + position relative + top 1.15573em - &--huge +RV-Iconized--huge() + +RV-Block__Modifier--name('huge') top -2.05em + +RV-Element('Icon') + width 5em + height 5em + position relative + top 2.175em RV-Iconized__Icon() - RV-Reset() - - &__Container--extraSmall &__Icon - width 1em - height 1em - position relative - top .125em - - &__Container--small &__Icon - width 1.5em - height 1.5em - position relative - top .45em - - &__Container--medium &__Icon - width 2em - height 2em - position relative - top .625em - - &__Container--large &__Icon - width 3em - height 3em - position relative - top 1.15573em + +RV-Element--name('Icon') + RV-Reset() - &__Container--huge &__Icon - width 5em - height 5em - position relative - top 2.175em +RV-Iconized() + position relative -RV-Iconized(prefix='&') - {prefix}__Container - RV-Iconized__Container() - - RV-Iconized__Icon() -.RV-Iconized - RV-Iconized() \ No newline at end of file ++RV-Block('RV-Iconized') + +RV-Element() + RV-Iconized__Icon() + + +RV-Block__Modifier() + RV-Iconized--extraSmall() + + +RV-Block__Modifier() + RV-Iconized--small() + + +RV-Block__Modifier() + RV-Iconized--medium() + + +RV-Block__Modifier() + RV-Iconized--large() + + +RV-Block__Modifier() + RV-Iconized--huge() \ No newline at end of file diff --git a/components/02_Styles/iconized/iconized.hbs b/components/02_Styles/iconized/iconized.hbs index bb78b9e..2e993b1 100644 --- a/components/02_Styles/iconized/iconized.hbs +++ b/components/02_Styles/iconized/iconized.hbs @@ -1,4 +1,4 @@ - + @@ -10,7 +10,7 @@ v216c0,11.046,8.954,20,20,20s20-8.954,20-20V276h216c11.046,0,20-8.954,20-20C512, This is a text
- + @@ -22,7 +22,7 @@ v216c0,11.046,8.954,20,20,20s20-8.954,20-20V276h216c11.046,0,20-8.954,20-20C512, This is a text
- + @@ -30,7 +30,7 @@ v216c0,11.046,8.954,20,20,20s20-8.954,20-20V276h216c11.046,0,20-8.954,20-20C512, This is a text
- + @@ -41,7 +41,7 @@ v216c0,11.046,8.954,20,20,20s20-8.954,20-20V276h216c11.046,0,20-8.954,20-20C512,

You could see there was text coming out of her eyes, text coming out of her wherever. Trump Ipsum is calling for a total and complete shutdown of Muslim text entering your website. 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. Efficiently unleash cross-media information without cross-media value. Quickly maximize timely deliverables for real-time schemas. Dramatically maintain clicks-and-mortar solutions without functional solutions. - + diff --git a/components/02_Styles/spacing/_spacing.styl b/components/02_Styles/spacing/_spacing.styl index 1ae9ef2..f3e5ac6 100644 --- a/components/02_Styles/spacing/_spacing.styl +++ b/components/02_Styles/spacing/_spacing.styl @@ -1,54 +1,46 @@ RV-Spacing__Outer--small() - margin spacing-small + +RV-Element__Modifier('small') + margin spacing-small + --outer-spacing spacing-small RV-Spacing__Outer--medium() - margin spacing-medium + +RV-Element__Modifier('medium') + margin spacing-medium + --outer-spacing spacing-medium RV-Spacing__Outer--large() - margin spacing-large - + +RV-Element__Modifier('large') + margin spacing-large + --outer-spacing spacing-large RV-Spacing__Inner--small() - padding spacing-small - gap spacing-small - column-gap spacing-small - - RV-Utils__Hook--catch('masonry_grid', spacing-small) + +RV-Element__Modifier('small') + padding spacing-small + gap spacing-small + column-gap spacing-small + --inner-spacing spacing-small RV-Spacing__Inner--medium() - padding spacing-medium - gap spacing-medium - column-gap spacing-medium - - RV-Utils__Hook--catch('masonry_grid', spacing-medium) + +RV-Element__Modifier('medium') + padding spacing-medium + gap spacing-medium + column-gap spacing-medium + --inner-spacing spacing-medium RV-Spacing__Inner--large() - padding spacing-large - gap spacing-large - column-gap spacing-large + +RV-Element__Modifier('large') + padding spacing-large + gap spacing-large + column-gap spacing-large + --inner-spacing spacing-large - RV-Utils__Hook--catch('masonry_grid', spacing-large) ++RV-Block('RV-Spacing') + +RV-Element('Outer') + RV-Spacing__Outer--small() + RV-Spacing__Outer--medium() + RV-Spacing__Outer--large() -RV-Spacing(prefix='&') - {prefix}__Outer - &--small - RV-Spacing__Outer--small() - - &--medium - RV-Spacing__Outer--medium() - - &--large - RV-Spacing__Outer--large() - - {prefix}__Inner - &--small - RV-Spacing__Inner--small() - - &--medium - RV-Spacing__Inner--medium() - - &--large - RV-Spacing__Inner--large() - -.RV-Spacing - RV-Spacing() \ No newline at end of file + +RV-Element('Inner') + RV-Spacing__Inner--small() + RV-Spacing__Inner--medium() + RV-Spacing__Inner--large() \ No newline at end of file