Rajan Sharma commited on
Commit
9998fe9
·
verified ·
1 Parent(s): 3d0c21e

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +15 -73
style.css CHANGED
@@ -1,75 +1,17 @@
1
  /* style.css - Professional Medical Aesthetic Theme */
2
-
3
- /* 1. Define the Color Palette */
4
  :root {
5
- --color-primary-blue: #007BFF; /* A calming, professional blue */
6
- --color-accent-teal: #17A2B8; /* A modern, clean teal for highlights */
7
- --color-background-white: #FFFFFF; /* Clean white background */
8
- --color-background-light-gray: #F8F9FA; /* A very light gray for subtle contrast */
9
- --color-text-dark: #212529; /* High-contrast, readable dark text */
10
- --color-text-light: #6C757D; /* Lighter text for secondary info */
11
- --color-border: #DEE2E6; /* Subtle borders for components */
12
- --font-primary: 'Inter', 'Helvetica Neue', sans-serif; /* Modern, clean sans-serif font */
13
- }
14
-
15
- /* 2. General Body and Layout Styling */
16
- body, #root {
17
- background-color: var(--color-background-light-gray);
18
- font-family: var(--font-primary);
19
- color: var(--color-text-dark);
20
- }
21
-
22
- /* 3. Dashboard Component Styling */
23
- .gradio-container {
24
- border-radius: 12px !important;
25
- box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
26
- background: var(--color-background-white) !important;
27
- }
28
-
29
- /* Make buttons match the theme */
30
- .gradio-button {
31
- background-color: var(--color-primary-blue) !important;
32
- color: white !important;
33
- border: none !important;
34
- border-radius: 8px !important;
35
- font-weight: 600 !important;
36
- transition: background-color 0.3s ease !important;
37
- }
38
- .gradio-button:hover {
39
- background-color: #0056b3 !important; /* Darker blue on hover */
40
- }
41
- .gradio-button.secondary {
42
- background-color: var(--color-accent-teal) !important;
43
- }
44
- .gradio-button.secondary:hover {
45
- background-color: #117a8b !important; /* Darker teal on hover */
46
- }
47
-
48
- /* Style the text boxes and chat */
49
- textarea, .gradio-chatbot {
50
- border: 1px solid var(--color-border) !important;
51
- border-radius: 8px !important;
52
- }
53
-
54
- /* Style the headings and titles for a professional look */
55
- h1, h2 {
56
- color: var(--color-primary-blue);
57
- font-weight: 700;
58
- }
59
-
60
- /* Style the tabs for the results area */
61
- .tab-nav button {
62
- background-color: var(--color-background-light-gray) !important;
63
- border-radius: 8px 8px 0 0 !important;
64
- border-bottom: 2px solid transparent !important;
65
- }
66
- .tab-nav button.selected {
67
- background-color: var(--color-background-white) !important;
68
- border-bottom: 2px solid var(--color-primary-blue) !important;
69
- }
70
-
71
- /* Generous spacing for a modern feel */
72
- .gradio-container .form {
73
- padding: 20px !important;
74
- gap: 20px !important;
75
- }
 
1
  /* style.css - Professional Medical Aesthetic Theme */
 
 
2
  :root {
3
+ --color-primary-blue: #007BFF; --color-accent-teal: #17A2B8; --color-background-white: #FFFFFF;
4
+ --color-background-light-gray: #F8F9FA; --color-text-dark: #212529; --color-text-light: #6C757D;
5
+ --color-border: #DEE2E6; --font-primary: 'Inter', 'Helvetica Neue', sans-serif;
6
+ }
7
+ body, #root { background-color: var(--color-background-light-gray); font-family: var(--font-primary); color: var(--color-text-dark); }
8
+ .gradio-container { border-radius: 12px !important; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important; background: var(--color-background-white) !important; }
9
+ .gradio-button { background-color: var(--color-primary-blue) !important; color: white !important; border: none !important; border-radius: 8px !important; font-weight: 600 !important; transition: background-color 0.3s ease !important; }
10
+ .gradio-button:hover { background-color: #0056b3 !important; }
11
+ .gradio-button.secondary { background-color: var(--color-accent-teal) !important; }
12
+ .gradio-button.secondary:hover { background-color: #117a8b !important; }
13
+ textarea, .gradio-chatbot { border: 1px solid var(--color-border) !important; border-radius: 8px !important; }
14
+ h1, h2 { color: var(--color-primary-blue); font-weight: 700; }
15
+ .tab-nav button { background-color: var(--color-background-light-gray) !important; border-radius: 8px 8px 0 0 !important; border-bottom: 2px solid transparent !important; }
16
+ .tab-nav button.selected { background-color: var(--color-background-white) !important; border-bottom: 2px solid var(--color-primary-blue) !important; }
17
+ .gradio-container .form { padding: 20px !important; gap: 20px !important; }