sirochild commited on
Commit
acd8b47
·
verified ·
1 Parent(s): 638aabd
Files changed (1) hide show
  1. style.css +15 -14
style.css CHANGED
@@ -1,5 +1,5 @@
1
  /* GradioのUI全体をラップするコンテナを指定 */
2
- body #main_container {
3
  transition: background-image 1s ease-in-out;
4
  background-image: var(--background-image, url('https://i.ibb.co/XzP6K2Y/room-day.png')) !important;
5
  background-size: cover !important;
@@ -7,34 +7,35 @@ body #main_container {
7
  }
8
 
9
  /* 各テーマの定義 */
10
- body #main_container.theme-default {
11
  --background-image: url('https://i.ibb.co/XzP6K2Y/room-day.png');
12
  }
13
- body #main_container.theme-room_night {
14
  --background-image: url('https://i.ibb.co/d5m821p/room-night.png');
15
  }
16
- body #main_container.theme-beach_sunset {
17
  --background-image: url('https://i.ibb.co/Q9r56s4/beach-sunset.png');
18
  }
19
- body #main_container.theme-festival_night {
20
  --background-image: url('https://i.ibb.co/3zdJ6Bw/festival-night.png');
21
  }
22
- body #main_container.theme-shrine_day {
23
  --background-image: url('https://i.ibb.co/L51Jd3x/shrine-day.png');
24
  }
25
- body #main_container.theme-cafe_afternoon {
26
  --background-image: url('https://i.ibb.co/yQxG4vs/cafe-afternoon.png');
27
  }
28
- body #main_container.theme-aquarium_night {
29
- --background-image: url('https://i.ibb.co/dK5r5rc/aquarium-night.png');
30
  }
31
 
32
  /* チャットウィンドウなどのスタイル */
33
- #main_container .gradio-chatbot .chatbot {
34
  background-color: rgba(255, 255, 255, 0.7) !important;
35
  backdrop-filter: blur(5px);
36
  }
37
- #main_container .gradio-textbox, #main_container .gradio-slider {
38
- background-color: rgba(255, 255, 255, 0.85) !important;
39
- border-radius: 10px !important;
40
- }
 
 
1
  /* GradioのUI全体をラップするコンテナを指定 */
2
+ body .gradio-container {
3
  transition: background-image 1s ease-in-out;
4
  background-image: var(--background-image, url('https://i.ibb.co/XzP6K2Y/room-day.png')) !important;
5
  background-size: cover !important;
 
7
  }
8
 
9
  /* 各テーマの定義 */
10
+ body.theme-default .gradio-container {
11
  --background-image: url('https://i.ibb.co/XzP6K2Y/room-day.png');
12
  }
13
+ body.theme-room_night .gradio-container {
14
  --background-image: url('https://i.ibb.co/d5m821p/room-night.png');
15
  }
16
+ body.theme-beach_sunset .gradio-container {
17
  --background-image: url('https://i.ibb.co/Q9r56s4/beach-sunset.png');
18
  }
19
+ body.theme-festival_night .gradio-container {
20
  --background-image: url('https://i.ibb.co/3zdJ6Bw/festival-night.png');
21
  }
22
+ body.theme-shrine_day .gradio-container {
23
  --background-image: url('https://i.ibb.co/L51Jd3x/shrine-day.png');
24
  }
25
+ body.theme-cafe_afternoon .gradio-container {
26
  --background-image: url('https://i.ibb.co/yQxG4vs/cafe-afternoon.png');
27
  }
28
+ body.theme-aquarium_night .gradio-container {
29
+ --background-image: url('https://i.ibb.co/dK5r5rc/aquarium-night.png');
30
  }
31
 
32
  /* チャットウィンドウなどのスタイル */
33
+ .gradio-container .gr-chatbot .wrap {
34
  background-color: rgba(255, 255, 255, 0.7) !important;
35
  backdrop-filter: blur(5px);
36
  }
37
+ .gradio-container .gr-textbox,
38
+ .gradio-container .gr-slider {
39
+ background-color: rgba(255, 255, 255, 0.85) !important;
40
+ border-radius: 10px !important;
41
+ }