Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
/*------------------------------------*\
$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.
*/
/* Style Guide Interface Colors */
/* Typography */
/* Defaults */
/* Dimensions */
/* Breakpoints */
.demo {
overflow: hidden;
margin-bottom: 1rem;
}

.demo .gi, .demo .demo-block {
background: #ddd;
color: #808080;
text-align: center;
margin-bottom: 0.5em;
padding: 1em !important;
}
.demo .gi:nth-of-type(2n), .demo .demo-block:nth-of-type(2n) {
color: #ddd;
background: #808080;
}
.demo .gi .gi, .demo .demo-block .gi {
background: rgba(0, 0, 0, 0.1);
color: #ddd;
}
.demo .gi .gi:nth-of-type(2n), .demo .demo-block .gi:nth-of-type(2n) {
background: rgba(0, 0, 0, 0.3);
}

.demo-animate {
background: #ddd;
padding: 1em;
margin-bottom: 1em;
text-align: center;
}

.animate-move {
position: relative;
}
.animate-move .demo-shape {
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 20px;
background: #808080;
}
.animate-move:hover > .demo-shape {
left: 100%;
margin-left: -20px;
}

.sg-colors {
overflow: hidden;
}
.sg-colors li {
overflow: hidden;
border: 1px solid #ddd;
padding: 0.3em;
margin: 0 0.2em 0.2em 0;
}
@media all and (min-width: 30em) {
.sg-colors li {
float: left;
width: 5em;
}
}

.sg-swatch {
display: block;
height: 1.5em;
width: 50%;
}
@media all and (max-width: 30em) {
.sg-swatch {
float: left;
margin-right: 0.3em;
}
}
@media all and (min-width: 30em) {
.sg-swatch {
width: 100%;
height: 4em;
margin-bottom: 0.2em;
}
}

.sg-label {
line-height: 1;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web/themes/dashing/scss/dashing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

// Start libs
@import "bootstrap/scss/bootstrap-flex.scss";
@import "bootstrap/scss/bootstrap.scss";
@import "singularitygs/stylesheets/singularitygs";
@import "breakpoint-sass/stylesheets/breakpoint";
// End libs
Expand Down