Skip to content

Commit d3972af

Browse files
authored
Merge pull request #292 from WatWowMap/fix-rockets-light-mode
Fix rockets light mode
2 parents ce4e4e9 + 797dad1 commit d3972af

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

static/css/index.css

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,10 +303,9 @@ fieldset[disabled] .btn-size.active {
303303
}
304304

305305
.grunt-encounter-wrapper {
306-
background-color: #1c1c1c;
306+
background-color: #f3f3f3;
307307
border-radius: 10px;
308-
border: 1px solid black;
309-
text-align: center;
308+
border: 1px solid #bdbdbd;
310309
padding: 5px;
311310
}
312311

@@ -326,6 +325,7 @@ fieldset[disabled] .btn-size.active {
326325
margin-left: auto;
327326
margin-right: auto;
328327
font-weight: bold;
328+
text-align: center;
329329
}
330330
.table-invasion td:first-child {
331331
padding-right: 15px;
@@ -706,6 +706,10 @@ img {
706706
color: white;
707707
}
708708

709+
.theme-dark .grunt-encounter-wrapper {
710+
background-color: #1c1c1c;
711+
border: 1px solid black;
712+
}
709713
.theme-dark table.dataTable tr.dtrg-group td,
710714
.theme-dark div.DTS div.dataTables_scrollBody table,
711715
.theme-dark .modal-body,

static/js/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3194,9 +3194,8 @@ function getPossibleInvasionRewards (pokestop) {
31943194
</div>`;
31953195
}
31963196
let item = gruntTypes[pokestop.grunt_type];
3197-
let content = '';
3198-
content +=
3199-
`<div class="grunt-encounter-wrapper">
3197+
let content = `<div class="grunt-encounter-wrapper">`;
3198+
content += `
32003199
<table class="table-invasion">`;
32013200
if (item['type'] === "Giovanni") {
32023201
content += `<tr><td>#1</td><td>`;

0 commit comments

Comments
 (0)