Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -38,14 +38,12 @@ def cloud_button(label, key=None, color=None):
|
|
38 |
<style>
|
39 |
.cloud {{
|
40 |
position: relative;
|
41 |
-
display: inline-
|
42 |
cursor: pointer;
|
43 |
user-select: none;
|
44 |
margin-right: 20px;
|
45 |
font-size: 16px;
|
46 |
-
|
47 |
-
.rectangle, .circle {{
|
48 |
-
background-color: #f8f9fa; /* Adjust the color as needed */
|
49 |
}}
|
50 |
.rectangle {{
|
51 |
min-width: 120px;
|
@@ -62,28 +60,32 @@ def cloud_button(label, key=None, color=None):
|
|
62 |
}}
|
63 |
.circle {{
|
64 |
position: absolute;
|
|
|
65 |
z-index: 1;
|
66 |
}}
|
67 |
.circle.small {{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
width: 60px;
|
69 |
height: 60px;
|
70 |
border-radius: 30px;
|
71 |
-
top:
|
72 |
-
left:
|
73 |
-
|
74 |
-
.circle.medium {{
|
75 |
-
width: 100px;
|
76 |
-
height: 100px;
|
77 |
-
border-radius: 50px;
|
78 |
-
top: 10px;
|
79 |
-
left: 10px;
|
80 |
}}
|
81 |
.circle.large {{
|
82 |
-
width:
|
83 |
-
height:
|
84 |
-
border-radius:
|
85 |
-
top:
|
86 |
-
left:
|
|
|
87 |
}}
|
88 |
|
89 |
.cloud:hover .rectangle {{
|
|
|
38 |
<style>
|
39 |
.cloud {{
|
40 |
position: relative;
|
41 |
+
display: inline-block;
|
42 |
cursor: pointer;
|
43 |
user-select: none;
|
44 |
margin-right: 20px;
|
45 |
font-size: 16px;
|
46 |
+
background-color: #f8f9fa; /* Match the background color of the circles */
|
|
|
|
|
47 |
}}
|
48 |
.rectangle {{
|
49 |
min-width: 120px;
|
|
|
60 |
}}
|
61 |
.circle {{
|
62 |
position: absolute;
|
63 |
+
background-color: #f8f9fa; /* Adjust the color as needed */
|
64 |
z-index: 1;
|
65 |
}}
|
66 |
.circle.small {{
|
67 |
+
width: 40px;
|
68 |
+
height: 40px;
|
69 |
+
border-radius: 20px;
|
70 |
+
top: 50%;
|
71 |
+
left: 10px;
|
72 |
+
transform: translateY(-50%);
|
73 |
+
}}
|
74 |
+
.circle.medium {{
|
75 |
width: 60px;
|
76 |
height: 60px;
|
77 |
border-radius: 30px;
|
78 |
+
top: 50%;
|
79 |
+
left: 30px;
|
80 |
+
transform: translateY(-50%);
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
}}
|
82 |
.circle.large {{
|
83 |
+
width: 80px;
|
84 |
+
height: 80px;
|
85 |
+
border-radius: 40px;
|
86 |
+
top: 50%;
|
87 |
+
left: 50px;
|
88 |
+
transform: translateY(-50%);
|
89 |
}}
|
90 |
|
91 |
.cloud:hover .rectangle {{
|