Created
February 17, 2016 14:11
-
-
Save DarkPark/fc0de0afeecbacd46587 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
%component { | |
// The width and height (also including min-width, max-width, min-height and max-height properties) of an element | |
// are calculated as the width/height of the content plus the padding and border. | |
box-sizing: border-box; | |
} | |
%component-hidden { | |
// need to force | |
// as some components apply "display" later | |
display: none !important; | |
} | |
.componentPage { | |
@extend %component; | |
@extend %component-hidden; | |
//width: $width; | |
//height: $height; | |
position: absolute; | |
left: 0; | |
top: 0; | |
visibility: hidden; | |
overflow: hidden; | |
// only one active page is visible | |
&-active { | |
visibility: inherit | |
} | |
} | |
.componentList { | |
@extend %component; | |
@extend %component-hidden; | |
} | |
.componentGrid { | |
@extend %component; | |
@extend %component-hidden; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.componentPage, .componentList, .componentGrid { | |
box-sizing: border-box; } | |
.componentPage, .componentList, .componentGrid { | |
display: none !important; } | |
.componentPage { | |
position: absolute; | |
left: 0; | |
top: 0; | |
visibility: hidden; | |
overflow: hidden; } | |
.componentPage-active { | |
visibility: inherit; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment