ps1811 commited on
Commit
cc4a3d7
·
1 Parent(s): f7d4e07

Chart headers colored to white. Logo square bordered

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -106,7 +106,7 @@ footer,
106
  #advisor-header .avatar {
107
  width: 32px;
108
  height: 32px;
109
- border-radius: 999px;
110
  border: 1px solid var(--custom-text-muted);
111
  display: flex;
112
  align-items: center;
@@ -412,7 +412,7 @@ footer,
412
  font-weight: 700;
413
  text-transform: uppercase;
414
  letter-spacing: 0.12em;
415
- color: rgba(229, 226, 227, 0.6);
416
  }
417
 
418
  .signal-box {
@@ -1054,8 +1054,8 @@ def build_signal_flow_html(dfs=None):
1054
  <path d="{line_path}" fill="none" filter="url(#glow-daily)" stroke="#5E6BFF" stroke-linecap="round" stroke-width="1.2"></path>
1055
  {dots_html}
1056
  </svg>
1057
- <div style="position: absolute; bottom: 6px; right: 10px; color: rgba(154,157,163,0.4); font-size: 10px; font-weight: 500;">Last 14 days</div>
1058
- <div style="position: absolute; top: 6px; left: 10px; color: rgba(154,157,163,0.4); font-size: 10px; font-weight: 500;">Daily Clicks (Last 14 Days)</div>
1059
  </div>
1060
  </div>
1061
  """
@@ -1188,7 +1188,7 @@ def campaign_selected(campaign_name, full_state):
1188
  # ADS ANALYST
1189
  # ==================================================
1190
 
1191
- @spaces.GPU(duration=120)
1192
  def run_ads_card(state):
1193
  try:
1194
  if not state:
 
106
  #advisor-header .avatar {
107
  width: 32px;
108
  height: 32px;
109
+ border-radius: 8px;
110
  border: 1px solid var(--custom-text-muted);
111
  display: flex;
112
  align-items: center;
 
412
  font-weight: 700;
413
  text-transform: uppercase;
414
  letter-spacing: 0.12em;
415
+ color: #ffffff !important;
416
  }
417
 
418
  .signal-box {
 
1054
  <path d="{line_path}" fill="none" filter="url(#glow-daily)" stroke="#5E6BFF" stroke-linecap="round" stroke-width="1.2"></path>
1055
  {dots_html}
1056
  </svg>
1057
+ <div style="position: absolute; bottom: 6px; right: 10px; color: #ffffff !important; font-size: 10px; font-weight: 500;">Last 14 days</div>
1058
+ <div style="position: absolute; top: 6px; left: 10px; color: #ffffff !important; font-size: 10px; font-weight: 500;">Daily Clicks (Last 14 Days)</div>
1059
  </div>
1060
  </div>
1061
  """
 
1188
  # ADS ANALYST
1189
  # ==================================================
1190
 
1191
+ # @spaces.GPU(duration=120)
1192
  def run_ads_card(state):
1193
  try:
1194
  if not state: