Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -28,13 +28,15 @@ def cloud_button(label, key=None, color=None):
|
|
28 |
color_class = f"color-{color}" if color else ""
|
29 |
cloud_button_html = f"""
|
30 |
<div class="cloud {color_class}" id="{button_id}" style="margin-bottom: 20px;">
|
31 |
-
<div class="circle" style="width: 80px; height: 80px; left: -
|
|
|
32 |
<div class="circle" style="width: 60px; height: 60px; left: -30px;"></div>
|
33 |
-
<div class="circle" style="width:
|
34 |
<div class="rectangle">{label}</div>
|
35 |
-
<div class="circle" style="width:
|
36 |
<div class="circle" style="width: 60px; height: 60px; right: -30px;"></div>
|
37 |
-
<div class="circle" style="width:
|
|
|
38 |
</div>
|
39 |
<style>
|
40 |
.cloud {{
|
@@ -67,7 +69,7 @@ def cloud_button(label, key=None, color=None):
|
|
67 |
top: 50%;
|
68 |
transform: translateY(-50%);
|
69 |
}}
|
70 |
-
|
71 |
.cloud:hover .rectangle {{
|
72 |
background-color: #008CBA;
|
73 |
color: white;
|
|
|
28 |
color_class = f"color-{color}" if color else ""
|
29 |
cloud_button_html = f"""
|
30 |
<div class="cloud {color_class}" id="{button_id}" style="margin-bottom: 20px;">
|
31 |
+
<div class="circle" style="width: 80px; height: 80px; left: -60px;"></div>
|
32 |
+
<div class="circle" style="width: 70px; height: 70px; left: -45px;"></div>
|
33 |
<div class="circle" style="width: 60px; height: 60px; left: -30px;"></div>
|
34 |
+
<div class="circle" style="width: 50px; height: 50px; left: -15px;"></div>
|
35 |
<div class="rectangle">{label}</div>
|
36 |
+
<div class="circle" style="width: 50px; height: 50px; right: -15px;"></div>
|
37 |
<div class="circle" style="width: 60px; height: 60px; right: -30px;"></div>
|
38 |
+
<div class="circle" style="width: 70px; height: 70px; right: -45px;"></div>
|
39 |
+
<div class="circle" style="width: 80px; height: 80px; right: -60px;"></div>
|
40 |
</div>
|
41 |
<style>
|
42 |
.cloud {{
|
|
|
69 |
top: 50%;
|
70 |
transform: translateY(-50%);
|
71 |
}}
|
72 |
+
|
73 |
.cloud:hover .rectangle {{
|
74 |
background-color: #008CBA;
|
75 |
color: white;
|