Skip to content

Commit 8b4d190

Browse files
committed
camera tweaks
1 parent 6239116 commit 8b4d190

File tree

10 files changed

+90
-32
lines changed

10 files changed

+90
-32
lines changed

app/client/node_modules/baseball/Render/Loop.js

Lines changed: 21 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/client/node_modules/baseball/Render/Mesh/AbstractMesh.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/client/node_modules/baseball/Render/Mesh/Ball.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/client/node_modules/baseball/Services/Animator.js

Lines changed: 10 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/client/styles/layout.less

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ button.btn {
5050
opacity: 0.7;
5151
}
5252

53+
.text-shadow {
54+
text-shadow: -1px -1px 0 #000,
55+
1px -1px 0 #000,
56+
-1px 1px 0 #000,
57+
1px 1px 0 #000;
58+
}
59+
5360
.main-area {
5461
padding: 10px 30px !important;
5562
.list-group-item {
@@ -58,16 +65,9 @@ button.btn {
5865
padding: 5px 10px;
5966
border: none;
6067
background-color: rgba(255, 255, 255, 0.15);
61-
text-shadow: -1px -1px 0 #000,
62-
1px -1px 0 #000,
63-
-1px 1px 0 #000,
64-
1px 1px 0 #000;
68+
.text-shadow;
6569
strong {
6670
font-size: 140%;
67-
text-shadow: -1px -1px 0 #000,
68-
1px -1px 0 #000,
69-
-1px 1px 0 #000,
70-
1px 1px 0 #000;
7171
}
7272
}
7373

@@ -286,6 +286,8 @@ button.btn {
286286
.batter-stats {
287287
width: 100%;
288288
margin: -25px auto auto;
289+
color: white;
290+
.text-shadow;
289291
.rating-block {
290292
margin: 0 0 -1px 0;
291293
}

public/css/application.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ button.btn.disabled {
204204
text-align: left;
205205
opacity: 0.7;
206206
}
207+
.text-shadow {
208+
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
209+
}
207210
.main-area {
208211
padding: 10px 30px !important;
209212
}
@@ -217,7 +220,6 @@ button.btn.disabled {
217220
}
218221
.main-area .list-group-item strong {
219222
font-size: 140%;
220-
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
221223
}
222224
.main-area .pitch-record {
223225
text-align: right;
@@ -430,6 +432,8 @@ button.btn.disabled {
430432
.batter-stats {
431433
width: 100%;
432434
margin: -25px auto auto;
435+
color: white;
436+
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
433437
}
434438
.batter-stats .rating-block {
435439
margin: 0 0 -1px 0;

public/js/application.js

Lines changed: 35 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/js/application.min.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/js/sourcemaps/application.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/js/sourcemaps/application.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)