summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss/webclient_extra.scss
blob: 8e8e3630e702c6e0de621ca3022cca97c715c7d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//------------------------------------------------------------------------------
// Inputs and selects (note: put the o_input class to have the style)
//------------------------------------------------------------------------------
[type="text"], [type="password"], [type="number"], textarea, select {
    width: 100%;
    display: block;
    outline: none;
}
.o_input {
    border: 1px solid $o-form-lightsecondary;
    border-radius: $border-radius;
    padding: 2px 4px;
    color: #1f1f1f;

    .o_input {
        border: none!important;
        padding: 0;
    }
}
select {
    background: white;
}

//------------------------------------------------------------------------------
// Loading
//------------------------------------------------------------------------------

.o_loading {
    background-color: $o-brand-odoo;
    color: white;
    padding: 4px;
}

//------------------------------------------------------------------------------
// User menu in navbar
//------------------------------------------------------------------------------
#oe_main_menu_navbar .oe_user_menu_placeholder .o_user_menu .oe_topbar_name {
    @include o-text-overflow;
    max-width: 150px;
}

.o_rtl {
    .navbar-right {
        padding: 0; // fix for user agent stylesheet -webkit-padding-start: 40px in rtl language
    }
}

.btn-secondary {
    // Bootstrap variables do not control the color for btn-secondary border
    border-color: $border-color;
}