2017-03-26 13:32:29 -07:00
|
|
|
code-example,
|
|
|
|
code-tabs md-tab-body {
|
|
|
|
background-color: $backgroundgray;
|
|
|
|
border: 0.5px solid $lightgray;
|
|
|
|
border-radius: 5px;
|
2017-03-15 08:19:19 +11:00
|
|
|
color: $darkgray;
|
2017-03-26 13:32:29 -07:00
|
|
|
display: block;
|
2017-03-27 15:37:11 -07:00
|
|
|
padding: 8px;
|
|
|
|
margin: 16px auto;
|
2017-03-15 08:19:19 +11:00
|
|
|
}
|
|
|
|
|
2017-03-26 13:32:29 -07:00
|
|
|
code-example header {
|
|
|
|
background-color: $mediumgray;
|
|
|
|
border: 0.5px solid $mediumgray;
|
|
|
|
border-radius: 5px 5px 0 0;
|
|
|
|
color: $offwhite;
|
|
|
|
font-size: 16px;
|
|
|
|
padding: 10px;
|
|
|
|
margin: -10px;
|
2017-03-23 11:58:59 -07:00
|
|
|
}
|
|
|
|
|
2017-03-26 13:32:29 -07:00
|
|
|
code-example.is-anti-pattern header {
|
|
|
|
border: 2px solid $anti-pattern;
|
|
|
|
background: $anti-pattern;
|
2017-03-23 11:58:59 -07:00
|
|
|
}
|
|
|
|
|
2017-03-26 13:32:29 -07:00
|
|
|
code-example.is-anti-pattern,
|
|
|
|
code-tabs.is-anti-pattern md-tab-body {
|
|
|
|
border: 0.5px solid $anti-pattern;
|
2017-03-22 10:26:44 +11:00
|
|
|
}
|
|
|
|
|
2017-03-27 15:37:11 -07:00
|
|
|
code-tabs div .mat-tab-body-content {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
code-tabs .mat-tab-body-wrapper md-tab-body .mat-tab-body {
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
code-tabs mat-tab-body-content .fadeIn {
|
|
|
|
animation: opacity 2s ease-in;
|
|
|
|
}
|
|
|
|
|
2017-03-26 13:32:29 -07:00
|
|
|
aio-code pre {
|
|
|
|
display: flex;
|
2017-03-28 17:15:02 -07:00
|
|
|
padding: 0;
|
2017-03-15 08:19:19 +11:00
|
|
|
white-space: pre-wrap;
|
2017-03-27 15:37:11 -07:00
|
|
|
}
|
|
|
|
|
2017-03-28 17:15:02 -07:00
|
|
|
code ol {
|
|
|
|
font-family: $main-font;
|
|
|
|
color: $lightgray;
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin: 0;
|
|
|
|
font-family: $code-font;
|
|
|
|
font-size: 90%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.prettyprint {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.copy-button {
|
2017-03-27 15:37:11 -07:00
|
|
|
top: -16px;
|
|
|
|
right: -16px;
|
|
|
|
color: $lightgray;
|
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
|
|
|
&:hover {
|
|
|
|
color: $mediumgray;
|
|
|
|
}
|
2017-03-26 13:32:29 -07:00
|
|
|
}
|
|
|
|
|
2017-03-28 17:15:02 -07:00
|
|
|
.code-tab-group div.mat-tab-body-content {
|
|
|
|
height: auto;
|
2017-03-28 17:30:34 -07:00
|
|
|
}
|
|
|
|
|
2017-03-26 13:32:29 -07:00
|
|
|
$blue-grey-50: #ECEFF1;
|
|
|
|
$blue-grey-100: #CFD8DC;
|
|
|
|
$blue-grey-200: #B0BEC5;
|
|
|
|
$blue-grey-300: #90A4AE;
|
|
|
|
$blue-grey-400: #78909C;
|
|
|
|
$blue-grey-500: #607D8B;
|
|
|
|
$blue-grey-600: #546E7A;
|
|
|
|
$blue-grey-700: #455A64;
|
|
|
|
$blue-grey-800: #37474F;
|
|
|
|
$blue-grey-900: #263238;
|
|
|
|
|
|
|
|
$white: #FFFFFF;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Screen Colors
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
.pnk,
|
|
|
|
.blk {
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 2px 4px;
|
|
|
|
}
|
|
|
|
.pnk {
|
|
|
|
background: $blue-grey-50;
|
|
|
|
color: $blue-grey-900;
|
|
|
|
}
|
|
|
|
.blk {
|
|
|
|
background: $blue-grey-900;
|
|
|
|
}
|
|
|
|
.otl {
|
|
|
|
outline: 1px solid rgba($blue-grey-700, .56);
|
|
|
|
}
|
|
|
|
.kwd {
|
2017-03-28 17:15:02 -07:00
|
|
|
color: $darkgray;
|
2017-03-26 13:32:29 -07:00
|
|
|
}
|
|
|
|
.typ,
|
|
|
|
.tag {
|
2017-03-28 17:15:02 -07:00
|
|
|
color: $darkred;
|
2017-03-26 13:32:29 -07:00
|
|
|
}
|
|
|
|
.str,
|
|
|
|
.atv {
|
2017-03-28 17:15:02 -07:00
|
|
|
color: $blue;
|
2017-03-26 13:32:29 -07:00
|
|
|
}
|
|
|
|
.atn {
|
2017-03-28 17:15:02 -07:00
|
|
|
color: $blue;
|
2017-03-26 13:32:29 -07:00
|
|
|
}
|
|
|
|
.com {
|
2017-03-28 17:15:02 -07:00
|
|
|
color: $mediumgray;
|
2017-03-26 13:32:29 -07:00
|
|
|
}
|
|
|
|
.lit {
|
2017-03-28 17:15:02 -07:00
|
|
|
color: $blue;
|
2017-03-26 13:32:29 -07:00
|
|
|
}
|
|
|
|
.pun {
|
|
|
|
color: $blue-grey-700;
|
|
|
|
}
|
|
|
|
.pln {
|
2017-03-28 17:15:02 -07:00
|
|
|
color: $green-800;
|
2017-03-26 13:32:29 -07:00
|
|
|
}
|
|
|
|
.dec {
|
2017-03-28 17:15:02 -07:00
|
|
|
color: $blue;
|
2017-03-26 13:32:29 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Print Colors
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
@media print {
|
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
|
|
|
|
|
|
|
ol {
|
|
|
|
background: $white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.kwd {
|
2017-03-28 17:15:02 -07:00
|
|
|
color: $darkgray;
|
2017-03-26 13:32:29 -07:00
|
|
|
}
|
|
|
|
.typ,
|
|
|
|
.tag {
|
2017-03-28 17:15:02 -07:00
|
|
|
color: $darkred;
|
2017-03-26 13:32:29 -07:00
|
|
|
}
|
|
|
|
.str,
|
|
|
|
.atv {
|
2017-03-28 17:15:02 -07:00
|
|
|
color: $blue;
|
2017-03-26 13:32:29 -07:00
|
|
|
}
|
|
|
|
.atn {
|
2017-03-28 17:15:02 -07:00
|
|
|
color: $blue;
|
2017-03-26 13:32:29 -07:00
|
|
|
}
|
|
|
|
.com {
|
2017-03-28 17:15:02 -07:00
|
|
|
color: $mediumgray;
|
2017-03-26 13:32:29 -07:00
|
|
|
}
|
|
|
|
.lit {
|
2017-03-28 17:15:02 -07:00
|
|
|
color: $blue;
|
2017-03-26 13:32:29 -07:00
|
|
|
}
|
|
|
|
.pun {
|
|
|
|
color: $blue-grey-700;
|
|
|
|
}
|
|
|
|
.pln {
|
2017-03-28 17:15:02 -07:00
|
|
|
color: $green-800;
|
2017-03-26 13:32:29 -07:00
|
|
|
}
|
|
|
|
.dec {
|
2017-03-28 17:15:02 -07:00
|
|
|
color: $blue;
|
2017-03-26 13:32:29 -07:00
|
|
|
}
|
|
|
|
}
|