plozia commited on
Commit
5bdb76d
·
verified ·
1 Parent(s): 742f5dc

Update fancy.css

Browse files
Files changed (1) hide show
  1. fancy.css +67 -65
fancy.css CHANGED
@@ -1,110 +1,112 @@
 
1
  body, .gradio-container {
2
- background: #201335 !important;
3
- color: #f9e6ff !important;
4
- font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif !important;
5
  }
 
6
  /* Header */
7
  #header, h1, .gradio-container h1 {
8
- color: #ff4ba8 !important;
9
- text-shadow: 0 2px 16px #6c47ff33, 0 2px 8px #ff4ba888;
10
  letter-spacing: 2px;
11
  font-size: 2.2rem !important;
12
  font-weight: 900 !important;
13
  }
14
- /* Cards */
 
 
 
 
 
 
 
 
 
15
  .gr-block, .gr-box, .gradio-container .gr-panel, .gradio-container .gr-form {
16
- background: rgba(38, 24, 62, 0.72) !important;
17
- border-radius: 2.2em !important;
18
- box-shadow: 0 8px 40px 0 #ff4ba833, 0 2px 24px 0 #6c47ff33;
19
- border: 2px solid #4f005b55 !important;
20
- padding: 1.2em 1.4em !important;
21
- backdrop-filter: blur(7px);
22
- transition:
23
- transform 0.18s cubic-bezier(.33,1.26,.7,1),
24
- box-shadow 0.18s cubic-bezier(.33,1.26,.7,1);
25
  }
26
  .gr-block:hover, .gr-box:hover, .gradio-container .gr-panel:hover, .gradio-container .gr-form:hover {
27
- transform: translateY(-7px) scale(1.025) rotateZ(-0.2deg);
28
- box-shadow: 0 12px 64px 0 #ff4ba855, 0 2px 36px 0 #6c47ff77;
29
- border-color: #ff4ba8;
30
  }
 
31
  /* Inputs */
32
  .gr-file, .gr-textbox, .gradio-container .gr-input, .gradio-container input[type="text"] {
33
- background: #322045 !important;
34
- border: 2px solid #ff4ba855 !important;
35
- border-radius: 1.2em !important;
36
- color: #ffe4fa !important;
37
- transition: border 0.18s, box-shadow 0.18s;
38
- box-shadow: 0 2px 12px 0 #6c47ff22;
39
  }
40
  .gr-file:focus-within, .gr-textbox:focus-within, .gradio-container .gr-input:focus-within,
41
  .gradio-container input[type="text"]:focus {
42
- border: 2px solid #6c47ff !important;
43
- box-shadow: 0 0 0 3px #ff4ba833;
44
- background: #33224b !important;
45
- color: #ff9de2 !important;
46
  }
 
47
  /* Labels */
48
  .gradio-container label, .gradio-container .label, .gradio-container .gr-label {
49
- color: #ff4ba8 !important;
50
  font-weight: 700 !important;
51
- font-size: 1.05em !important;
52
  }
 
53
  /* Buttons */
54
  .gr-button, button, [data-testid="button"] {
55
- background: linear-gradient(93deg,#ff4ba8,#6c47ff 85%) !important;
56
- color: #fff !important;
57
  border: none !important;
58
- border-radius: 3em !important;
59
- font-size: 1.08em !important;
60
- padding: 0.72em 2.2em !important;
61
- font-weight: 900;
62
  letter-spacing: 1px;
63
- box-shadow: 0 2px 24px #ff4ba833, 0 2px 6px #fff1;
64
- transition:
65
- transform 0.15s cubic-bezier(.33,1.26,.7,1),
66
- box-shadow 0.15s cubic-bezier(.33,1.26,.7,1),
67
- background 0.17s;
68
  }
69
  .gr-button:hover, button:hover, [data-testid="button"]:hover {
70
- background: linear-gradient(98deg,#ff4ba8 30%,#6c47ff 98%) !important;
71
- transform: scale(1.045) translateY(-2px);
72
- box-shadow: 0 8px 36px #ff4ba866, 0 4px 12px #6c47ff66;
73
- filter: brightness(1.13) drop-shadow(0 0 7px #ff4ba8aa);
74
  }
75
- /* File input */
 
76
  input[type="file"]::file-selector-button {
77
- background: #ff4ba8 !important;
78
- color: #fff !important;
79
  border: none;
80
  border-radius: 1em;
81
- padding: 0.5em 1.3em;
82
- font-weight: 800;
83
  font-size: 1em;
84
- box-shadow: 0 1px 12px #6c47ff33;
85
  margin-right: 0.8em;
86
  transition: background 0.18s, transform 0.18s;
87
  }
88
  input[type="file"]::file-selector-button:hover {
89
- background: #6c47ff !important;
90
- transform: scale(1.08);
91
- box-shadow: 0 2px 16px #ff4ba899;
92
  }
 
93
  /* Download output */
94
  .gr-output label, .gradio-container .gr-label {
95
- color: #6c47ff !important;
96
  font-weight: 700 !important;
97
  }
 
98
  /* Error */
99
  .gradio-container .gr-textbox[aria-disabled="true"], .gradio-container .gr-textbox[readonly] {
100
- background: #331828 !important;
101
- color: #ff7baa !important;
102
- border: 2px solid #ff4ba8 !important;
103
- }
104
- /* Markdown */
105
- .markdown, .gr-markdown-content {
106
- color: #d1b3ff !important;
107
- font-size: 1.03em;
108
- border-radius: 1.2em !important;
109
- background: transparent !important;
110
  }
 
1
+ /* Main background & font */
2
  body, .gradio-container {
3
+ background: #f9f7fa !important;
4
+ color: #313146 !important;
5
+ font-family: 'Inter', 'Segoe UI', Arial, sans-serif !important;
6
  }
7
+
8
  /* Header */
9
  #header, h1, .gradio-container h1 {
10
+ color: #d72660 !important;
11
+ text-shadow: 0 2px 10px #f6abb6cc;
12
  letter-spacing: 2px;
13
  font-size: 2.2rem !important;
14
  font-weight: 900 !important;
15
  }
16
+
17
+ /* Markdown and info */
18
+ .markdown, .gr-markdown-content {
19
+ color: #7c6f9c !important;
20
+ background: none !important;
21
+ font-size: 1.05em;
22
+ border-radius: 1.2em !important;
23
+ }
24
+
25
+ /* "Card" style */
26
  .gr-block, .gr-box, .gradio-container .gr-panel, .gradio-container .gr-form {
27
+ background: #fff7fd !important;
28
+ border-radius: 1.5em !important;
29
+ box-shadow: 0 2px 12px #e1e0e988;
30
+ border: 1.5px solid #ebd8ed !important;
31
+ padding: 1em 1.3em !important;
32
+ transition: box-shadow 0.16s, transform 0.16s;
 
 
 
33
  }
34
  .gr-block:hover, .gr-box:hover, .gradio-container .gr-panel:hover, .gradio-container .gr-form:hover {
35
+ box-shadow: 0 8px 28px #e0c8efbb;
36
+ transform: translateY(-2px) scale(1.01);
 
37
  }
38
+
39
  /* Inputs */
40
  .gr-file, .gr-textbox, .gradio-container .gr-input, .gradio-container input[type="text"] {
41
+ background: #f4eaf7 !important;
42
+ border: 1.5px solid #b4aee8 !important;
43
+ border-radius: 1em !important;
44
+ color: #422046 !important;
45
+ transition: border 0.14s, box-shadow 0.14s;
 
46
  }
47
  .gr-file:focus-within, .gr-textbox:focus-within, .gradio-container .gr-input:focus-within,
48
  .gradio-container input[type="text"]:focus {
49
+ border: 1.5px solid #d72660 !important;
50
+ box-shadow: 0 0 0 3px #fad0c4aa;
51
+ background: #fff !important;
52
+ color: #d72660 !important;
53
  }
54
+
55
  /* Labels */
56
  .gradio-container label, .gradio-container .label, .gradio-container .gr-label {
57
+ color: #a365d6 !important;
58
  font-weight: 700 !important;
59
+ font-size: 1.08em !important;
60
  }
61
+
62
  /* Buttons */
63
  .gr-button, button, [data-testid="button"] {
64
+ background: linear-gradient(90deg,#fbb1f3,#b3cfff 90%) !important;
65
+ color: #36374b !important;
66
  border: none !important;
67
+ border-radius: 2em !important;
68
+ font-size: 1.1em !important;
69
+ padding: 0.7em 2.1em !important;
70
+ font-weight: 800;
71
  letter-spacing: 1px;
72
+ box-shadow: 0 2px 12px #ffd6e633;
73
+ transition: transform 0.14s, box-shadow 0.14s, background 0.14s;
 
 
 
74
  }
75
  .gr-button:hover, button:hover, [data-testid="button"]:hover {
76
+ background: linear-gradient(93deg,#b3cfff,#fbb1f3 90%) !important;
77
+ color: #d72660 !important;
78
+ transform: scale(1.04);
79
+ box-shadow: 0 5px 24px #d6c1ec66;
80
  }
81
+
82
+ /* File input button */
83
  input[type="file"]::file-selector-button {
84
+ background: #b3cfff !important;
85
+ color: #5d3865 !important;
86
  border: none;
87
  border-radius: 1em;
88
+ padding: 0.5em 1.1em;
89
+ font-weight: 700;
90
  font-size: 1em;
91
+ box-shadow: 0 1px 8px #e8c8f233;
92
  margin-right: 0.8em;
93
  transition: background 0.18s, transform 0.18s;
94
  }
95
  input[type="file"]::file-selector-button:hover {
96
+ background: #fbb1f3 !important;
97
+ color: #d72660 !important;
98
+ transform: scale(1.07);
99
  }
100
+
101
  /* Download output */
102
  .gr-output label, .gradio-container .gr-label {
103
+ color: #b589d6 !important;
104
  font-weight: 700 !important;
105
  }
106
+
107
  /* Error */
108
  .gradio-container .gr-textbox[aria-disabled="true"], .gradio-container .gr-textbox[readonly] {
109
+ background: #fde4e9 !important;
110
+ color: #d72660 !important;
111
+ border: 1.5px solid #fbb1f3 !important;
 
 
 
 
 
 
 
112
  }