LakshmiHarika commited on
Commit
c1cf25f
·
verified ·
1 Parent(s): e834cf8

Update pages/3Life Cycle of Machine Learning Project.py

Browse files
pages/3Life Cycle of Machine Learning Project.py CHANGED
@@ -54,7 +54,7 @@ st.markdown(
54
  .circular-flowchart {
55
  position: relative;
56
  width: 1000px; /* Layout size */
57
- height: 1000px;
58
  margin: 0 auto;
59
  display: flex;
60
  justify-content: center;
@@ -64,8 +64,8 @@ st.markdown(
64
  /* Styling for each phase (circle) */
65
  .phase {
66
  position: absolute;
67
- width: 120px; /* Circle size */
68
- height: 120px;
69
  background-color: #F8F9FA; /* Light background */
70
  color: #343A40; /* Dark text */
71
  border-radius: 50%;
@@ -80,18 +80,18 @@ st.markdown(
80
  transition: transform 0.3s ease, background 0.3s ease;
81
  }
82
 
83
- /* Adjusted positions for your custom circular flow */
84
- .phase-1 { top: 80px; left: 400px; background-color: #4CAF50; } /* Top-left */
85
- .phase-2 { top: 150px; left: 550px; background-color: #03A9F4; } /* Top */
86
- .phase-3 { top: 300px; left: 650px; background-color: #FFC107; } /* Upper-right */
87
- .phase-4 { top: 450px; left: 620px; background-color: #FF7043; } /* Right */
88
- .phase-5 { top: 600px; left: 500px; background-color: #8BC34A; } /* Bottom-right */
89
- .phase-6 { top: 620px; left: 320px; background-color: #673AB7; } /* Bottom-center */
90
- .phase-7 { top: 500px; left: 200px; background-color: #E91E63; } /* Bottom-left */
91
- .phase-8 { top: 350px; left: 180px; background-color: #607D8B; } /* Left */
92
- .phase-9 { top: 180px; left: 240px; background-color: #00BCD4; } /* Upper-left */
93
- .phase-10 { top: 100px; left: 300px; background-color: #FF9800; } /* Between Upper-left and Top */
94
-
95
  .phase:hover {
96
  transform: scale(1.1);
97
  background-color: #E9ECEF; /* Slightly lighter on hover */
@@ -120,4 +120,3 @@ st.markdown(
120
  """,
121
  unsafe_allow_html=True,
122
  )
123
-
 
54
  .circular-flowchart {
55
  position: relative;
56
  width: 1000px; /* Layout size */
57
+ height: 1000px; /* Equal height for a circular layout */
58
  margin: 0 auto;
59
  display: flex;
60
  justify-content: center;
 
64
  /* Styling for each phase (circle) */
65
  .phase {
66
  position: absolute;
67
+ width: 130px; /* Circle size */
68
+ height: 130px;
69
  background-color: #F8F9FA; /* Light background */
70
  color: #343A40; /* Dark text */
71
  border-radius: 50%;
 
80
  transition: transform 0.3s ease, background 0.3s ease;
81
  }
82
 
83
+ /* Positions adjusted for equal spacing and flow */
84
+ .phase-1 { top: 80px; left: 450px; background-color: #4CAF50; } /* Top */
85
+ .phase-2 { top: 180px; left: 640px; background-color: #03A9F4; } /* Top-right */
86
+ .phase-3 { top: 350px; left: 760px; background-color: #FFC107; } /* Mid-right */
87
+ .phase-4 { top: 550px; left: 700px; background-color: #FF7043; } /* Lower-right */
88
+ .phase-5 { top: 720px; left: 500px; background-color: #8BC34A; } /* Bottom */
89
+ .phase-6 { top: 550px; left: 300px; background-color: #673AB7; } /* Lower-left */
90
+ .phase-7 { top: 350px; left: 200px; background-color: #E91E63; } /* Mid-left */
91
+ .phase-8 { top: 180px; left: 270px; background-color: #607D8B; } /* Top-left */
92
+ .phase-9 { top: 120px; left: 350px; background-color: #00BCD4; } /* Between Top-left and Top */
93
+ .phase-10 { top: 120px; left: 550px; background-color: #FF9800; } /* Between Top and Top-right */
94
+
95
  .phase:hover {
96
  transform: scale(1.1);
97
  background-color: #E9ECEF; /* Slightly lighter on hover */
 
120
  """,
121
  unsafe_allow_html=True,
122
  )