prakharg24 commited on
Commit
41191db
·
verified ·
1 Parent(s): 5d51b2c

Update my_pages/information_loss.py

Browse files
Files changed (1) hide show
  1. my_pages/information_loss.py +10 -31
my_pages/information_loss.py CHANGED
@@ -26,37 +26,16 @@ def render():
26
  """
27
  )
28
 
29
- # st.markdown(
30
- # """
31
- # <style>
32
- # button[kind="primary"] {
33
- # background: green!important;
34
- # }
35
- # button[kind="tertiary"] {
36
- # background: yellow!important;
37
- # }
38
- # </style>
39
- # """,
40
- # unsafe_allow_html=True,
41
- # )
42
- # Fetch theme colors
43
- bg = st.get_option("theme.backgroundColor")
44
- sec_bg = st.get_option("theme.secondaryBackgroundColor")
45
- text = st.get_option("theme.textColor")
46
-
47
- css = f"""
48
- <style>
49
- button[kind="tertiary"] {{
50
- background-color: {sec_bg} !important;
51
- color: {text} !important;
52
- border: 1px solid {sec_bg} !important;
53
- opacity: 0.5 !important; /* faded look */
54
- cursor: not-allowed !important; /* shows it's inactive */
55
- pointer-events: none !important; /* disable clicking */
56
- }}
57
- </style>
58
- """
59
- st.markdown(css, unsafe_allow_html=True)
60
 
61
  # Session state init
62
  # if "available_features" not in st.session_state:
 
26
  """
27
  )
28
 
29
+ st.markdown(
30
+ """
31
+ <style>
32
+ button[kind="primary"] {
33
+ background: green!important;
34
+ }
35
+ </style>
36
+ """,
37
+ unsafe_allow_html=True,
38
+ )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
 
40
  # Session state init
41
  # if "available_features" not in st.session_state: