joao-vectara commited on
Commit
502788e
·
verified ·
1 Parent(s): 5fcaff8

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +9 -9
style.css CHANGED
@@ -1,6 +1,6 @@
1
  /* 1) Overall page background and removal of Streamlit header */
2
  [data-testid="stAppViewContainer"] {
3
- background-color: #0E1117; /* Dark background similar to screenshot */
4
  }
5
 
6
  [data-testid="stHeader"] {
@@ -25,7 +25,7 @@ h1 {
25
 
26
  /* The background box behind the icon */
27
  .icon-box {
28
- background-color: #FFD24C; /* Similar to the gold/yellow in screenshot */
29
  width: 40px;
30
  height: 40px;
31
  border-radius: 8px;
@@ -38,37 +38,37 @@ h1 {
38
 
39
  /* The text “How may I help you?” */
40
  .icon-text {
41
- color: #FFFFFF;
42
  font-size: 1.1rem;
43
  margin: 0;
44
  }
45
 
46
  /* 4) Subheading for “Add additional files here” */
47
  h4 {
48
- color: #FFFFFF;
49
  font-weight: 400;
50
  margin-bottom: 0.5rem;
51
  }
52
 
53
  /* 5) Streamlit file uploader styling */
54
  [data-testid="stFileUploader"] {
55
- background-color: #2E2E38; /* Dark gray box background */
56
- border: 1px solid #444; /* Subtle border */
57
  border-radius: 8px;
58
  padding: 1.2rem;
59
- color: #FFFFFF;
60
  }
61
 
62
  /* Uploader label text (the main “Drag and drop file here”) */
63
  [data-testid="stFileUploader"] label {
64
- color: #FFFFFF;
65
  font-size: 1rem;
66
  font-weight: 500;
67
  }
68
 
69
  /* The subtext (the smaller “Limit 200MB per file”) */
70
  [data-testid="stFileUploader"] .css-1f42894 {
71
- color: #B4B4B4; /* Lighter gray for subtext */
72
  font-size: 0.9rem;
73
  margin-top: 0.4rem;
74
  }
 
1
  /* 1) Overall page background and removal of Streamlit header */
2
  [data-testid="stAppViewContainer"] {
3
+ background-color: #FFFFFF; /* White background */
4
  }
5
 
6
  [data-testid="stHeader"] {
 
25
 
26
  /* The background box behind the icon */
27
  .icon-box {
28
+ background-color: #FFD24C; /* Gold/yellow */
29
  width: 40px;
30
  height: 40px;
31
  border-radius: 8px;
 
38
 
39
  /* The text “How may I help you?” */
40
  .icon-text {
41
+ color: #000000; /* Black text for better contrast on white background */
42
  font-size: 1.1rem;
43
  margin: 0;
44
  }
45
 
46
  /* 4) Subheading for “Add additional files here” */
47
  h4 {
48
+ color: #000000; /* Black text for better contrast */
49
  font-weight: 400;
50
  margin-bottom: 0.5rem;
51
  }
52
 
53
  /* 5) Streamlit file uploader styling */
54
  [data-testid="stFileUploader"] {
55
+ background-color: #F5F5F5; /* Light gray for subtle contrast */
56
+ border: 1px solid #CCCCCC; /* Light border */
57
  border-radius: 8px;
58
  padding: 1.2rem;
59
+ color: #000000;
60
  }
61
 
62
  /* Uploader label text (the main “Drag and drop file here”) */
63
  [data-testid="stFileUploader"] label {
64
+ color: #000000;
65
  font-size: 1rem;
66
  font-weight: 500;
67
  }
68
 
69
  /* The subtext (the smaller “Limit 200MB per file”) */
70
  [data-testid="stFileUploader"] .css-1f42894 {
71
+ color: #666666; /* Medium gray for subtext */
72
  font-size: 0.9rem;
73
  margin-top: 0.4rem;
74
  }