Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -100,36 +100,49 @@ with gr.Blocks(css='''
|
|
100 |
width: 100%;
|
101 |
}
|
102 |
.custom-input {
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
}
|
111 |
-
|
112 |
.custom-input:focus {
|
113 |
-
|
114 |
-
|
115 |
}
|
116 |
|
117 |
.custom-checkbox-group {
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
}
|
124 |
|
125 |
.custom-checkbox-group input[type="checkbox"] + label {
|
126 |
-
|
127 |
-
|
128 |
}
|
129 |
|
130 |
.custom-checkbox-group input[type="checkbox"]:checked + label {
|
131 |
-
|
132 |
-
|
133 |
}
|
134 |
.generate-button {
|
135 |
background: linear-gradient(to right, #F0E68C, #E0FFFF, #FF6347);
|
|
|
100 |
width: 100%;
|
101 |
}
|
102 |
.custom-input {
|
103 |
+
color: rgba(0,0,0,.87);
|
104 |
+
border-bottom-color: rgba(0,0,0,.42);
|
105 |
+
font-size: 1rem;
|
106 |
+
font-weight: 400;
|
107 |
+
letter-spacing: .009375em;
|
108 |
+
text-decoration: inherit;
|
109 |
+
text-transform: inherit;
|
110 |
+
align-self: flex-end;
|
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: white;
|
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;
|
146 |
}
|
147 |
.generate-button {
|
148 |
background: linear-gradient(to right, #F0E68C, #E0FFFF, #FF6347);
|