File tree Expand file tree Collapse file tree 12 files changed +96
-77
lines changed
api-builder/angular.io-package/templates Expand file tree Collapse file tree 12 files changed +96
-77
lines changed Original file line number Diff line number Diff line change 10
10
if slug != 'index'
11
11
- var url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
12
12
13
- li.c8
13
+ li
14
14
!= partial("../../../../../_includes/_hover-card", {name: page.title, url: url })
15
15
16
16
{% endblock %}
Original file line number Diff line number Diff line change 1
1
- var number = 1 ;
2
- ul.is-plain.l-offset-page-header
2
+ ul.is-plain
3
3
for page, slug in public .docs [current .path [1 ]][current .path [2 ]].guide ._data
4
4
5
5
if slug != ' _listtype' && slug != ' index'
Original file line number Diff line number Diff line change
1
+ div.card-row ( layout ='row' )
2
+ div( flex )
3
+ md-card.card
4
+ md-card-content
5
+ h3.text-headline.text-uppercase <span class =" icon-query-builder" ></span > Quickstart
6
+ p.text-body Learn in 5 minutes
1
7
2
- div.c4
3
- md-card.card
4
- md-card-content
5
- h3.text-headline.text-uppercase <span class =" icon-query-builder" ></span > Quickstart
6
- p.text-body Learn in 5 minutes
8
+ footer
9
+ a( href ="/docs/#{current .path [1 ]} /#{current .path [2 ]} /quickstart.html" class ="button" md-button ) View Quickstart
7
10
8
- footer
9
- a( href ="/docs/#{current .path [1 ]} /#{current .path [2 ]} /quickstart.html" class ="button" md-button ) View Quickstart
10
11
12
+ div( flex )
13
+ md-card.card
14
+ md-card-content
15
+ h3.text-headline.text-uppercase <span class =" icon-list" ></span > Guide
16
+ p.text-body Step by Step Guide
11
17
12
- div.c4
13
- md-card.card
14
- md-card-content
15
- h3.text-headline.text-uppercase <span class =" icon-list" ></span > Guide
16
- p.text-body Step by Step Guide
18
+ footer
19
+ a( href ="/docs/#{current .path [1 ]} /#{current .path [2 ]} /guide/" class ="button button-primary" md-button ) View Guide
17
20
18
- footer
19
- a( href ="/docs/#{current .path [1 ]} /#{current .path [2 ]} /guide/" class ="button button-primary" md-button ) View Guide
20
21
22
+ div( flex )
23
+ md-card.card
24
+ md-card-content
25
+ h3.text-headline.text-uppercase <span class =" icon-book" ></span > API
26
+ p.text-body API 2.0 Preview
21
27
22
- div.c4
23
- md-card.card
24
- md-card-content
25
- h3.text-headline.text-uppercase <span class =" icon-book" ></span > API
26
- p.text-body API 2.0 Preview
27
-
28
- footer
29
- a( href ="/docs/#{current .path [1 ]} /#{current .path [2 ]} /api/" class ="button" md-button ) View API
28
+ footer
29
+ a( href ="/docs/#{current .path [1 ]} /#{current .path [2 ]} /api/" class ="button" md-button ) View API
30
30
Original file line number Diff line number Diff line change 1
- .callout.is-helpful.l-offset-page-header
1
+ .callout.is-helpful
2
2
header Developer Preview
3
3
4
4
p.
7
7
in the development community. If you're building a production app today, please
8
8
<a href =" https://docs.angularjs.org/api" >use Angular 1.X</a >.
9
9
10
- ul.is-plain.l-offset-page-header
10
+ ul.is-plain
11
11
for page, slug in public .docs [current .path [1 ]][current .path [2 ]].api
12
12
if slug != ' index' && slug != ' _contents' && slug != ' _data'
13
13
Original file line number Diff line number Diff line change 1
1
- var number = 1 ;
2
- ul.is-plain.l-offset-page-header
2
+ ul.is-plain
3
3
for page, slug in public .docs [current .path [1 ]][current .path [2 ]].guide ._data
4
4
5
5
if slug != ' _listtype' && slug != ' index'
Original file line number Diff line number Diff line change
1
+ div.card-row ( layout ='row' )
2
+ div( flex )
3
+ md-card.card
4
+ md-card-content
5
+ h3.text-headline.text-uppercase <span class =" icon-query-builder" ></span > Quickstart
6
+ p.text-body Learn in 5 minutes
1
7
2
- div.c4
3
- md-card.card
4
- md-card-content
5
- h3.text-headline.text-uppercase <span class =" icon-query-builder" ></span > Quickstart
6
- p.text-body Learn in 5 minutes
8
+ footer
9
+ a( href ="/docs/#{current .path [1 ]} /#{current .path [2 ]} /quickstart.html" class ="button" md-button ) View Quickstart
7
10
8
- footer
9
- a( href ="/docs/#{current .path [1 ]} /#{current .path [2 ]} /quickstart.html" class ="button" md-button ) View Quickstart
10
11
12
+ div( flex )
13
+ md-card.card
14
+ md-card-content
15
+ h3.text-headline.text-uppercase <span class =" icon-list" ></span > Guide
16
+ p.text-body Step by Step Guide
11
17
12
- div.c4
13
- md-card.card
14
- md-card-content
15
- h3.text-headline.text-uppercase <span class =" icon-list" ></span > Guide
16
- p.text-body Step by Step Guide
18
+ footer
19
+ a( href ="/docs/#{current .path [1 ]} /#{current .path [2 ]} /guide/" class ="button button-primary" md-button ) View Guide
17
20
18
- footer
19
- a( href ="/docs/#{current .path [1 ]} /#{current .path [2 ]} /guide/" class ="button button-primary" md-button ) View Guide
20
21
22
+ div( flex )
23
+ md-card.card
24
+ md-card-content
25
+ h3.text-headline.text-uppercase <span class =" icon-book" ></span > API Preview
26
+ p.text-body API 2.0 Preview
21
27
22
- div.c4
23
- md-card.card
24
- md-card-content
25
- h3.text-headline.text-uppercase <span class =" icon-book" ></span > API Preview
26
- p.text-body API 2.0 Preview
27
-
28
- footer
29
- a( href ="/docs/#{current .path [1 ]} /#{current .path [2 ]} /api/" class ="button" md-button ) View API
28
+ footer
29
+ a( href ="/docs/#{current .path [1 ]} /#{current .path [2 ]} /api/" class ="button" md-button ) View API
30
30
Original file line number Diff line number Diff line change 1
1
- var number = 1 ;
2
- ul.is-plain.l-offset-page-header
2
+ ul.is-plain
3
3
for page, slug in public .docs [current .path [1 ]][current .path [2 ]].guide ._data
4
4
5
5
if slug != ' _listtype' && slug != ' index'
Original file line number Diff line number Diff line change
1
+ div.card-row ( layout ='row' )
2
+ div( flex )
3
+ md-card.card
4
+ md-card-content
5
+ h3.text-headline.text-uppercase <span class =" icon-query-builder" ></span > Quickstart
6
+ p.text-body Learn in 5 minutes
1
7
2
- div.c4
3
- md-card.card
4
- md-card-content
5
- h3.text-headline.text-uppercase <span class =" icon-query-builder" ></span > Quickstart
6
- p.text-body Learn in 5 minutes
8
+ footer
9
+ a( href ="/docs/#{current .path [1 ]} /#{current .path [2 ]} /quickstart.html" class ="button" md-button ) View Quickstart
7
10
8
- footer
9
- a( href ="/docs/#{current .path [1 ]} /#{current .path [2 ]} /quickstart.html" class ="button" md-button ) View Quickstart
10
11
12
+ div( flex )
13
+ md-card.card
14
+ md-card-content
15
+ h3.text-headline.text-uppercase <span class =" icon-list" ></span > Guide
16
+ p.text-body Step by Step Guide
11
17
12
- div.c4
13
- md-card.card
14
- md-card-content
15
- h3.text-headline.text-uppercase <span class =" icon-list" ></span > Guide
16
- p.text-body Step by Step Guide
18
+ footer
19
+ a( href ="/docs/#{current .path [1 ]} /#{current .path [2 ]} /guide/" class ="button button-primary" md-button ) View Guide
17
20
18
- footer
19
- a( href ="/docs/#{current .path [1 ]} /#{current .path [2 ]} /guide/" class ="button button-primary" md-button ) View Guide
20
21
22
+ div( flex )
23
+ md-card.card
24
+ md-card-content
25
+ h3.text-headline.text-uppercase <span class =" icon-book" ></span > API Preview
26
+ p.text-body API 2.0 Preview
21
27
22
- div.c4
23
- md-card.card
24
- md-card-content
25
- h3.text-headline.text-uppercase <span class =" icon-book" ></span > API Preview
26
- p.text-body API 2.0 Preview
27
-
28
- footer
29
- a( href ="/docs/#{current .path [1 ]} /#{current .path [2 ]} /api/" class ="button" md-button ) View API
28
+ footer
29
+ a( href ="/docs/#{current .path [1 ]} /#{current .path [2 ]} /api/" class ="button" md-button ) View API
30
30
Original file line number Diff line number Diff line change @@ -105,13 +105,19 @@ table th,
105
105
font-weight : 400 ;
106
106
opacity : .87 ;
107
107
line-height : 28px ;
108
+ padding : 0 ;
108
109
109
110
& .is-plain {
110
111
list-style-type : none ;
111
112
padding : 0px ;
112
113
}
113
114
}
114
115
116
+ .docs-content ul ,
117
+ .docs-content ol {
118
+ padding-left : ($unit * 4 );
119
+ }
120
+
115
121
.l-sub-section p ,
116
122
table td {
117
123
font-size : 14px ;
@@ -161,3 +167,12 @@ table td {
161
167
.docs-content .l-sub-section aside {
162
168
background : $snow ;
163
169
}
170
+
171
+ .docs-content .card-row {
172
+ > div :first-child > .card {
173
+ margin-left : 0 ;
174
+ }
175
+ > div :last-child > .card {
176
+ margin-right : 0 ;
177
+ }
178
+ }
Original file line number Diff line number Diff line change 6
6
7
7
.banner {
8
8
background : $mist ;
9
- padding : ($unit * 4 ) ($unit * 4 ) ( $unit * 4 ) ( $unit * 12 );
9
+ padding : ($unit * 4 ) ($unit * 6 );
10
10
min-height : $unit * 12 ;
11
11
12
12
@media handheld and (max-width : $phone-breakpoint ),
Original file line number Diff line number Diff line change 12
12
cursor : pointer ;
13
13
position : relative ;
14
14
z-index : $layer-1 ;
15
+ opacity : 0.87 ;
15
16
16
17
.icon {
17
18
position : absolute ;
31
32
left : 0px ;
32
33
z-index : $layer-5 ;
33
34
display : none ;
35
+ border-radius : 3px ;
36
+ overflow : hidden ;
34
37
35
38
ul {
36
39
list-style-type : none ;
Original file line number Diff line number Diff line change 1
- $hero-padding : $unit * 2 ;
1
+ $hero-padding : ( $unit * 10 ) ( $unit * 6 ) ( $unit * 5 ) ;
2
2
3
3
.hero {
4
4
position : relative ;
@@ -14,6 +14,7 @@ $hero-padding: $unit * 2;
14
14
15
15
& .is-large {
16
16
height : 478px ;
17
+ padding-top : ($unit * 2 );
17
18
text-align : center ;
18
19
19
20
@media handheld and (max-width : $phone-breakpoint ),
@@ -25,7 +26,7 @@ $hero-padding: $unit * 2;
25
26
26
27
.hero-title {
27
28
text-transform : uppercase ;
28
- margin : ( $unit * 9 ) 0 px 0 px ( $unit * 10 ) ;
29
+ margin : 0 ;
29
30
opacity : .87 ;
30
31
31
32
& .is-standard-case {
@@ -40,8 +41,8 @@ $hero-padding: $unit * 2;
40
41
}
41
42
42
43
.hero-subtitle {
43
- margin : 0 px 0 px 0 px ( $unit * 10 ) ;
44
- opacity : .87 ;
44
+ margin : 0 ;
45
+ opacity : 1 ;
45
46
46
47
@media handheld and (max-width : $phone-breakpoint ),
47
48
screen and (max-device-width : $phone-breakpoint ),
You can’t perform that action at this time.
0 commit comments