Skip to content

Commit 24b2229

Browse files
committed
Cleanup
1 parent 14ca72f commit 24b2229

5 files changed

Lines changed: 13 additions & 20 deletions

File tree

docs/app/styles/app.scss

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ textarea {
3737
width: 100%;
3838
max-width: 100%;
3939
transition: box-shadow 120ms;
40-
-webkit-appearance: textfield;
41-
-moz-appearance: textfield;
42-
-ms-appearance: textfield;
4340
appearance: textfield;
4441

4542
background: $transparent;
@@ -86,7 +83,6 @@ header {
8683
}
8784

8885
svg {
89-
-webkit-filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
9086
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
9187
}
9288

@@ -151,10 +147,6 @@ pre.hljs {
151147
background: #DEDDED;
152148
}
153149

154-
::-moz-selection {
155-
background: #DEDDED;
156-
}
157-
158150
@media screen and (max-width: 550px) {
159151
header {
160152
position: relative;
@@ -184,14 +176,11 @@ pre.hljs {
184176
left: 0;
185177
width: 100%;
186178
height: 39px;
187-
display: -webkit-flex;
188-
display: flex;
189179
display: flex;
190180
border-bottom: 1px solid rgba(255, 255, 255, 0.5);
191181

192182
a {
193183
margin: 0;
194-
-webkit-flex: 1;
195184
flex: 1;
196185
text-align: center;
197186
line-height: 38px;

docs/app/styles/components/nested-template.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
background: $black;
55
border: 1px solid #333;
66
transition: all 120ms ease-in;
7-
-webkit-touch-callout: default;
87

98
code {
109
padding-bottom: 20px;
1110
}
1211

1312
& .nested-template {
1413
min-height: 142px;
14+
1515
& .nested-template {
1616
min-height: 50px;
1717
}

docs/app/styles/components/window-pane.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
}
4545
}
4646

47-
& > div {
47+
&>div {
4848
min-height: 250px;
4949
background: $black;
5050
color: #fff;
@@ -62,9 +62,6 @@
6262

6363
.ps1 {
6464
color: #aaaaaa;
65-
-webkit-user-select: none;
66-
-moz-user-select: none;
67-
-ms-user-select: none;
6865
user-select: none;
6966
}
7067
}
@@ -80,6 +77,7 @@
8077
.window-pane {
8178
font-size: 0.9rem;
8279
}
80+
8381
.window-pane.has-title .button {
8482
opacity: 0;
8583
}

docs/app/styles/routes/docs.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
position: absolute;
1515
top: 50%;
1616
left: 50%;
17-
-webkit-transform: translate(-50%, -60%);
1817
transform: translate(-50%, -60%);
1918
line-height: 1.7em;
2019
width: 500px;
@@ -72,9 +71,11 @@
7271
@media (max-width: 600px) {
7372
#index .hero {
7473
font-size: 32px;
74+
7575
p {
7676
width: 360px;
7777
}
78+
7879
svg {
7980
width: 108px;
8081
height: 45px;
@@ -85,9 +86,11 @@
8586
@media (max-width: 400px) {
8687
#index .hero {
8788
font-size: 28px;
89+
8890
p {
8991
width: 340px;
9092
}
93+
9194
svg {
9295
width: 96px;
9396
height: 40px;
@@ -98,6 +101,7 @@
98101
@media screen and (max-height: 400px) {
99102
#index .hero {
100103
font-size: 32px;
104+
101105
svg {
102106
width: 108px;
103107
height: 45px;
@@ -109,9 +113,11 @@
109113
#index .hero {
110114
font-size: 28px;
111115
height: calc(100vh - 84px);
116+
112117
p {
113118
width: 100vw;
114119
}
120+
115121
svg {
116122
width: 96px;
117123
height: 40px;

docs/app/templates/docs.gts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import type { TemplateOnlyComponent } from '@ember/component/template-only';
22
import { pageTitle } from 'ember-page-title';
33
import { Input } from '@ember/component';
4-
import highlight from 'docs/helpers/highlight';
4+
import highlight from 'docs/helpers/highlight.ts';
55
import WindowPane from 'docs/components/window-pane.gts';
6-
import PageTitlePane from 'docs/components/page-title-pane';
7-
import { IconSvg, EmberLogoSvg, ArrowSvg } from 'docs/components/icons';
6+
import PageTitlePane from 'docs/components/page-title-pane.gts';
7+
import { IconSvg, EmberLogoSvg, ArrowSvg } from 'docs/components/icons.gts';
88

99
interface Signature {
1010
Args: {

0 commit comments

Comments
 (0)