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

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +37 -69
style.css CHANGED
@@ -1,94 +1,62 @@
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
  }
 
1
+ /* 1. تنسيقات الحاوية الرئيسية */
2
+ .gradio-container {
3
+ background: #f9fafb !important;
4
+ font-family: "Noto Sans Arabic", sans-serif !important;
5
+ }
6
 
7
+ /* 2. تنسيقات البلوكات */
8
  .block.svelte-11xb1hd {
 
 
 
9
  background: #ffffff !important;
10
+ border: 1px solid #e5e7eb !important;
11
  border-radius: 20px !important;
12
+ padding: 1rem !important;
13
+ margin-bottom: 1rem !important;
14
  }
15
 
16
+ /* 3. تنسيق العناوين والنصوص */
17
  span.svelte-1gfkn6j {
 
 
 
 
 
 
 
18
  color: #5046e5 !important;
 
19
  font-size: 15px !important;
20
+ font-weight: bold !important;
21
  text-align: center !important;
22
+ display: block !important;
23
+ margin-bottom: 0.5rem !important;
24
  }
25
 
26
+ /* 4. تنسيق حقول الإدخال */
27
+ textarea.svelte-173056l,
28
+ input.svelte-173056l {
 
 
 
 
 
29
  background: #ffffff !important;
30
+ border: 1px solid #e5e7eb !important;
31
+ border-radius: 12px !important;
32
+ padding: 1rem !important;
33
+ width: 100% !important;
34
  direction: rtl !important;
 
35
  }
36
 
37
+ /* 5. تنسيق السلايدر */
38
+ input[type="range"] {
39
+ accent-color: #5046e5 !important;
 
 
40
  }
41
 
42
+ /* 6. تنسيق الأرقام */
43
+ input[type="number"].svelte-10lj3xl {
44
+ background: #28ae66 !important;
45
+ color: white !important;
 
 
 
 
46
  border-radius: 10px !important;
47
+ font-weight: bold !important;
48
+ text-align: center !important;
49
  }
50
 
51
+ /* 7. تنسيق الأزرار */
52
+ button.svelte-1137axg {
 
 
 
 
 
 
53
  background: #5046e5 !important;
54
+ color: white !important;
55
+ border-radius: 8px !important;
56
+ padding: 0.75rem 1.5rem !important;
57
+ font-weight: bold !important;
 
 
 
 
 
 
 
 
 
 
 
58
  }
59
 
60
+ button.secondary {
61
+ background: #6b7280 !important;
 
62
  }