@pattern-lab/starterkit-handlebars-demo
Version:
Pattern Lab's Demo StarterKit for Handlebars.
55 lines (50 loc) • 1.19 kB
CSS
/*------------------------------------*\
$PATTERN LAB-SPECIFIC STYLES
\*------------------------------------*/
/**
* This stylesheet is for styles you want to include only when the interface is being viewed within Pattern Lab.
* This is helpful for displaying demo styles for grids, animations, color swatches, etc
* It's also helpful for overriding context-specific styles like fixed or absolutely positioned elements
* These styles will not be your production CSS.
*/
.demo-animate {
background: #ddd;
padding: 1em;
margin-bottom: 1em;
text-align: center;
border-radius: 8px;
cursor: pointer;
}
.sg-colors {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.sg-colors li {
-webkit-box-flex: 1;
-webkit-flex: auto;
-ms-flex: auto;
flex: auto;
padding: 0.3em;
margin: 0 0.5em 0.5em 0;
min-width: 5em;
border: 1px solid #ddd;
border-radius: 8px;
}
.sg-swatch {
display: block;
height: 4em;
margin-bottom: 0.3em;
border-radius: 5px;
}
.sg-label {
font-size: 90%;
line-height: 1;
}
.sg-fonts p {
margin-bottom: 0.3em;
}