Community mailing list archives

community@mail.odoo.com

Re: Survey Module : Manage survey CSS classes ?

by
j.zahid
- 11/10/2015 12:11:32
Hi Yassine

one way to bypass original css style is to write a new addon. with no python classes. In static folder create a new css file where you can put all the new styling rules and classes you need to apply. This simply will override original css classes. It's a dirty way to do things,  but it's a workaround that can make things work at least for testing purpose.
For example , check the code of this addon for more details :  https://www.odoo.com/apps/modules/8.0/openworx_backend_theme/

Hope this helps




SSLL, Intégrateur Odoo.
Intégration de Services.
BI and IT consulting.
j.zahid@auriumtechnologies.com
tél  0661360233 - 0636898882
fax 0528215738

On Tue, Nov 10, 2015 at 4:51 PM, Yassine Teimi <yteimi01@gmail.com> wrote:
By doing this I want to bypass the HTML print isssues : When printing from an HTML page, it doesn't show all data collected from survey because of the page and columns small width. So if you have any ideas to bypass this printing issues (Like survey PDF printing), it will be great. 

Looking for to hear from you.


2015-11-10 16:29 GMT+00:00 Yassine Teimi <yteimi01@gmail.com>:
Dears, 

I created a survey, with matrix type question. The matrix columns have the same size, I want to give a column a size smaller than the others, for example, I want to make these two columns smaller : 

Images intégrées 1

Because they are number field, and taking a lot of space, doesn't allow me to print my survey correctly. 

While inscpecting the code I realized that the classe used for the table is : "table table-hover"

And the class used for all form inputs is : "form-control"

If only I can find those classes, i can make some changes and test, I've been looking for it on the survey module css folder, but with no luck. 

Can you point me to some css classes I can use to make a table column, or an input field smaller ? 

Thanks a lot.

--

Cordialement

Yassine TEIMI

Consultant & Odoo Project Manager
TEL : +212 6-27 33 30 78



--

Cordialement

Yassine TEIMI

Consultant & Odoo Project Manager
TEL : +212 6-27 33 30 78

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe