html, body, form { margin: 0; padding: 0; }
input[type=text] { border: 1px solid #999; }
a { color: #039; }
a:hover { color: #03C; }
.l-grid {
margin: 0;
padding: 0;
list-style-type: none;
}
.l-grid > li {
display: inline-block;
margin: 0 0 10px 10px;
}
.pod {
width: 100%;
}
.pod input[type=text] {
width: 50%; }
.pod-constrained input[type=text] {
width: 100%;
}
.pod-callout {
width: 200px;
}
.pod-callout input[type=text] {
width: 180px;
}
.tab {
background-color: purple;
color: white;
}
.is-tab-active {
background-color: white;
color: black;
}
Finally, import them to main.scss
$colorDark : #333333;
$colorLight : #efefef;
$colorPrimary : #0567a4;
$colorSecondary : #cc0000;
$colorTertiary : #a4d218;
$headlineColor : $colorPrimary;
$callToActionColor : $colorTertiary;
@mixin button($color, $font-color) {
border-radius:.25em;
font-weight:bold;
text-decoration:none;
padding: .5em 1em;
margin: .5em;
color: $font-color;
border: 1px solid $color;
text-align: center;
display: inline-block;
}
@mixin light-gradient($color, $font-color){
background: $color; /* Old browsers */
background: linear-gradient(to bottom, lighten($color, 20%) 0%,darken($color, 16%) 100%); /* W3C */
}
@mixin standard-button($color, $font-color) {
@include light-gradient($color, $font-color);
@include button($color, $font-color);
}
.button {
@include standard-button($colorPrimary, $colorDark);
}
.nav {
margin: .25em .5em;
text-align:center;
li {
float:left;
display:inline-block;
@media screen and (max-width: $break-small){
display: block;
float:none;
}
}
}
.nav { margin: .25em .5em; text-align: center; } .nav li { float: left; display: inline-block;} @media screen and (max-width: 200px) { .nav li { display: block; float: none;
}
}
.button-cancel {
@extend .button;
@include standard-button($cancel-button-color, $light-text);
&:hover, &:focus {
@include standard-button(darken($cancel-button-color, 20), $light-text);
}
}
.button-cancel {
background: #777777; /* Old browsers */
background: linear-gradient(to bottom, #aaaaaa 0%, #4e4e4e 100%); /* W3C */
border-radius: .25em;
font-weight: bold;
text-decoration: none;
padding: .5em 1em;
margin: .5em;
color: white;
border: 1px solid #777777;
text-align: center;
display: inline-block; }
.button-cancel:hover, .button-cancel:focus {
background: #444444; /* Old browsers */
background: linear-gradient(to bottom, #777777 0%, #1b1b1b 100%); /* W3C */
border-radius: .25em;
font-weight: bold;
text-decoration: none;
padding: .5em 1em;
margin: .5em;
color: white;
border: 1px solid #444444;
text-align: center;
display: inline-block; }
LiveReload?
Javascript hook to live refresh pages in the browser upon changes to code