tywei08 commited on
Commit
d31805d
·
verified ·
1 Parent(s): 761b71a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -26
app.py CHANGED
@@ -100,46 +100,29 @@ with gr.Blocks(css='''
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;
 
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;