Last active
August 29, 2015 14:09
-
-
Save starryeyez024/36069cab3d1e49781c4f to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
<div class="panel-display chevelle clearfix "> | |
<div class="panel-col-top panel-panel clearfix"> | |
<div class="panel-region-top"> | |
<h2>'top'</h2> | |
</div> | |
<div class="panel-region-teasers"> | |
<div class="panel-region-teasers-inner"> | |
<h2>'teasers'</h2> | |
</div> | |
</div> | |
</div> | |
<div class="content indent"> | |
<div class="panel-panel panel-col-middle"> | |
<div class="inside"> | |
<div class="hero-wrapper clearfix"> | |
<div class="panel-region-hero"> | |
<h2>'hero'</h2> | |
</div> | |
</div><!-- hero wrapper--> | |
<div class="content-wrapper clearfix"> | |
<div class="panel-region-prefix"> | |
<h2>'prefix'</h2> | |
</div> | |
<div class="panel-region-title"> | |
<h2>'title'</h2> | |
</div> | |
<div class="panel-region-author"> | |
<h2>'author'</h2> | |
</div> | |
<div class="panel-region-sidebar"> | |
<h2>'sidebar'</h2> | |
</div> | |
<div class="panel-region-content"> | |
<h2>'content'</h2> | |
</div> | |
<div class="panel-region-social-media"> | |
<h2>'social'</h2> | |
</div> | |
</div><!-- end content wrapper--> | |
</div><!-- end inside --> | |
</div><!-- end panel-panel--> | |
</div><!-- end indent--> | |
<div class="panel-col-bottom panel-panel clearfix"> | |
<div class="bottom-inner panel-panel-inner"> | |
<h2>'bottom'</h2> | |
</div> | |
</div> | |
</div> |
This file contains hidden or 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
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.1) | |
// Breakpoint (v2.5.0) | |
// Singularity Extras (v1.0.0) | |
// Singularity.gs (v1.4.0) | |
// ---- | |
@import "breakpoint" | |
@import "singularitygs" | |
@import "singularity-extras/outputs" | |
@include add-grid(55px 1 312px) | |
@include add-gutter(1em) | |
@include add-gutter-style('split') | |
@include sgs-change('output', 'calc') | |
div[class*="panel-region"] | |
background: pink | |
margin-bottom: 10px | |
h2 | |
font-size: 14px | |
html | |
.panel-region-teasers | |
max-height: 115px | |
.hero-wrapper, | |
.content-wrapper, | |
.panel-col-bottom | |
position: relative | |
width: 100% | |
clear: both | |
+breakpoint(960px) | |
.panel-panel | |
.panel-region-top, | |
.panel-region-content-bottom | |
+grid-span(3, 1) | |
clear: left | |
.panel-region-teasers | |
+grid-span(3, 1) | |
clear: both | |
.panel-region-social-media | |
+grid-span(1, 1) | |
.panel-region-prefix | |
+grid-span(2, 2) | |
.panel-region-content, | |
.panel-region-title | |
+grid-span(1, 2) | |
.panel-region-title | |
clear: right | |
.panel-region-content, | |
.pane-node-field-tags | |
clear: left | |
.panel-region-author, | |
.panel-region-sidebar | |
display: block | |
clear: right | |
+grid-span(1, 2) | |
//margin-top: 110px | |
.panel-pane | |
padding: 5px | |
.panel-region-content, | |
.pane-node-field-tags | |
clear: left | |
.panel-region-sidebar | |
text-align: center |
This file contains hidden or 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
div[class*="panel-region"] { | |
background: pink; | |
margin-bottom: 10px; | |
} | |
h2 { | |
font-size: 14px; | |
} | |
html .panel-region-teasers { | |
max-height: 115px; | |
} | |
html .hero-wrapper, | |
html .content-wrapper, | |
html .panel-col-bottom { | |
position: relative; | |
width: 100%; | |
clear: both; | |
} | |
@media (min-width: 960px) { | |
html .panel-panel .panel-region-top, | |
html .panel-panel .panel-region-content-bottom { | |
min-width: -webkit-calc((55px + 1em + 312px + 1em)); | |
min-width: calc((55px + 1em + 312px + 1em)); | |
width: -webkit-calc((55px + 1em) + (((100% - (367px + 3em)) / (1)) * 1 + 1em) + (312px)); | |
width: calc((55px + 1em) + (((100% - (367px + 3em)) / (1)) * 1 + 1em) + (312px)); | |
float: right; | |
margin-left: 0; | |
margin-right: 0.5em; | |
clear: left; | |
} | |
html .panel-panel .panel-region-teasers { | |
min-width: -webkit-calc((55px + 1em + 312px + 1em)); | |
min-width: calc((55px + 1em + 312px + 1em)); | |
width: -webkit-calc((55px + 1em) + (((100% - (367px + 3em)) / (1)) * 1 + 1em) + (312px)); | |
width: calc((55px + 1em) + (((100% - (367px + 3em)) / (1)) * 1 + 1em) + (312px)); | |
float: right; | |
margin-left: 0; | |
margin-right: 0.5em; | |
clear: both; | |
} | |
html .panel-panel .panel-region-social-media { | |
width: 55px; | |
float: left; | |
margin-right: -100%; | |
margin-left: 0.5em; | |
} | |
html .panel-panel .panel-region-prefix { | |
min-width: -webkit-calc((312px + 1em - 1em)); | |
min-width: calc((312px + 1em - 1em)); | |
width: -webkit-calc((((100% - (367px + 3em)) / (1)) * 1 + 1em) + (312px)); | |
width: calc((((100% - (367px + 3em)) / (1)) * 1 + 1em) + (312px)); | |
float: right; | |
margin-left: 0; | |
margin-right: 0.5em; | |
} | |
html .panel-panel .panel-region-content, | |
html .panel-panel .panel-region-title { | |
width: -webkit-calc((((100% - (367px + 3em)) / (1))) * 1); | |
width: calc((((100% - (367px + 3em)) / (1))) * 1); | |
float: left; | |
margin-right: -100%; | |
margin-left: -webkit-calc(0.5em + (55px + 1em)); | |
margin-left: calc(0.5em + (55px + 1em)); | |
} | |
html .panel-panel .panel-region-title { | |
clear: right; | |
} | |
html .panel-panel .panel-region-content, | |
html .panel-panel .pane-node-field-tags { | |
clear: left; | |
} | |
html .panel-panel .panel-region-author, | |
html .panel-panel .panel-region-sidebar { | |
display: block; | |
clear: right; | |
width: -webkit-calc((((100% - (367px + 3em)) / (1))) * 1); | |
width: calc((((100% - (367px + 3em)) / (1))) * 1); | |
float: left; | |
margin-right: -100%; | |
margin-left: -webkit-calc(0.5em + (55px + 1em)); | |
margin-left: calc(0.5em + (55px + 1em)); | |
} | |
html .panel-panel .panel-region-author .panel-pane, | |
html .panel-panel .panel-region-sidebar .panel-pane { | |
padding: 5px; | |
} | |
html .panel-panel .panel-region-content, | |
html .panel-panel .pane-node-field-tags { | |
clear: left; | |
} | |
html .panel-panel .panel-region-sidebar { | |
text-align: center; | |
} | |
} |
This file contains hidden or 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
<div class="panel-display chevelle clearfix "> | |
<div class="panel-col-top panel-panel clearfix"> | |
<div class="panel-region-top"> | |
<h2>'top'</h2> | |
</div> | |
<div class="panel-region-teasers"> | |
<div class="panel-region-teasers-inner"> | |
<h2>'teasers'</h2> | |
</div> | |
</div> | |
</div> | |
<div class="content indent"> | |
<div class="panel-panel panel-col-middle"> | |
<div class="inside"> | |
<div class="hero-wrapper clearfix"> | |
<div class="panel-region-hero"> | |
<h2>'hero'</h2> | |
</div> | |
</div><!-- hero wrapper--> | |
<div class="content-wrapper clearfix"> | |
<div class="panel-region-prefix"> | |
<h2>'prefix'</h2> | |
</div> | |
<div class="panel-region-title"> | |
<h2>'title'</h2> | |
</div> | |
<div class="panel-region-author"> | |
<h2>'author'</h2> | |
</div> | |
<div class="panel-region-sidebar"> | |
<h2>'sidebar'</h2> | |
</div> | |
<div class="panel-region-content"> | |
<h2>'content'</h2> | |
</div> | |
<div class="panel-region-social-media"> | |
<h2>'social'</h2> | |
</div> | |
</div><!-- end content wrapper--> | |
</div><!-- end inside --> | |
</div><!-- end panel-panel--> | |
</div><!-- end indent--> | |
<div class="panel-col-bottom panel-panel clearfix"> | |
<div class="bottom-inner panel-panel-inner"> | |
<h2>'bottom'</h2> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment