feat(fusion_accounting_reports): SCSS foundation for OWL reports widget
Made-with: Cursor
This commit is contained in:
34
fusion_accounting_reports/static/src/scss/dark_mode.scss
Normal file
34
fusion_accounting_reports/static/src/scss/dark_mode.scss
Normal file
@@ -0,0 +1,34 @@
|
||||
@import "variables";
|
||||
|
||||
[data-color-scheme="dark"] .o_fusion_reports {
|
||||
background: #1f2937;
|
||||
color: #f9fafb;
|
||||
|
||||
&_header, &_table, &_filters, .o_fusion_commentary_panel {
|
||||
background: #111827;
|
||||
border-color: #374151;
|
||||
color: #f9fafb;
|
||||
}
|
||||
|
||||
&_table {
|
||||
th { background: #1f2937; color: #d1d5db; }
|
||||
td { border-color: #374151; }
|
||||
tr.subtotal { background: #1f2937; }
|
||||
tr.drillable:hover { background: #1e3a8a; }
|
||||
}
|
||||
|
||||
.btn_report {
|
||||
background: #374151;
|
||||
border-color: #4b5563;
|
||||
color: #f9fafb;
|
||||
|
||||
&:hover { background: #4b5563; }
|
||||
&.primary { background: #3b82f6; }
|
||||
}
|
||||
|
||||
.o_fusion_anomaly_strip {
|
||||
&[data-severity="high"] { background: rgba(239, 68, 68, 0.15); }
|
||||
&[data-severity="medium"] { background: rgba(245, 158, 11, 0.15); }
|
||||
&[data-severity="low"] { background: rgba(16, 185, 129, 0.15); }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user