Sathwikchowdary commited on
Commit
e9a30ca
·
verified ·
1 Parent(s): e42fb4a

Update pages/Data_Collection.py

Browse files
Files changed (1) hide show
  1. pages/Data_Collection.py +29 -4
pages/Data_Collection.py CHANGED
@@ -22,6 +22,31 @@ custom_css = """
22
  p {
23
  color: #FFFFFF; /* White text for paragraphs */
24
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  </style>
26
  """
27
 
@@ -65,20 +90,20 @@ st.markdown(
65
  )
66
 
67
  # Add buttons for each data type
68
- if st.button("<h3 style='text-align: left; color: Black;'>🗂️Semi-Structured data </h3>"):
69
  st.markdown(
70
- "<p style='font-size: 16px; color: Black;'>Structured data is stored in a well-defined schema, such as tables or databases. Common examples include Excel files, CSV files, and SQL databases.</p>",
71
  unsafe_allow_html=True
72
  )
73
 
74
  if st.button("Learn More About Unstructured Data"):
75
  st.markdown(
76
- "<p style='font-size: 16px; color: Black;'>Unstructured data includes multimedia files, text documents, and other formats that lack a predefined schema. Examples are images, videos, and free-text files.</p>",
77
  unsafe_allow_html=True
78
  )
79
 
80
  if st.button("Learn More About Semi-Structured Data"):
81
  st.markdown(
82
- "<p style='font-size: 16px; color: Black;'>Semi-structured data lies between structured and unstructured data. Formats like JSON, XML, and YAML are common examples of semi-structured data.</p>",
83
  unsafe_allow_html=True
84
  )
 
22
  p {
23
  color: #FFFFFF; /* White text for paragraphs */
24
  }
25
+ .stButton>button {
26
+ background-color: #4CAF50; /* Green */
27
+ color: white;
28
+ padding: 10px 24px;
29
+ border: none;
30
+ border-radius: 5px;
31
+ text-align: center;
32
+ font-size: 16px;
33
+ margin: 4px 2px;
34
+ transition-duration: 0.4s;
35
+ cursor: pointer;
36
+ }
37
+ .stButton>button:hover {
38
+ background-color: #45a049; /* Darker Green on hover */
39
+ color: white;
40
+ }
41
+ .stButton>div:nth-child(1)>button {
42
+ background-color: #2196F3; /* Blue */
43
+ }
44
+ .stButton>div:nth-child(2)>button {
45
+ background-color: #f44336; /* Red */
46
+ }
47
+ .stButton>div:nth-child(3)>button {
48
+ background-color: #FF9800; /* Orange */
49
+ }
50
  </style>
51
  """
52
 
 
90
  )
91
 
92
  # Add buttons for each data type
93
+ if st.button("Learn More About Structured Data"):
94
  st.markdown(
95
+ "<p style='font-size: 16px; color: White;'>Structured data is stored in a well-defined schema, such as tables or databases. Common examples include Excel files, CSV files, and SQL databases.</p>",
96
  unsafe_allow_html=True
97
  )
98
 
99
  if st.button("Learn More About Unstructured Data"):
100
  st.markdown(
101
+ "<p style='font-size: 16px; color: White;'>Unstructured data includes multimedia files, text documents, and other formats that lack a predefined schema. Examples are images, videos, and free-text files.</p>",
102
  unsafe_allow_html=True
103
  )
104
 
105
  if st.button("Learn More About Semi-Structured Data"):
106
  st.markdown(
107
+ "<p style='font-size: 16px; color: White;'>Semi-structured data lies between structured and unstructured data. Formats like JSON, XML, and YAML are common examples of semi-structured data.</p>",
108
  unsafe_allow_html=True
109
  )