Community mailing list archives

community@mail.odoo.com

Re: Survey Module : Manage survey CSS classes ?

by
Yassine TEIMI
- 11/10/2015 12:15:37
Hi Zahid, 

Using firebug I found the class form-control : 

.form-control {
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #8c8c8c;
    display: block;
    font-size: 16px;
    height: 34px;
    line-height: 1.3;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    width: 100%;
}

But there is no url that indicates the source.

2015-11-10 16:47 GMT+00:00 zahid jalal <j.zahid@gmail.com>:
Hi yassine
please install and use Firebug extension for firefox. this addon can inspect all elements on a page and points to original file.  it will be you best help.

rgrds


SSLL, Intégrateur Odoo.
Intégration de Services.
BI and IT consulting.

On Tue, Nov 10, 2015 at 4:34 PM, Yassine Teimi <yteimi01@gmail.com> wrote:
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

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


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




--

Cordialement

Yassine TEIMI

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