Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -100,46 +100,29 @@ with gr.Blocks(css='''
|
|
100 |
width: 100%;
|
101 |
}
|
102 |
.custom-input {
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
box-sizing: border-box;
|
112 |
-
width: 100%;
|
113 |
-
padding: 20px 16px 6px;
|
114 |
-
transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
115 |
-
border: none;
|
116 |
-
border-bottom: 1px solid;
|
117 |
-
border-radius: 4px 4px 0 0;
|
118 |
-
background: rgb(245, 245, 245);
|
119 |
-
height: 56px;
|
120 |
-
}
|
121 |
-
.custom-input:hover {
|
122 |
-
border-bottom-color: rgba(0,0,0,.87);
|
123 |
-
background: #ececec;
|
124 |
-
}
|
125 |
.custom-input:focus {
|
126 |
border-color: #F0E68C; /* Highlight color when the input is focused */
|
127 |
box-shadow: 0 0 8px rgba(240, 230, 140, 0.8); /* Glow effect on focus */
|
128 |
}
|
129 |
-
|
130 |
.custom-checkbox-group {
|
131 |
-
background:
|
132 |
padding: 10px;
|
133 |
border: 2px solid #ddd;
|
134 |
border-radius: 5px;
|
135 |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
136 |
}
|
137 |
-
|
138 |
.custom-checkbox-group input[type="checkbox"] + label {
|
139 |
margin-right: 10px; /* Space between checkboxes */
|
140 |
cursor: pointer; /* Mouse pointer changes to indicate clickable area */
|
141 |
}
|
142 |
-
|
143 |
.custom-checkbox-group input[type="checkbox"]:checked + label {
|
144 |
color: #FF6347; /* Text color when checkbox is checked */
|
145 |
font-weight: bold;
|
|
|
100 |
width: 100%;
|
101 |
}
|
102 |
.custom-input {
|
103 |
+
background: yellow; /* Or any color you'd like */
|
104 |
+
color: #333; /* Text color */
|
105 |
+
padding: 10px; /* Padding inside the input */
|
106 |
+
border: 2px solid #ddd; /* Border color */
|
107 |
+
border-radius: 5px; /* Rounded corners */
|
108 |
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
|
109 |
+
transition: all 0.3s ease; /* Smooth transition for interactions */
|
110 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
.custom-input:focus {
|
112 |
border-color: #F0E68C; /* Highlight color when the input is focused */
|
113 |
box-shadow: 0 0 8px rgba(240, 230, 140, 0.8); /* Glow effect on focus */
|
114 |
}
|
|
|
115 |
.custom-checkbox-group {
|
116 |
+
background: yellow;
|
117 |
padding: 10px;
|
118 |
border: 2px solid #ddd;
|
119 |
border-radius: 5px;
|
120 |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
121 |
}
|
|
|
122 |
.custom-checkbox-group input[type="checkbox"] + label {
|
123 |
margin-right: 10px; /* Space between checkboxes */
|
124 |
cursor: pointer; /* Mouse pointer changes to indicate clickable area */
|
125 |
}
|
|
|
126 |
.custom-checkbox-group input[type="checkbox"]:checked + label {
|
127 |
color: #FF6347; /* Text color when checkbox is checked */
|
128 |
font-weight: bold;
|