Skip to content

Commit d57560e

Browse files
committed
remove font size overrides
1 parent e6f46f5 commit d57560e

File tree

11 files changed

+17
-69
lines changed

11 files changed

+17
-69
lines changed

app/styles/base/_buttons.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ button {
99
color: #fff;
1010
cursor: pointer;
1111
display: inline-block;
12-
font-size: $base-font-size;
1312
font-weight: 600;
1413
line-height: 1;
1514
padding: 0.75em 1em;

app/styles/base/_forms.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ input,
99
label,
1010
select {
1111
display: block;
12-
font-size: $base-font-size;
1312
}
1413

1514
.ember-power-select-trigger {
@@ -18,7 +17,6 @@ select {
1817
max-width: 100%;
1918
width: auto;
2019
display: block;
21-
font-size: $base-font-size;
2220
background-color: $base-background-color;
2321
transition: border-color;
2422
appearance: none;
@@ -44,7 +42,6 @@ textarea {
4442
border-radius: $base-border-radius;
4543
box-shadow: $form-box-shadow;
4644
box-sizing: border-box;
47-
font-size: $base-font-size;
4845
margin-bottom: $base-spacing / 2;
4946
padding: $base-spacing / 3;
5047
transition: border-color;

app/styles/base/_lists.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ ol {
3232
border: 2px solid $base-border-color;
3333
border-radius: 50%;
3434
float: left;
35-
font-size: $small-font-size;
3635
line-height: calc(2em - 4px);
3736
overflow: hidden;
3837
text-align: center;
@@ -49,7 +48,6 @@ dl {
4948
margin-bottom: $small-spacing;
5049

5150
dt {
52-
font-weight: bold;
5351
margin-top: $small-spacing;
5452
}
5553

app/styles/base/_typography.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ a {
2828
}
2929

3030
hr {
31-
border-bottom: $base-border;
31+
border-bottom: 1px solid #e6e4e3;
3232
border-left: none;
3333
border-right: none;
3434
border-top: none;

app/styles/base/_variables.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
// Typography
22
$monospace-font-family: Menlo, "DejaVu Sans Mono", "Bitstream Vera Sans Mono", Courier, monospace;
33

4-
// Font Sizes
5-
$base-font-size: 1rem;
6-
$small-font-size: 0.75rem;
7-
$large-font-size: 1.5rem;
8-
94
// Line height
105
$base-line-height: 1.5;
116
$heading-line-height: 1.2;

app/styles/components/_article.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ article {
99
@include size(24px, 18px);
1010
display: inline-block;
1111
float: right;
12-
font-size: 1rem;
1312
margin: 0.5em 0 0 0;
1413
opacity: 0.4;
1514
overflow: hidden;

app/styles/components/_class-field-desc.scss

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
.args {
1414
font-style: italic;
1515
font-weight: normal;
16-
font-size: $base-font-size;
1716
}
1817

1918
.class-field-description--link .return-type,
@@ -22,23 +21,17 @@
2221
color: $medium-gray;
2322
font-style: italic;
2423
font-weight: normal;
25-
font-size: $base-font-size;
2624
margin-right: 5px;
2725
}
2826

2927
.access {
3028
color: white;
3129
background-color: gray;
3230
padding: 2px 7px;
33-
font-size: 1.6em;
3431
font-weight: 600;
3532
border-radius: 3px;
3633
}
3734

38-
h3 .access{
39-
font-size: smaller;
40-
}
41-
4235
.parameters {
4336
dl {
4437
display: inline-block;
@@ -61,12 +54,10 @@ h3 .access{
6154

6255
p.github-link {
6356
margin: -12px 0 0;
64-
font-size: $small-font-size;
6557
}
6658

6759
p.field-since {
6860
margin: 0;
69-
font-size: $small-font-size;
7061
}
7162

7263
.class-field-description--link {

app/styles/components/_sidebar.scss

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535

3636
label[for="toc-toggle"] {
3737
cursor: pointer;
38-
font-size: 1.25em;
3938
position: relative;
4039

4140
&:hover {
@@ -88,32 +87,8 @@ label[for="toc-toggle"] {
8887
}
8988
}
9089

91-
li.toc-level-0 {
92-
margin-bottom: 0.5em;
93-
94-
a {
95-
display: block;
96-
line-height: 1.25;
97-
padding-top: 0.25em;
98-
padding-bottom: 0.25em;
99-
100-
&:hover {
101-
color: $ember-orange;
102-
}
103-
&.active {
104-
color: $ember-orange;
105-
font-weight: bold;
106-
}
107-
}
108-
109-
> a {
110-
font-weight: bold;
111-
}
112-
}
113-
11490
ol.toc-level-1 {
11591
border-left: $base-border;
116-
font-size: $base-font-size * 0.9;
11792

11893
&:not(.selected) {
11994
display: none;
@@ -133,8 +108,4 @@ ol.toc-level-1 {
133108
margin-right: -3px;
134109
}
135110
}
136-
137-
a {
138-
padding-left: $small-spacing;
139-
}
140111
}

app/styles/components/_toc.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ a.toc-anchor {
2323
margin-top: -5px;
2424
}
2525

26-
.toc-private-toggle {
27-
font-size: $small-font-size;
28-
}
29-
3026
.toc-level-0 > a {
3127
transition: color 0.1s linear;
3228
}

app/templates/components/class-field-description.hbs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<section class="{{type}}">
2-
<h3 class="class-field-description--link" data-anchor="{{field.name}}" role="link" onclick={{action updateAnchor field.name}}>
2+
<h2 class="class-field-description--link" data-anchor="{{field.name}}" role="link" onclick={{action updateAnchor field.name}}>
33
<a class="anchor">
44
{{svg-jar 'fa-link' class="class-field-description--link-hover" width="20px" height="20px"}}
55
</a>
@@ -18,7 +18,7 @@
1818
{{#if field.deprecated}}
1919
<span class="access">deprecated</span>
2020
{{/if}}
21-
</h3>
21+
</h2>
2222
{{#if model.module}}
2323
<div class="attributes">
2424
<div class="attribute">
@@ -51,14 +51,14 @@
5151
<dl class="parameters">
5252
{{#each field.params as |param|}}
5353
<div class="parameter">
54-
<dt>{{param.name}}</dt>
54+
<dt><strong>{{param.name}}</strong></dt>
5555
<dd class="parameter-type">{{param.type}}</dd>
5656
<dd>{{param.description}}</dd>
5757
</div>
5858
{{/each}}
5959
{{#if field.return}}
6060
<div class="return">
61-
<dt>returns</dt>
61+
<dt><strong>returns</strong></dt>
6262
<dd class="return-type">{{field.return.type}}</dd>
6363
<dd>{{field.return.description}}</dd>
6464
</div>

app/templates/components/table-of-contents.hbs

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
<ol class="toc-level-0">
2-
<li class="toc-level-0">
2+
<li class="toc-level-0 large">
33
<a {{action 'toggle' 'modules'}} href="#">Packages</a>
4-
<ol class="toc-level-1 modules" style="display: block">
4+
<ol class="toc-level-1 medium regular modules" style="display: block">
55
{{#each moduleIDs as |moduleID|}}
66

77
{{#if (not-eq moduleID "@ember/object/computed")}}
8-
<li class="toc-level-1" data-test-module={{moduleID}}>
9-
{{#link-to 'project-version.modules.module' version moduleID}}{{moduleID}}{{/link-to}}
8+
<li class="toc-level-1 medium regular padding-left-small" data-test-module={{moduleID}}>
9+
{{#link-to 'project-version.modules.module' version moduleID}}
10+
{{moduleID}}
11+
{{/link-to}}
1012
</li>
1113
{{/if}}
1214

@@ -15,23 +17,23 @@
1517
</li>
1618

1719
{{#if isShowingNamespaces}}
18-
<li class="toc-level-0">
20+
<li class="toc-level-0 large">
1921
<a {{action 'toggle' 'namespaces'}} href="#">Namespaces</a>
20-
<ol class="toc-level-1 namespaces" style="display: block">
22+
<ol class="toc-level-1 medium regular namespaces" style="display: block">
2123
{{#each namespaceIDs as |namespaceID|}}
22-
<li class="toc-level-1" data-test-namespace={{namespaceID}}>
24+
<li class="toc-level-1 medium regular padding-left-small" data-test-namespace={{namespaceID}}>
2325
{{#link-to 'project-version.namespaces.namespace' version namespaceID}}{{namespaceID}}{{/link-to}}
2426
</li>
2527
{{/each}}
2628
</ol>
2729
</li>
2830
{{/if}}
2931

30-
<li class="toc-level-0">
32+
<li class="toc-level-0 large">
3133
<a {{action 'toggle' 'classes'}} href="#">Classes</a>
32-
<ol class="toc-level-1 classes" style="display: block">
34+
<ol class="toc-level-1 medium regular classes" style="display: block">
3335
{{#each classesIDs as |classID|}}
34-
<li class="toc-level-1" data-test-class={{classID}}>
36+
<li class="toc-level-1 medium regular padding-left-small" data-test-class={{classID}}>
3537
{{#link-to 'project-version.classes.class' version classID}}{{classID}}{{/link-to}}
3638
</li>
3739
{{/each}}

0 commit comments

Comments
 (0)