LaOsaCoop/Odoo16#74 add pos_barcode_block_on_error
This commit is contained in:
parent
f4bc2ee66b
commit
a24b4392d6
4 changed files with 134 additions and 0 deletions
16
pos_barcode_block_on_error/static/src/css/error_popup.css
Normal file
16
pos_barcode_block_on_error/static/src/css/error_popup.css
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
/* Emphasize the error popup for unknown barcode */
|
||||
/* Make the whole popup background red and invert text for visibility */
|
||||
.popup.popup-barcode {
|
||||
background-color: #c62828 !important; /* strong red background */
|
||||
color: #fff !important; /* default text to white */
|
||||
}
|
||||
.popup.popup-barcode .title,
|
||||
.popup.popup-barcode .body {
|
||||
color: #fff !important;
|
||||
font-weight: 600;
|
||||
}
|
||||
.popup.popup-barcode .footer .button.cancel {
|
||||
background: #fff !important; /* white button on red bg */
|
||||
color: #c62828 !important; /* red text */
|
||||
border-color: #fff !important;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue