diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/web/static/src/scss/webclient_extra.scss | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/web/static/src/scss/webclient_extra.scss')
| -rw-r--r-- | addons/web/static/src/scss/webclient_extra.scss | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/addons/web/static/src/scss/webclient_extra.scss b/addons/web/static/src/scss/webclient_extra.scss new file mode 100644 index 00000000..8e8e3630 --- /dev/null +++ b/addons/web/static/src/scss/webclient_extra.scss @@ -0,0 +1,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; +} |
