Kuberwastaken commited on
Commit
6a0dc28
·
1 Parent(s): 5c77929

Updated Main Theme Color

Browse files
gradio_app.py CHANGED
@@ -26,32 +26,32 @@ custom_css = """
26
  }
27
  .treat-title:hover {
28
  transform: translateY(-5px);
29
- box-shadow: 0 8px 16px rgba(79, 70, 229, 0.3);
30
  }
31
  .treat-title h1 {
32
  font-size: 5em;
33
- color: #4f46e5;
34
  margin-bottom: 10px;
35
  font-weight: bold;
36
  animation: fadeInText 1.5s ease-out;
37
  transition: color 0.3s ease;
38
  }
39
  .treat-title:hover h1 {
40
- color: #5749d3;
41
  }
42
  .treat-title p {
43
  font-size: 1.3em;
44
- color: #4f46e5;
45
  animation: fadeInText 1.5s ease-out 0.5s;
46
  }
47
  .highlight {
48
- color: #4f46e5;
49
  font-weight: bold;
50
  transition: color 0.3s ease, transform 0.3s ease;
51
  display: inline-block;
52
  }
53
  .highlight:hover {
54
- color: #5749d3;
55
  transform: scale(1.1);
56
  }
57
  .content-area, .results-area {
@@ -66,28 +66,28 @@ custom_css = """
66
  }
67
  .content-area:hover, .results-area:hover {
68
  transform: translateY(-3px);
69
- box-shadow: 0 8px 16px rgba(79, 70, 229, 0.2) !important;
70
  }
71
  .gradio-textbox textarea {
72
  background-color: #333 !important;
73
  color: #fff !important;
74
- border: 1px solid #444 !important;
75
  border-radius: 8px !important;
76
  padding: 12px !important;
77
  font-size: 1.1em !important;
78
  transition: all 0.3s ease;
79
  }
80
  .gradio-textbox textarea:hover {
81
- border-color: #4f46e5 !important;
82
- box-shadow: 0 0 10px rgba(79, 70, 229, 0.2) !important;
83
  }
84
  .gradio-textbox textarea:focus {
85
- border-color: #4f46e5 !important;
86
- box-shadow: 0 0 15px rgba(79, 70, 229, 0.3) !important;
87
  transform: translateY(-2px);
88
  }
89
  .gradio-button {
90
- background-color: #4f46e5 !important;
91
  color: white !important;
92
  border: none !important;
93
  border-radius: 25px !important;
@@ -112,8 +112,8 @@ custom_css = """
112
  }
113
  .gradio-button:hover {
114
  transform: scale(1.05) translateY(-2px);
115
- background-color: #5749d3 !important;
116
- box-shadow: 0 6px 15px rgba(79, 70, 229, 0.4);
117
  }
118
  .gradio-button:hover::before {
119
  width: 300px;
@@ -121,10 +121,17 @@ custom_css = """
121
  }
122
  .gradio-button:active {
123
  transform: scale(0.98) translateY(1px);
124
- background-color: #4b40bb !important;
 
 
 
 
 
 
 
125
  }
126
  label {
127
- color: #ccc !important;
128
  font-weight: 500 !important;
129
  margin-bottom: 10px !important;
130
  transition: color 0.3s ease;
@@ -150,7 +157,7 @@ label:hover {
150
  transform: translateY(-3px);
151
  }
152
  .footer p {
153
- color: #4f46e5;
154
  transition: all 0.3s ease;
155
  }
156
  .footer .heart {
@@ -162,13 +169,13 @@ label:hover {
162
  transform: scale(1.3);
163
  }
164
  .footer a {
165
- color: #4f46e5;
166
  text-decoration: none;
167
  position: relative;
168
  transition: all 0.3s ease;
169
  }
170
  .footer a:hover {
171
- color: #5749d3;
172
  }
173
  .footer a::after {
174
  content: '';
@@ -177,7 +184,7 @@ label:hover {
177
  height: 2px;
178
  bottom: -2px;
179
  left: 0;
180
- background-color: #5749d3;
181
  transition: width 0.3s ease;
182
  }
183
  .footer a:hover::after {
 
26
  }
27
  .treat-title:hover {
28
  transform: translateY(-5px);
29
+ box-shadow: 0 8px 16px rgba(106, 13, 173);
30
  }
31
  .treat-title h1 {
32
  font-size: 5em;
33
+ color: rgb(106, 13, 173);
34
  margin-bottom: 10px;
35
  font-weight: bold;
36
  animation: fadeInText 1.5s ease-out;
37
  transition: color 0.3s ease;
38
  }
39
  .treat-title:hover h1 {
40
+ color: rgb(106, 13, 173);
41
  }
42
  .treat-title p {
43
  font-size: 1.3em;
44
+ color: rgb(106, 13, 173);
45
  animation: fadeInText 1.5s ease-out 0.5s;
46
  }
47
  .highlight {
48
+ color: rgb(106, 13, 173);
49
  font-weight: bold;
50
  transition: color 0.3s ease, transform 0.3s ease;
51
  display: inline-block;
52
  }
53
  .highlight:hover {
54
+ color: rgb(106, 13, 173);
55
  transform: scale(1.1);
56
  }
57
  .content-area, .results-area {
 
66
  }
67
  .content-area:hover, .results-area:hover {
68
  transform: translateY(-3px);
69
+ box-shadow: 0 8px 16px rgb(106, 13, 173) !important;
70
  }
71
  .gradio-textbox textarea {
72
  background-color: #333 !important;
73
  color: #fff !important;
74
+ border: 1px solid rgb(106, 13, 173) !important;
75
  border-radius: 8px !important;
76
  padding: 12px !important;
77
  font-size: 1.1em !important;
78
  transition: all 0.3s ease;
79
  }
80
  .gradio-textbox textarea:hover {
81
+ border-color: rgb(106, 13, 173) !important;
82
+ box-shadow: 0 0 10px rgb(106, 13, 173) !important;
83
  }
84
  .gradio-textbox textarea:focus {
85
+ border-color: rgb(106, 13, 173) !important;
86
+ box-shadow: 0 0 15px rgb(106, 13, 173) !important;
87
  transform: translateY(-2px);
88
  }
89
  .gradio-button {
90
+ background-color: rgb(106, 13, 173) !important;
91
  color: white !important;
92
  border: none !important;
93
  border-radius: 25px !important;
 
112
  }
113
  .gradio-button:hover {
114
  transform: scale(1.05) translateY(-2px);
115
+ background-color: rgb(106, 13, 173) !important;
116
+ box-shadow: 0 6px 15px rgb(106, 13, 173);
117
  }
118
  .gradio-button:hover::before {
119
  width: 300px;
 
121
  }
122
  .gradio-button:active {
123
  transform: scale(0.98) translateY(1px);
124
+ background-color: rgb(106, 13, 173) !important;
125
+
126
+ /* Custom style for the Analyze Content button */
127
+ .gradio-button.primary {
128
+ background-color: rgb(106, 13, 173) !important;
129
+ border-color: rgb(106, 13, 173) !important;
130
+ }
131
+
132
  }
133
  label {
134
+ color: rgb(106, 13, 173) !important;
135
  font-weight: 500 !important;
136
  margin-bottom: 10px !important;
137
  transition: color 0.3s ease;
 
157
  transform: translateY(-3px);
158
  }
159
  .footer p {
160
+ color: rgb(106, 13, 173);
161
  transition: all 0.3s ease;
162
  }
163
  .footer .heart {
 
169
  transform: scale(1.3);
170
  }
171
  .footer a {
172
+ color: rgb(106, 13, 173);
173
  text-decoration: none;
174
  position: relative;
175
  transition: all 0.3s ease;
176
  }
177
  .footer a:hover {
178
+ color: rgb(106, 13, 173);
179
  }
180
  .footer a::after {
181
  content: '';
 
184
  height: 2px;
185
  bottom: -2px;
186
  left: 0;
187
+ background-color: rgb(106, 13, 173);
188
  transition: width 0.3s ease;
189
  }
190
  .footer a:hover::after {
model/__pycache__/analyzer.cpython-310.pyc ADDED
Binary file (9.35 kB). View file