2010-04-22 15:30:50 +00:00
|
|
|
// Reference
|
|
|
|
|
|
|
|
body.reference {
|
|
|
|
h3 {
|
|
|
|
&.mixin, &.constant {
|
|
|
|
font-family: Monaco, courier;
|
|
|
|
font-weight: 200;
|
|
|
|
@include text-shadow;
|
|
|
|
background-color: #eeeeee;
|
|
|
|
border: 1px solid #aaaaaa;
|
|
|
|
padding: 0.75em;
|
|
|
|
margin-bottom: 0;
|
|
|
|
a.permalink {
|
|
|
|
@include hover-link;
|
|
|
|
@include link-colors(inherit, inherit); } }
|
|
|
|
.arg[data-default-value] {
|
|
|
|
color: #666666;
|
|
|
|
&:before {
|
|
|
|
content: "["; }
|
|
|
|
&:after {
|
|
|
|
content: "]"; } } }
|
|
|
|
.source-documentation {
|
|
|
|
background-color: #eeeeee;
|
|
|
|
border: 1px solid #aaaaaa;
|
|
|
|
border-top-width: 0;
|
|
|
|
padding: 0.75em; }
|
|
|
|
dl.source-documentation {
|
|
|
|
margin-top: 0;
|
|
|
|
dt {
|
|
|
|
font-weight: bold;
|
|
|
|
float: left;
|
|
|
|
margin-right: 15px; }
|
|
|
|
dt:not(:first-child) {
|
|
|
|
margin-top: 1em; } }
|
2010-04-25 09:55:23 +00:00
|
|
|
span.view-source {
|
2010-04-22 15:30:50 +00:00
|
|
|
float: right;
|
2010-04-26 23:42:46 +00:00
|
|
|
margin: 1em;
|
2010-04-25 09:55:23 +00:00
|
|
|
}
|
2010-04-22 15:30:50 +00:00
|
|
|
span.color + span.swatch { margin: 0 3px 3px; border: 1px solid #333333; width: 1em; height: 1em; @include inline-block; }
|
|
|
|
.color-snippet { width: 100px; height: 20px; @include border-radius(3px); }
|
|
|
|
a.help { font-size: 75%; }
|
2010-04-25 09:55:23 +00:00
|
|
|
.mixin-source {
|
|
|
|
pre {
|
2010-04-26 23:42:46 +00:00
|
|
|
@include box-sizing(border-box);
|
2010-04-25 09:55:23 +00:00
|
|
|
display: none;
|
2010-04-26 05:39:38 +00:00
|
|
|
overflow-x: auto;
|
2010-04-26 23:42:46 +00:00
|
|
|
width: 100%;
|
|
|
|
padding: $base-rhythm-unit;
|
2010-04-25 09:55:23 +00:00
|
|
|
}
|
2010-04-26 23:42:46 +00:00
|
|
|
pre:target {
|
2010-04-25 09:55:23 +00:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-04-24 17:03:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
body.docs {
|
2010-05-02 06:53:03 +00:00
|
|
|
code {
|
2010-04-24 17:03:34 +00:00
|
|
|
@include code-text;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
padding: 2px;
|
|
|
|
background-color: #e7e7e7;
|
|
|
|
}
|
2010-05-02 06:53:03 +00:00
|
|
|
code code { border-width: 0px; }
|
|
|
|
pre { @extend code; }
|
2010-04-22 15:30:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
table.constants {
|
|
|
|
width: 100%;
|
|
|
|
@include alternating-rows-and-columns(#eeeeee, #bbbbbb, #191919);
|
|
|
|
@include outer-table-borders(1px);
|
|
|
|
@include inner-table-borders(1px);
|
|
|
|
td, th {
|
|
|
|
padding: 0.25em 0.5em; } }
|
2010-04-30 16:53:44 +00:00
|
|
|
|
|
|
|
dl.examples {
|
|
|
|
display: table;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
dt, dd {
|
|
|
|
display: table-cell;
|
|
|
|
}
|
|
|
|
dd {
|
|
|
|
padding-left: 0.33em;
|
|
|
|
&:before {
|
|
|
|
content: " - ";
|
|
|
|
}
|
|
|
|
}
|
2010-05-02 20:25:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dl.table {
|
|
|
|
display: table;
|
|
|
|
dg { display: table-row; }
|
|
|
|
dt, dd { display: table-cell; }
|
|
|
|
dt { white-space: nowrap; padding-right: 1em;}
|
|
|
|
dt, dg.head > dd {font-weight: bold; text-align: center;}
|
|
|
|
}
|
|
|
|
|
|
|
|
body.helpers {
|
|
|
|
.helper {
|
|
|
|
dl { @extend dl.table; }
|
|
|
|
dg:not(.head) {
|
|
|
|
dt, dd { @extend code; }
|
|
|
|
}
|
|
|
|
}
|
2010-04-30 16:53:44 +00:00
|
|
|
}
|