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
.cont { | |
width: 500px; | |
display: grid; | |
grid-template-columns: 50px 1fr 2fr; | |
} | |
.foo { | |
display: block; | |
background: yellow; | |
border: red solid 1px; | |
} |
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
@import "breakpoint"; | |
@mixin clearfix($type: standard) { | |
&::after { | |
clear: both; | |
@if $type == standard { | |
content: ""; | |
display: table; | |
} @else if $type == inline { | |
content: " "; |
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
$breakpoint-zero: 0; | |
$breakpoint-xs-min: 480px; | |
$breakpoint-sm-min: 768px; | |
$breakpoint-md-min: 992px; | |
$breakpoint-lg-min: 1200px; | |
$breakpoint-xxs-max: $breakpoint-xs-min - 1; | |
$breakpoint-xs-max: $breakpoint-sm-min - 1; | |
$breakpoint-sm-max: $breakpoint-md-min - 1; | |
$breakpoint-md-max: $breakpoint-lg-min - 1; |
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
.container { | |
max-width: 1200px; | |
margin: auto; | |
display: flex; | |
flex-direction: row; | |
} | |
article { | |
padding: 20px; | |
background: yellow; | |
flex-grow: 1; |
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
div { | |
display: flex; | |
} | |
svg { | |
width: 300px; | |
} |
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
div { | |
display: flex; | |
} | |
svg { | |
width: 300px; | |
} |
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
body { | |
margin: 40px; | |
} | |
*, *:after, *:before { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
.box { | |
background-color: #444; |
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
// ---- | |
// Sass (vundefined) | |
// Compass (vundefined) | |
// dart-sass (v1.18.0) | |
// ---- | |
@import "color-helpers"; | |
// PF CORE vars | |
$pfelements--red: #e00; |
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
:host([on=saturated]) { | |
--pfe-broadcasted--text: #fff; | |
--pfe-broadcasted--link: #fff; | |
--pfe-broadcasted--link--hover: #fff; | |
--pfe-broadcasted--link--focus: #fff; | |
} |
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
:host([pfe-color="accent"]) { | |
--pfe-card--BackgroundColor: #004080; | |
--theme: saturated; // in the future, this will be --context | |
} |
NewerOlder