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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +32 -19
app.py CHANGED
@@ -100,36 +100,49 @@ with gr.Blocks(css='''
100
  width: 100%;
101
  }
102
  .custom-input {
103
- background: white; /* 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
-
112
  .custom-input:focus {
113
- border-color: #F0E68C; /* Highlight color when the input is focused */
114
- box-shadow: 0 0 8px rgba(240, 230, 140, 0.8); /* Glow effect on focus */
115
  }
116
 
117
  .custom-checkbox-group {
118
- background: white;
119
- padding: 10px;
120
- border: 2px solid #ddd;
121
- border-radius: 5px;
122
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
123
  }
124
 
125
  .custom-checkbox-group input[type="checkbox"] + label {
126
- margin-right: 10px; /* Space between checkboxes */
127
- cursor: pointer; /* Mouse pointer changes to indicate clickable area */
128
  }
129
 
130
  .custom-checkbox-group input[type="checkbox"]:checked + label {
131
- color: #FF6347; /* Text color when checkbox is checked */
132
- font-weight: bold;
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);