plozia commited on
Commit
f8ea28e
·
verified ·
1 Parent(s): d994a63

Create fancy.css

Browse files
Files changed (1) hide show
  1. fancy.css +110 -0
fancy.css ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }