تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
5931 أدوات العرض

Hello all,

I'm able to use CSS to modify the modal window in my sale invoices view. But my CSS affects ALL the modal windows... I can't find an ID for only this modal. 



Actually, I use this CSS code. But it affects ALL the modal of the backend...

        .modal-content.openerp {

                margin-top: 200px;

                margin-right: 300px;

                width:800px;

                border: 2px solid #222222;

        }


How could I affect only this ONE modal window with my CSS?

Thanks to help

الصورة الرمزية
إهمال
أفضل إجابة


Hey @Pascal Tremblay,

You can simply add your class on your modal/wizard view like below,

Please find the code from Comment.



and then write scss/css on that specific class.
Your css will work only for that modal/wizard.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

الصورة الرمزية
إهمال

<form string="Sale Invoices" class="YOUR_CUSTOM_CLASS">

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 24
1818
1
يوليو 24
1825
1
ديسمبر 22
2612
2
مارس 18
19971
1
مارس 15
3964