feat(docs-infra): white background and corresponding figure updates (#28396)

PR Close #28396
This commit is contained in:
Stefanie Fluin 2019-01-27 15:52:53 -08:00 committed by Miško Hevery
parent 11a4454ab3
commit 383ab8515d
14 changed files with 56 additions and 27 deletions

View File

@ -7,6 +7,10 @@ body {
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
h1, h2, h3, h4, h5, h6 {
color: $deepgray;
}
h1 { h1 {
display: inline-block; display: inline-block;
font-size: 24px; font-size: 24px;
@ -73,6 +77,7 @@ p, ol, ul, ol, li, input, a {
line-height: 24px; line-height: 24px;
letter-spacing: 0.30px; letter-spacing: 0.30px;
font-weight: 400; font-weight: 400;
color: $darkgray;
& > em { & > em {
letter-spacing: 0.30px; letter-spacing: 0.30px;
} }
@ -103,7 +108,7 @@ a {
.app-toolbar a { .app-toolbar a {
font-size: 16px; font-size: 16px;
font-weight: 400; font-weight: 400;
color: white; color: $white;
font-family: $main-font; font-family: $main-font;
text-transform: uppercase; text-transform: uppercase;
padding: 21px 0; padding: 21px 0;

View File

@ -5,12 +5,15 @@ footer {
padding: 48px; padding: 48px;
z-index: 0; z-index: 0;
background-color: $blue; background-color: $blue;
color: $offwhite;
font-weight: 300; font-weight: 300;
aio-footer { aio-footer {
position: relative; position: relative;
z-index: 0; z-index: 0;
& > * {
color: $white;
}
} }
.footer-block { .footer-block {
@ -19,8 +22,7 @@ footer {
} }
a { a {
color: $offwhite; color: $white;
font-weight: 300;
text-decoration: none; text-decoration: none;
z-index: 20; z-index: 20;
position: relative; position: relative;
@ -39,6 +41,7 @@ footer {
text-transform: uppercase; text-transform: uppercase;
font-weight: 400; font-weight: 400;
margin: 0 0 16px; margin: 0 0 16px;
color: $white;
} }
p { p {
text-align: center; text-align: center;

View File

@ -2,8 +2,9 @@ html, body {
height: 100%; height: 100%;
} }
body { body,
background-color: $offwhite; .content {
background-color: $white;
} }
.clearfix { .clearfix {

View File

@ -42,7 +42,7 @@ section#intro {
height: 480px; height: 480px;
margin: 0 auto -32px; margin: 0 auto -32px;
padding: 48px 0 0; padding: 48px 0 0;
color: white; color: $white;
@media (max-width: 780px) { @media (max-width: 780px) {
flex-direction: column; flex-direction: column;
@ -426,7 +426,7 @@ div[layout=row]{
text-transform: uppercase; text-transform: uppercase;
font-size: 24px; font-size: 24px;
font-weight: 300; font-weight: 300;
color: white; color: $white;
margin: 0; margin: 0;
-webkit-margin-before: 0; -webkit-margin-before: 0;
-webkit-margin-after: 0; -webkit-margin-after: 0;

View File

@ -28,7 +28,7 @@ mat-sidenav.mat-sidenav.sidenav {
left: 0; left: 0;
padding: 0; padding: 0;
min-width: 260px; min-width: 260px;
background-color: $offwhite; background-color: $white;
box-shadow: 6px 0 6px rgba(0,0,0,0.10); box-shadow: 6px 0 6px rgba(0,0,0,0.10);
&.collapsed { &.collapsed {
@ -48,6 +48,11 @@ mat-sidenav-container.sidenav-container {
} }
} }
mat-sidenav-container.sidenav-container.mat-drawer-container.mat-sidenav-container,
mat-sidenav-container .sidenav-content {
background-color: $white;
}
mat-sidenav-container div.mat-sidenav-content { mat-sidenav-container div.mat-sidenav-content {
height: auto; height: auto;
} }

View File

@ -180,7 +180,7 @@ aio-search-box.search-container {
color: $darkgray; color: $darkgray;
border: none; border: none;
border-radius: 100px; border-radius: 100px;
background-color: $offwhite; background-color: $white;
padding: 5px 16px; padding: 5px 16px;
margin-left: 8px; margin-left: 8px;
width: 180px; width: 180px;

View File

@ -94,7 +94,7 @@ a.filter-button {
&:hover { &:hover {
background-color: $blue; background-color: $blue;
color: white; color: $white;
} }
} }

View File

@ -35,7 +35,7 @@
section { section {
color: $darkgray; color: $deepgray;
font-size: 20px; font-size: 20px;
line-height: 24px; line-height: 24px;
margin: 0; margin: 0;

View File

@ -22,7 +22,7 @@ aio-contributor-list {
a { a {
&.selected { &.selected {
background-color: $blue; background-color: $blue;
color: white; color: $white;
} }
} }
} }

View File

@ -1,5 +1,5 @@
.filetree { .filetree {
background: $offwhite; background: $white;
border: 4px solid $lightgray; border: 4px solid $lightgray;
border-radius: 4px; border-radius: 4px;
margin: 0 0 24px 0; margin: 0 0 24px 0;

View File

@ -32,15 +32,28 @@
} }
figure { figure {
border-radius: 4px; margin: 0;
margin-top: 14px;
margin-bottom: 14px;
border-radius: 1px;
background: $white; background: $white;
padding: 20px; border: 1px solid $lightgray;
padding: 32px;
box-sizing: border-box;
display: inline-block; display: inline-block;
box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, .2);
margin: 0 0 14px 0;
img { &.lightbox {
background-color: $lightboxgray;
width: 100%;
display: flex;
justify-content: center;
}
div.card {
box-shadow: 0 2px 2px rgba(10, 16, 20, 0.24), 0 0 2px rgba(10, 16, 20, 0.12);
border-radius: 4px; border-radius: 4px;
padding: 8px;
background-color: $white;
} }
} }
} }

View File

@ -3,7 +3,7 @@ label.raised, .api-header label {
padding: 4px 16px; padding: 4px 16px;
display: inline; display: inline;
font-size: 14px; font-size: 14px;
color: white; color: $white;
margin-right: 8px; margin-right: 8px;
font-weight: 500; font-weight: 500;
text-transform: uppercase; text-transform: uppercase;

View File

@ -2,7 +2,7 @@ table {
margin: 24px 0px; margin: 24px 0px;
box-shadow: 0 2px 2px rgba($black, 0.24), 0 0 2px rgba($black, 0.12); box-shadow: 0 2px 2px rgba($black, 0.24), 0 0 2px rgba($black, 0.12);
border-radius: 2px; border-radius: 2px;
background: $offwhite; background: $white;
&.is-full-width { &.is-full-width {
width: 100%; width: 100%;

View File

@ -18,9 +18,11 @@ $white: #FFFFFF;
$offwhite: #FAFAFA; $offwhite: #FAFAFA;
$backgroundgray: #F1F1F1; $backgroundgray: #F1F1F1;
$lightgray: #DBDBDB; $lightgray: #DBDBDB;
$lightboxgray: #EBEBEB;
$mist: #ECEFF1; $mist: #ECEFF1;
$mediumgray: #6e6e6e; $mediumgray: #6E6E6E;
$darkgray: #333; $darkgray: #444444;
$deepgray: #333333;
$black: #0A1014; $black: #0A1014;
$orange: #FF9800; $orange: #FF9800;
$darkorange: #940; $darkorange: #940;