Converting Layouts to Stylus
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
@mixin RV-FullWidthContent__Container {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@mixin RV-FullWidthContent__Item {
|
||||
width: 100%;
|
||||
@include RV-ContentCrop;
|
||||
}
|
||||
|
||||
@mixin RV-FullWidthContent($-prefix: '&') {
|
||||
#{$-prefix}__Container {
|
||||
@include RV-FullWidthContent__Container;
|
||||
}
|
||||
|
||||
#{$-prefix}__Item {
|
||||
@include RV-FullWidthContent__Item;
|
||||
}
|
||||
}
|
||||
|
||||
.RV-FullWidthContent {
|
||||
@include RV-FullWidthContent;
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
RV-FullWidthContent__Container()
|
||||
width 100%
|
||||
|
||||
RV-FullWidthContent__Item()
|
||||
width 100%
|
||||
RV-ContentCrop()
|
||||
|
||||
RV-FullWidthContent(prefix='&')
|
||||
{prefix}__Container
|
||||
RV-FullWidthContent__Container()
|
||||
|
||||
{prefix}__Item
|
||||
RV-FullWidthContent__Item()
|
||||
|
||||
.RV-FullWidthContent
|
||||
RV-FullWidthContent()
|
||||
Reference in New Issue
Block a user