BraydenMoore commited on
Commit
2caea64
·
1 Parent(s): 37c0722

Update styling

Browse files
Files changed (1) hide show
  1. Templates/index.html +6 -6
Templates/index.html CHANGED
@@ -140,8 +140,8 @@
140
  }
141
 
142
  .highlight {
143
- background: rgb(100, 100, 100) !important;
144
- border: 2px solid rgb(100, 100, 100) !important;
145
  border-radius: 10px !important;
146
  }
147
  .force-repaint { transform: translateZ(0); }
@@ -435,8 +435,8 @@
435
  const wrapperDiv = document.createElement('div');
436
  wrapperDiv.className = 'winner-wrapper';
437
  if (moneyline.Probabilities[0] > 0.6){
438
- wrapperDiv.classList.add("highlight");
439
- wrapperDiv.classList.toggle("force-repaint");
440
  }
441
 
442
  const winnerImg = document.createElement('img');
@@ -472,8 +472,8 @@
472
  const overUnderDiv = document.createElement('div');
473
  overUnderDiv.className = 'over-under-wrapper hidden';
474
  if (data.over_unders[index]['Probability'][0] > 0.6){
475
- overUnderDiv.classList.add("highlight");
476
- overUnderDiv.classList.toggle("force-repaint");
477
  }
478
 
479
  const textDiv = document.createElement('div');
 
140
  }
141
 
142
  .highlight {
143
+ background: rgb(50, 50, 50) !important;
144
+ border: 2px solid rgb(50, 50, 50) !important;
145
  border-radius: 10px !important;
146
  }
147
  .force-repaint { transform: translateZ(0); }
 
435
  const wrapperDiv = document.createElement('div');
436
  wrapperDiv.className = 'winner-wrapper';
437
  if (moneyline.Probabilities[0] > 0.6){
438
+ winnerCell.classList.add("highlight");
439
+ winnerCell.classList.toggle("force-repaint");
440
  }
441
 
442
  const winnerImg = document.createElement('img');
 
472
  const overUnderDiv = document.createElement('div');
473
  overUnderDiv.className = 'over-under-wrapper hidden';
474
  if (data.over_unders[index]['Probability'][0] > 0.6){
475
+ overUnderCell.classList.add("highlight");
476
+ overUnderCell.classList.toggle("force-repaint");
477
  }
478
 
479
  const textDiv = document.createElement('div');