Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 20 additions & 6 deletions public/resources/css/base/_type.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,19 @@ a {
}

code {
background: $lightgrey;
background: #eef1f2;
border-radius: 2px;
font-family: $mono-font;
color: $darkgrey;
color: $regal;
padding: 0px 4px;
font-size: 90%;
}

p code {
border-bottom: 1px dotted $regal;

&:hover {
border-bottom: 1px solid $regal;
}
}

.location-badge {
Expand Down Expand Up @@ -103,14 +110,21 @@ code {
opacity: 0.87;
}
h2 {
font-size: 20px;
font-size: 15px;
text-transform: uppercase;
color: #78909C;
}
h3 {
font-size: 16px;
}
h4 {
font-size: 16px;
}
p {
font-size: 15px;
color: #5c7078;
line-height: 28pt;
}
}

table th,
Expand Down Expand Up @@ -213,8 +227,8 @@ table td {
&[layout="row"] {
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
& > div {
flex-direction: column;
& > div {
& > .card {
margin-left: 0;
margin-right: 0;
Expand Down
2 changes: 1 addition & 1 deletion public/resources/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@
* PRINT STYLES
*
*/
@import 'print';
@import 'print';
75 changes: 75 additions & 0 deletions public/resources/css/module/_api.scss
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,79 @@ input.api-filter {
}
}
}

a {
code {
color: $ocean;
}
}

p {
color: #1a2326;

&.selector {
margin: 0 0 8px 0;
}

&.location-badge {
margin: 0 0 16px 16px !important;
}

code {
border-bottom: 0px;

:hover {
border-bottom: none;
}
}
}

.row-margin {
margin-bottom: 36px;
h2 {
line-height: 28px;
}
}

.code-margin {
margin-bottom: $unit;
}

.hr-margin {
display: block;
height: 1px;
border: 0;
border-top: 1px solid $lightgrey;
margin-top: 15px;
margin-bottom: 20px;
padding: 0;
}

.no-bg {
background: none;
padding: 0;
}

code {
font-size: 14px;
color: #1a2326;

// Override highlight.js
&.no-pln {
.pln {
display: none;
}
}
}
}

@media screen and (max-width: 600px) {
code {
font-size: 12px;
}

p.location-badge {
position: relative;
font-size: 11px;
}
}
32 changes: 29 additions & 3 deletions public/resources/css/module/_code-box.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.code-box {
border-radius: 4px;
background: $lightgrey;
// box-shadow: 0px 2px 5px rgba($coal, .3);
margin-bottom: $unit * 2;

header {
Expand All @@ -11,6 +10,30 @@
border-radius: 4px 4px 0px 0px;
}

&__live-code {
background-color: #cfd8dc;
height: 36px;
color: $snow;
padding: 0 $unit;
border-radius: 4px 4px 0px 0px;
margin-bottom: 0;

& a {
font-size: 14px;
text-decoration: none;
border-bottom: 1px $regal dotted;

&:hover {
border-bottom: 1px $regal solid;
}
}

&--icon {
font-size: 14px;
color: $regal;
}
}

nav {
button {
line-height: $unit * 3.5;
Expand All @@ -21,12 +44,11 @@
background: #3F94E9;
color: $snow;
border-radius: 4px 4px 0px 0px;
// font-weight: 500;
text-transform: none;

&.is-selected,
&.selected
{
{
background: $lightgrey;
color: $darkgrey;
}
Expand All @@ -38,3 +60,7 @@
margin: 0px;
}
}

pre {
margin-top: 0;
}
2 changes: 1 addition & 1 deletion tools/api-builder/angular.io-package/tag-defs/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = [
require('./deprecated'),
require('./howToUse'),
require('./whatItIs'),
require('./whatItDoes'),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realized the naming mistake after looking more closely at the api doc proposal document in #964

require('./internal')
];
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = function() {
return {
name: 'whatItIs'
name: 'whatItDoes'
};
};
Loading