Spaces:
Sleeping
Sleeping
elibrowne
commited on
Commit
·
2307e61
1
Parent(s):
c0dea64
Collapsible?
Browse files
app.py
CHANGED
|
@@ -121,15 +121,26 @@ with gr.Blocks() as user_eval:
|
|
| 121 |
<style>
|
| 122 |
/* Style the button that is used to open and close the collapsible content */
|
| 123 |
.collapsible {
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 133 |
}
|
| 134 |
|
| 135 |
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
|
|
|
|
| 121 |
<style>
|
| 122 |
/* Style the button that is used to open and close the collapsible content */
|
| 123 |
.collapsible {
|
| 124 |
+
background-color: #eee;
|
| 125 |
+
color: #444;
|
| 126 |
+
cursor: pointer;
|
| 127 |
+
padding: 18px;
|
| 128 |
+
width: 100%;
|
| 129 |
+
border: none;
|
| 130 |
+
text-align: left;
|
| 131 |
+
outline: none;
|
| 132 |
+
font-size: 15px;
|
| 133 |
+
}
|
| 134 |
+
.collapsible:after {
|
| 135 |
+
content: '\02795'; /* Unicode character for "plus" sign (+) */
|
| 136 |
+
font-size: 13px;
|
| 137 |
+
color: white;
|
| 138 |
+
float: right;
|
| 139 |
+
margin-left: 5px;
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
.active:after {
|
| 143 |
+
content: "\2796"; /* Unicode character for "minus" sign (-) */
|
| 144 |
}
|
| 145 |
|
| 146 |
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
|