2015-05-01 09:39:03 -04:00
|
|
|
@import "bourbon/bourbon";
|
|
|
|
@import "base/grid-settings";
|
|
|
|
@import "neat/neat";
|
|
|
|
@import "base/base";
|
|
|
|
|
|
|
|
|
2015-05-01 15:50:11 -04:00
|
|
|
a[href=""] {
|
|
|
|
outline: 1px solid red;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > main {
|
|
|
|
> header,
|
|
|
|
> article > header,
|
|
|
|
> article > section,
|
|
|
|
> footer {
|
|
|
|
> div {
|
|
|
|
@include outer-container;
|
2015-05-05 13:06:47 -04:00
|
|
|
> div {
|
|
|
|
@include row();
|
2015-05-08 16:10:38 -04:00
|
|
|
margin-bottom: 3em;
|
2015-05-05 13:06:47 -04:00
|
|
|
.main {
|
|
|
|
@include span-columns(8);
|
2015-05-08 16:10:38 -04:00
|
|
|
h1 {
|
|
|
|
font-size: 2em
|
|
|
|
}
|
|
|
|
h2, h3, h4, h5, h6 {
|
|
|
|
margin: 1em 0 0.25em 0;
|
|
|
|
}
|
2015-05-05 13:06:47 -04:00
|
|
|
}
|
|
|
|
nav {
|
2015-05-05 13:07:05 -04:00
|
|
|
border-left: 1px solid $base-border-color;
|
2015-05-05 13:06:47 -04:00
|
|
|
@include span-columns(4);
|
2015-05-05 13:07:05 -04:00
|
|
|
@include pad(0 0 0 2 * $gutter)
|
2015-05-05 13:06:47 -04:00
|
|
|
}
|
|
|
|
}
|
2015-05-01 15:50:11 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-05-05 13:06:47 -04:00
|
|
|
body {
|
|
|
|
> main > article,
|
|
|
|
> section {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-05-05 16:53:44 -04:00
|
|
|
#home {
|
2015-05-05 13:06:47 -04:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-05-07 17:06:35 -04:00
|
|
|
#dialogs, #modal-dialogs .modal-inner {
|
2015-05-05 13:06:47 -04:00
|
|
|
@include row();
|
|
|
|
dialog {
|
|
|
|
@include span-columns(4);
|
2015-05-07 17:06:35 -04:00
|
|
|
p {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2015-05-05 13:06:47 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-05-07 17:06:35 -04:00
|
|
|
#modal-dialogs .modal-inner {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
2015-05-05 13:06:47 -04:00
|
|
|
.extension-file {
|
|
|
|
section:first-child {
|
|
|
|
/* Add a border equal to the number of featured extensions - 1 */
|
|
|
|
border-top: 2px solid $alt-background-color;
|
|
|
|
position: relative;
|
|
|
|
padding-top: 18 * $vertical-base;
|
|
|
|
|
|
|
|
@include icon(before, upload, circular, true, 8*$vertical-base) {
|
|
|
|
background-color: $green;
|
|
|
|
color: $white;
|
|
|
|
top: 2 * $vertical-base;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
background-color: $green;
|
|
|
|
color: $alt-font-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.extension-url {
|
|
|
|
section:first-child {
|
|
|
|
/* Add a border equal to the number of featured extensions - 1 */
|
|
|
|
border-top: 2px solid $alt-background-color;
|
|
|
|
position: relative;
|
|
|
|
padding-top: 18 * $vertical-base;
|
|
|
|
|
|
|
|
@include icon(before, link, circular, true, 8*$vertical-base) {
|
|
|
|
background-color: $blue;
|
|
|
|
color: $white;
|
|
|
|
top: 2 * $vertical-base;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2015-05-08 16:16:15 -04:00
|
|
|
.extension-feature,
|
2015-05-08 15:34:00 -04:00
|
|
|
#dialogs .extension-feature,
|
|
|
|
#modal-dialogs .extension-feature
|
|
|
|
{
|
2015-05-05 13:06:47 -04:00
|
|
|
section:first-child {
|
|
|
|
h2 {
|
|
|
|
margin-top: $vertical-base;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
section:last-child {
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
li {
|
|
|
|
border-bottom: 1px solid $light-gray;
|
|
|
|
padding: 2 * $vertical-base;
|
|
|
|
|
2015-05-06 11:07:48 -04:00
|
|
|
a {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
2015-05-08 16:16:15 -04:00
|
|
|
padding-right: 25px;
|
2015-05-06 11:07:48 -04:00
|
|
|
@include icon(before, right-arrow) {
|
|
|
|
color: $blue;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 50%;
|
|
|
|
margin-top: -.5em;
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-05-05 13:06:47 -04:00
|
|
|
h3 {
|
|
|
|
font-size: 1.125 * $base-font-size;
|
|
|
|
font-weight: 600;
|
|
|
|
margin-bottom: $vertical-base;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
text-align: left;
|
|
|
|
margin: 0;
|
|
|
|
color: $base-font-color;
|
2015-05-08 15:34:00 -04:00
|
|
|
font-weight: normal;
|
2015-05-05 13:06:47 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-05-01 15:50:11 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
2015-05-05 13:06:47 -04:00
|
|
|
@include pad(5 * $vertical-base 0);
|
2015-05-01 15:50:11 -04:00
|
|
|
section {
|
|
|
|
@include span-columns(4);
|
|
|
|
@include shift(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
|
|
|
@include span-columns(2);
|
|
|
|
&:first-of-type {
|
|
|
|
@include shift(1);
|
|
|
|
}
|
2015-05-05 13:06:47 -04:00
|
|
|
h2 {
|
|
|
|
line-height: 1.5;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2015-05-01 15:50:11 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
footer, main header {
|
|
|
|
background-color: $alt-background-color;
|
2015-05-05 13:06:47 -04:00
|
|
|
color: $alt-font-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
body > main > header {
|
|
|
|
@include row();
|
|
|
|
height: $vertical-base * 10;
|
|
|
|
line-height: $vertical-base * 10;
|
|
|
|
}
|
|
|
|
|
2015-05-07 18:06:28 -04:00
|
|
|
body > main > article {
|
|
|
|
padding-top: $vertical-base * 10;
|
|
|
|
margin-top: -$vertical-base * 10;
|
|
|
|
}
|
|
|
|
|
2015-05-05 13:06:47 -04:00
|
|
|
.scratchx-logo {
|
|
|
|
float: left;
|
|
|
|
|
|
|
|
span {
|
|
|
|
@include hide-text;
|
|
|
|
display: inline-block;
|
|
|
|
background: url(../images/scratchx-logo.png) left center no-repeat;
|
|
|
|
width: 192px;
|
|
|
|
height: $vertical-base * 10;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-nav {
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
ul, li {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
margin-left: 50px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@import "home";
|
2015-05-08 10:06:50 -04:00
|
|
|
@import "editor";
|