File tree Expand file tree Collapse file tree 7 files changed +26
-31
lines changed Expand file tree Collapse file tree 7 files changed +26
-31
lines changed Original file line number Diff line number Diff line change 19
19
margin-bottom : $base-spacing ;
20
20
21
21
> li {
22
- counter-increment : customlistcounter;
23
22
clear : both ;
24
23
padding : $small-spacing 0 $small-spacing 2em ;
25
24
position : relative ;
28
27
& ::before {
29
28
@include position (absolute , ($small-spacing + 0.5em ) null null 0 );
30
29
@include size (2em );
31
- content : counter (customlistcounter ) " " ;
32
- border : 2px solid $base-border-color ;
30
+ border : 2px solid #74B0CE ;
33
31
border-radius : 50% ;
34
32
float : left ;
35
33
line-height : calc (2em - 4px );
36
34
overflow : hidden ;
37
35
text-align : center ;
38
36
}
39
37
}
40
-
41
- & :first-child {
42
- counter-reset : customlistcounter;
43
- }
44
38
}
45
39
}
46
40
47
- dl {
48
- margin-bottom : $small-spacing ;
49
-
50
- dt {
51
- margin-top : $small-spacing ;
52
- }
53
-
54
- dd {
55
- margin : 0 ;
56
- }
41
+ dd {
42
+ margin : 0 ;
57
43
}
Original file line number Diff line number Diff line change 5
5
font-family : $monospace-font-family ;
6
6
font-size : 0.8em ;
7
7
line-height : 1.5em ;
8
- margin : $small-spacing 0 $large-spacing ;
9
8
overflow : hidden ;
10
9
position : relative ;
11
10
Original file line number Diff line number Diff line change @@ -88,7 +88,12 @@ label[for="toc-toggle"] {
88
88
}
89
89
90
90
ol .toc-level-1 {
91
- border-left : $base-border ;
91
+ border-left : 1px solid #74B0CE ;
92
+
93
+ // override ember-styleguide link color
94
+ a {
95
+ color : #42474f ;
96
+ }
92
97
93
98
& :not (.selected ) {
94
99
display : none ;
@@ -97,10 +102,12 @@ ol.toc-level-1 {
97
102
li {
98
103
border-left : 3px solid transparent ;
99
104
transition : border-width $duration , margin-right $duration ;
105
+ padding-top : 0.3em ;
106
+ padding-bottom : 0.3em ;
100
107
101
108
& .selected ,
102
109
& :hover {
103
- border-left-color : $base-border-color ;
110
+ border-left-color : #74B0CE ;
104
111
}
105
112
106
113
& :hover {
Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ a.toc-anchor {
23
23
margin-top : -5px ;
24
24
}
25
25
26
- .toc-level-0 > a {
26
+ .toc-level-0 > a , .toc-spacing {
27
27
transition : color 0.1s linear ;
28
+ margin-bottom : 0.5em ;
29
+ margin-top :0.5em ;
30
+ display : block ;
28
31
}
Original file line number Diff line number Diff line change 1
- <div class =" highlight javascript" >
1
+ <div class =" highlight javascript margin-vertical-small " >
2
2
<div class =" ribbon" ></div >
3
3
{{ #if (is-clipboard-supported )}}
4
4
<div class =" import-copy" >
Original file line number Diff line number Diff line change 1
1
<ol class =" toc-level-0" >
2
- <li class =" toc-level-0 large" >
2
+ <li class =" toc-level-0 large list-unstyled " >
3
3
<a {{ action ' toggle' ' modules' }} href =" #" >Packages</a >
4
4
<ol class =" toc-level-1 medium regular modules" style =" display: block" >
5
5
{{ #each moduleIDs as |moduleID |}}
17
17
</li >
18
18
19
19
{{ #if isShowingNamespaces }}
20
- <li class =" toc-level-0 large" >
20
+ <li class =" toc-level-0 large list-unstyled " >
21
21
<a {{ action ' toggle' ' namespaces' }} href =" #" >Namespaces</a >
22
22
<ol class =" toc-level-1 medium regular namespaces" style =" display: block" >
23
23
{{ #each namespaceIDs as |namespaceID |}}
29
29
</li >
30
30
{{ /if }}
31
31
32
- <li class =" toc-level-0 large" >
32
+ <li class =" toc-level-0 large list-unstyled " >
33
33
<a {{ action ' toggle' ' classes' }} href =" #" >Classes</a >
34
34
<ol class =" toc-level-1 medium regular classes" style =" display: block" >
35
35
{{ #each classesIDs as |classID |}}
40
40
</ol >
41
41
</li >
42
42
</ol >
43
- <label class =" toc-private-toggle" >
43
+ <label class =" toc-private-toggle regular padding-top-small " >
44
44
{{ input type =" checkbox" checked =showPrivateClasses class =' private-deprecated-toggle' }}
45
45
Show Private / Deprecated
46
46
</label >
Original file line number Diff line number Diff line change 1
1
<aside class =" sidebar" >
2
2
<ol class =" toc-level-0" >
3
- <li class =" toc-level-0" data-test-home>
3
+ <li class =" toc-level-0 large margin-bottom-small " data-test-home>
4
4
{{ #link-to ' project' ' ember' }} Home{{ /link-to }}
5
5
</li >
6
- <li class =" toc-level-0" >
7
- Projects
6
+ <li class =" toc-level-0 large margin-vertical-small " >
7
+ < span class = " toc-spacing " > Projects</ span >
8
8
<ol class =" toc-level-1 selected" style =" display: block;" >
9
- <li class =" toc-level-1" >{{ #link-to ' project' ' ember' active = (eq activeProject ' ember' ) class =" spec-ember" }} Ember{{ /link-to }} </li >
10
- <li class =" toc-level-1" >{{ #link-to ' project' ' ember-data' active = (eq activeProject ' ember-data' ) class =" spec-ember-data" }} Ember Data{{ /link-to }} </li >
9
+ <li class =" toc-level-1 medium regular padding-left-small " >{{ #link-to ' project' ' ember' active = (eq activeProject ' ember' ) class =" spec-ember" }} Ember{{ /link-to }} </li >
10
+ <li class =" toc-level-1 medium regular padding-left-small " >{{ #link-to ' project' ' ember-data' active = (eq activeProject ' ember-data' ) class =" spec-ember-data" }} Ember Data{{ /link-to }} </li >
11
11
</ol >
12
12
</li >
13
13
</ol >
You can’t perform that action at this time.
0 commit comments