methodya commited on
Commit
584c3bc
·
verified ·
1 Parent(s): 5419f5c

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +92 -115
style.css CHANGED
@@ -1,117 +1,94 @@
1
  @import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@400;700&display=swap");
2
 
3
- body {
4
- font-family: "Noto Sans Arabic", sans-serif;
5
- background-color: #f9fafb;
6
- color: #333333;
7
- }
8
-
9
- .container {
10
- margin: 0 auto;
11
- padding: 1rem;
12
- max-width: 768px;
13
- }
14
-
15
- h1 {
16
- font-size: 1.875rem;
17
- font-weight: bold;
18
- text-align: center;
19
- margin-bottom: 1.5rem;
20
- }
21
-
22
- button {
23
- background-color: #4f46e5;
24
- color: #ffffff;
25
- padding: 0.75rem 1rem;
26
- border: none;
27
- border-radius: 8px;
28
- cursor: pointer;
29
- transition: background-color 0.3s ease;
30
- font-weight: bold;
31
- }
32
-
33
- button:hover {
34
- background-color: #4338ca;
35
- }
36
-
37
- button:disabled {
38
- background-color: #a5b4fc;
39
- cursor: not-allowed;
40
- }
41
-
42
- textarea,
43
- input[type="range"] {
44
- width: 100%;
45
- padding: 0.75rem;
46
- border: 1px solid #d1d5db;
47
- border-radius: 6px;
48
- margin-top: 0.5rem;
49
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
50
- transition: border-color 0.3s ease, box-shadow 0.3s ease;
51
- }
52
-
53
- textarea:focus,
54
- input[type="range"]:focus {
55
- outline: none;
56
- border-color: #6366f1;
57
- box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
58
- }
59
-
60
- .bg-gray-50 {
61
- background-color: #f9fafb;
62
- border-radius: 8px;
63
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
64
- }
65
-
66
- label {
67
- font-weight: bold;
68
- color: #333333;
69
- }
70
-
71
- span.text-sm {
72
- font-size: 0.875rem;
73
- color: #6b7280;
74
- }
75
-
76
- .border {
77
- border: 1px solid #e5e7eb;
78
- border-radius: 8px;
79
- background-color: #ffffff;
80
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
81
- }
82
-
83
- h2 {
84
- font-size: 1.25rem;
85
- font-weight: bold;
86
- color: #333333;
87
- }
88
-
89
- p.leading-relaxed {
90
- line-height: 1.75;
91
- color: #4b5563;
92
- }
93
-
94
- /* معالجة المناطق السوداء والراوندس */
95
- .gradio-container {
96
- background: #f9fafb !important;
97
- color: #333333 !important;
98
- }
99
-
100
- .dark {
101
- background: #f9fafb !important;
102
- color: #333333 !important;
103
- }
104
-
105
- .gr-box {
106
- background: #ffffff !important;
107
- border-radius: 12px !important;
108
- }
109
-
110
- .gr-form, .gr-panel {
111
- background: #ffffff !important;
112
- border-radius: 12px !important;
113
- }
114
-
115
- .gr-input-label {
116
- color: #333333 !important;
117
- }
 
1
  @import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@400;700&display=swap");
2
 
3
+ /* الستايل السابق يبقى كما هو ... */
4
+
5
+ /* الإضافات الجديدة */
6
+ .block.svelte-11xb1hd {
7
+ position: relative !important;
8
+ margin: 0 !important;
9
+ border-color: var(--block-border-color) !important;
10
+ background: #ffffff !important;
11
+ line-height: var(--line-sm) !important;
12
+ border-radius: 20px !important;
13
+ }
14
+
15
+ span.svelte-1gfkn6j {
16
+ display: inline-block !important;
17
+ position: relative !important;
18
+ z-index: var(--layer-4) !important;
19
+ border: solid 2px #5046e5 !important;
20
+ border-radius: 8px !important;
21
+ background: transparent !important;
22
+ padding: 8px !important;
23
+ color: #5046e5 !important;
24
+ font-weight: bold !important;
25
+ font-size: 15px !important;
26
+ line-height: var(--line-sm) !important;
27
+ text-align: center !important;
28
+ }
29
+
30
+ input.svelte-173056l.svelte-173056l, textarea.svelte-173056l.svelte-173056l {
31
+ flex-grow: 1 !important;
32
+ margin-bottom: 0px !important;
33
+ resize: none !important;
34
+ z-index: 1 !important;
35
+ display: block !important;
36
+ position: relative !important;
37
+ outline: none !important;
38
+ background: #ffffff !important;
39
+ color: #14144b !important;
40
+ font-weight: var(--input-text-weight) !important;
41
+ font-size: 16px !important;
42
+ line-height: var(--line-sm) !important;
43
+ direction: rtl !important;
44
+ text-align: justify !important;
45
+ }
46
+
47
+ .gradio-container.gradio-container-5-9-0 .contain h1 {
48
+ font-size: 1.875rem !important;
49
+ font-weight: bold !important;
50
+ text-align: center !important;
51
+ color: #5046e5 !important;
52
+ }
53
+
54
+ input[type="number"].svelte-10lj3xl.svelte-10lj3xl {
55
+ display: block !important;
56
+ outline: none !important;
57
+ background: #33ac72 !important;
58
+ color: var(--body-text-color) !important;
59
+ line-height: var(--line-sm) !important;
60
+ text-align: center !important;
61
+ transition: border-color 0.15s ease-in-out !important;
62
+ border-radius: 10px !important;
63
+ }
64
+
65
+ .wrap.svelte-ls20lj.svelte-ls20lj {
66
+ display: flex !important;
67
+ flex-direction: column !important;
68
+ justify-content: center !important;
69
+ align-items: center !important;
70
+ z-index: var(--layer-2) !important;
71
+ transition: opacity 0.1s ease-in-out !important;
72
+ border-radius: var(--block-radius) !important;
73
+ background: #5046e5 !important;
74
+ max-height: var(--size-screen-h) !important;
75
+ overflow: hidden !important;
76
+ }
77
+
78
+ .eta-bar.svelte-ls20lj.svelte-ls20lj {
79
+ position: absolute !important;
80
+ top: 0 !important;
81
+ right: 0 !important;
82
+ bottom: 0 !important;
83
+ left: 0 !important;
84
+ transform-origin: left !important;
85
+ opacity: 0.8 !important;
86
+ z-index: var(--layer-1) !important;
87
+ transition: 10ms !important;
88
+ background: #2eb98a !important;
89
+ }
90
+
91
+ .dark .gradio-container.gradio-container-5-9-0 .contain {
92
+ background: transparent !important;
93
+ color: #ffffff !important;
94
+ }