JeCabrera commited on
Commit
cf4ec67
·
verified ·
1 Parent(s): 9a8f600

Update styles.py

Browse files
Files changed (1) hide show
  1. styles.py +17 -4
styles.py CHANGED
@@ -82,15 +82,28 @@ def get_custom_css():
82
  border-radius: 5px;
83
  }
84
 
85
- /* Add border to the model response area */
86
- [data-testid="column"][data-column-index="1"] > div {
87
- border: 1px solid #3D89B8;
88
  border-radius: 8px;
89
  padding: 15px;
90
- margin-top: 10px;
91
  box-shadow: 0 2px 5px rgba(61, 137, 184, 0.1);
92
  }
93
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  /* Style for file uploader */
95
  .stFileUploader > div {
96
  border: 1px dashed #3D89B8;
 
82
  border-radius: 5px;
83
  }
84
 
85
+ /* Fixed styling for model response area */
86
+ .element-container:has(h1:contains("Oferta Generada")) ~ div {
87
+ border: 2px solid #3D89B8;
88
  border-radius: 8px;
89
  padding: 15px;
90
+ margin: 10px 0;
91
  box-shadow: 0 2px 5px rgba(61, 137, 184, 0.1);
92
  }
93
 
94
+ /* Alternative selector for response area */
95
+ .row-widget.stDownloadButton {
96
+ margin-top: 15px;
97
+ margin-bottom: 15px;
98
+ }
99
+
100
+ /* Make sure the heading stands out */
101
+ h3:contains("Oferta Generada") {
102
+ padding-bottom: 10px;
103
+ border-bottom: 1px solid #3D89B8;
104
+ margin-bottom: 15px;
105
+ }
106
+
107
  /* Style for file uploader */
108
  .stFileUploader > div {
109
  border: 1px dashed #3D89B8;