cwhuh commited on
Commit
d1ddaf9
Β·
1 Parent(s): a3f8465

chore : update color

Browse files
Files changed (1) hide show
  1. app.py +18 -9
app.py CHANGED
@@ -107,15 +107,18 @@ input[type="checkbox"]:checked {
107
  border-color: rgb(200, 1, 80) !important;
108
  }
109
 
110
- /* ν”„λ‘¬ν”„νŠΈ μž…λ ₯ λ°•μŠ€ ν…Œλ‘λ¦¬ 색상 */
111
- .input-box, .output-box {
 
 
 
112
  border-color: rgb(200, 1, 80) !important;
113
- border-width: 2px !important;
114
  }
115
 
116
- .input-box:focus-within {
117
- border-color: rgb(200, 1, 80) !important;
118
- box-shadow: 0 0 0 3px rgba(200, 1, 80, 0.2) !important;
119
  }
120
 
121
  /* λ ˆμ΄λΈ” 색상 */
@@ -124,7 +127,7 @@ label span {
124
  }
125
 
126
  /* Examples 헀더 색상 */
127
- h3 {
128
  color: rgb(200, 1, 80) !important;
129
  }
130
 
@@ -155,6 +158,11 @@ input[type="range"]::-webkit-slider-thumb {
155
  input[type="range"]::-moz-range-thumb {
156
  background: rgb(200, 1, 80) !important;
157
  }
 
 
 
 
 
158
  """
159
 
160
  with gr.Blocks(css=css, theme="soft") as demo:
@@ -237,7 +245,8 @@ with gr.Blocks(css=css, theme="soft") as demo:
237
  value=28,
238
  )
239
 
240
- gr.Markdown("### μ˜ˆμ‹œ ν”„λ‘¬ν”„νŠΈ")
 
241
  gr.Examples(
242
  examples = examples,
243
  fn = infer,
@@ -248,7 +257,7 @@ with gr.Blocks(css=css, theme="soft") as demo:
248
 
249
  gr.HTML("""
250
  <div class="footer">
251
- PONIX Generator by <span class="postech-red">ν—ˆμ² μ›</span> | <span class="postech-red">POSTECH</span>
252
  </div>
253
  """)
254
 
 
107
  border-color: rgb(200, 1, 80) !important;
108
  }
109
 
110
+ /* ν”„λ‘¬ν”„νŠΈ μž…λ ₯ λ°•μŠ€μ™€ 이미지 λ°•μŠ€ 배경색 λ³€κ²½ */
111
+ .gradio-container .prose input[type="text"],
112
+ .gradio-container .input-box,
113
+ .gradio-container .output-box {
114
+ background-color: rgb(200, 1, 80) !important;
115
  border-color: rgb(200, 1, 80) !important;
116
+ color: white !important;
117
  }
118
 
119
+ /* ν”Œλ ˆμ΄μŠ€ν™€λ” ν…μŠ€νŠΈ 색상 */
120
+ .gradio-container input::placeholder {
121
+ color: rgba(255, 255, 255, 0.7) !important;
122
  }
123
 
124
  /* λ ˆμ΄λΈ” 색상 */
 
127
  }
128
 
129
  /* Examples 헀더 색상 */
130
+ h3, .examples-header {
131
  color: rgb(200, 1, 80) !important;
132
  }
133
 
 
158
  input[type="range"]::-moz-range-thumb {
159
  background: rgb(200, 1, 80) !important;
160
  }
161
+
162
+ /* Examples ν…μŠ€νŠΈ 색상 κ°•μ œ 적용 */
163
+ .examples-header h3 {
164
+ color: rgb(200, 1, 80) !important;
165
+ }
166
  """
167
 
168
  with gr.Blocks(css=css, theme="soft") as demo:
 
245
  value=28,
246
  )
247
 
248
+ # Examples 헀더에 클래슀 μΆ”κ°€
249
+ gr.Markdown("<div class='examples-header'><h3>μ˜ˆμ‹œ ν”„λ‘¬ν”„νŠΈ</h3></div>", elem_classes=["examples-header"])
250
  gr.Examples(
251
  examples = examples,
252
  fn = infer,
 
257
 
258
  gr.HTML("""
259
  <div class="footer">
260
+ PONIX Generator by ν—ˆμ±„μ› | UG @ POSTECH
261
  </div>
262
  """)
263