diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-04-26 12:30:32 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-04-26 12:35:24 +0200 |
| commit | 734724691a565445f21517e2a8975457db2a200d (patch) | |
| tree | 6f69cdc55883e61e8fdc5d96f9683f83654e9b8b /addons/web/static/src/scss/webclient.scss | |
| parent | d9662321e266f601f04a0bf27aa2c2907f63ea52 (diff) | |
[FIX] web: restore btn-link variations and badge style
+ printing improvements
Some style was lost for mysterious reasons during the less2scss
convertion.
Diffstat (limited to 'addons/web/static/src/scss/webclient.scss')
| -rw-r--r-- | addons/web/static/src/scss/webclient.scss | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/addons/web/static/src/scss/webclient.scss b/addons/web/static/src/scss/webclient.scss index b0f38b37fea..3c791886140 100644 --- a/addons/web/static/src/scss/webclient.scss +++ b/addons/web/static/src/scss/webclient.scss @@ -136,3 +136,38 @@ div.o_boolean_toggle { display: flex; align-items: center; } + +//== Badges +.badge { + margin: 1px 2px 1px 0; + padding-top: 0; + padding-bottom: 0; +} + +// Btn-link variations +.btn-link { + font-weight: $btn-font-weight; + + &.btn-default { + @include o-btn-link-variant($text-color, $headings-color); + } + &.btn-success, &.text-success { + @include o-btn-link-variant($text-color, $brand-success); + } + &.btn-warning, &.text-warning { + @include o-btn-link-variant($text-color, $brand-warning); + } + &.btn-danger, &.text-danger { + @include o-btn-link-variant($text-color, $brand-danger); + } + &.btn-info, &.text-info { + @include o-btn-link-variant($text-color, darken($brand-info, 20%)); + } +} + +//== Printing improvements +@media print { + .table-responsive { + overflow-x: initial; + } +} |
