kargaranamir
commited on
Commit
·
5d341d7
1
Parent(s):
17107df
update hover color.
Browse files
utils.py
CHANGED
@@ -21,7 +21,7 @@ def df_to_html(df):
|
|
21 |
styles = [
|
22 |
{'selector': 'tr', 'props': [('border', 'none')]}, # Hide row borders
|
23 |
{'selector': 'td, th', 'props': [('border', 'none'), ("text-align", "center"), ('font-size', 'smaller')]}, # Remove cell borders, reduce font size
|
24 |
-
{'selector': 'tr:hover', 'props': [('background-color', '#
|
25 |
{'selector': 'a:hover', 'props': [('color', 'darkblue')]},
|
26 |
{'selector': 'table', 'props': [('border-collapse', 'collapse'), ('border', 'none'), ('border-bottom', '1px solid black'), ('width', '50%')]}, # Set table width to 50%
|
27 |
{'selector': 'thead', 'props': [('border', 'none')]}, # Hide header border
|
|
|
21 |
styles = [
|
22 |
{'selector': 'tr', 'props': [('border', 'none')]}, # Hide row borders
|
23 |
{'selector': 'td, th', 'props': [('border', 'none'), ("text-align", "center"), ('font-size', 'smaller')]}, # Remove cell borders, reduce font size
|
24 |
+
{'selector': 'tr:hover', 'props': [('background-color', '#878787')]},
|
25 |
{'selector': 'a:hover', 'props': [('color', 'darkblue')]},
|
26 |
{'selector': 'table', 'props': [('border-collapse', 'collapse'), ('border', 'none'), ('border-bottom', '1px solid black'), ('width', '50%')]}, # Set table width to 50%
|
27 |
{'selector': 'thead', 'props': [('border', 'none')]}, # Hide header border
|