rzanoli commited on
Commit
d71f75a
·
1 Parent(s): 396874f

refactor(css): streamline tab spacing and remove redundant rules

Browse files
Files changed (1) hide show
  1. src/display/css_html_js.py +30 -0
src/display/css_html_js.py CHANGED
@@ -173,6 +173,36 @@ custom_css = """
173
  display: none !important;
174
  }
175
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
176
  """
177
 
178
  get_window_url_params = """
 
173
  display: none !important;
174
  }
175
 
176
+
177
+ /* Contenitore tab */
178
+ div.tabs, .tab-nav {
179
+ padding: 0 !important;
180
+ margin: 0 !important;
181
+ display: flex !important;
182
+ flex-wrap: wrap !important;
183
+ gap: 0 !important;
184
+ }
185
+
186
+ /* Tutti i bottoni dei tab */
187
+ .tab-nav button, .tab-buttons button, div[class*="tab-nav"] > button {
188
+ margin: 0 !important;
189
+ padding: 2px 6px !important;
190
+ font-size: 16px !important;
191
+ line-height: 1 !important;
192
+ min-width: unset !important;
193
+ min-height: unset !important;
194
+ border-radius: 0 !important;
195
+ }
196
+
197
+ /* Tab separatori disabilitati */
198
+ .tab-nav button[disabled] {
199
+ padding: 2px 2px !important;
200
+ min-width: 10px !important;
201
+ opacity: 0.5;
202
+ pointer-events: none;
203
+ }
204
+
205
+
206
  """
207
 
208
  get_window_url_params = """