mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] *: styling
- reduce font-size and bold-ness a hair as it causes issues in the backend - remove font adjustment on root object - add `text-bg-primary` in the oustanding FP view, apparently BS5 does not do anything like that by default when setting `bg-primary` for some reason so the current team or user appears in black on dark blue leading to sub-par readability
This commit is contained in:
parent
7eb25234f5
commit
0d653620c2
@ -36,7 +36,7 @@
|
|||||||
<t t-foreach="groups" t-as="group">
|
<t t-foreach="groups" t-as="group">
|
||||||
<span>
|
<span>
|
||||||
<t t-if="group == current_group">
|
<t t-if="group == current_group">
|
||||||
<span class="bg-primary">
|
<span class="bg-primary text-bg-primary">
|
||||||
<t t-out="group.display_name"/>
|
<t t-out="group.display_name"/>
|
||||||
(<t t-out="outstanding_per_group[group]"/>)
|
(<t t-out="outstanding_per_group[group]"/>)
|
||||||
</span>
|
</span>
|
||||||
@ -57,7 +57,7 @@
|
|||||||
<t t-set="created" t-value="outstanding_per_author[culprit]"/>
|
<t t-set="created" t-value="outstanding_per_author[culprit]"/>
|
||||||
<a t-att-href="link(partner=culprit.id)"
|
<a t-att-href="link(partner=culprit.id)"
|
||||||
t-attf-title="approved {{approved}}, created {{created}}"
|
t-attf-title="approved {{approved}}, created {{created}}"
|
||||||
t-att-class="'bg-primary' if culprit == env.user.partner_id else None"
|
t-att-class="'bg-primary text-bg-primary' if culprit == env.user.partner_id else None"
|
||||||
><t t-out="culprit.name"/>:
|
><t t-out="culprit.name"/>:
|
||||||
<t t-if="approved" t-out="approved"/>
|
<t t-if="approved" t-out="approved"/>
|
||||||
<t t-if="approved and created"> + </t>
|
<t t-if="approved and created"> + </t>
|
||||||
|
@ -22,14 +22,14 @@ $o-community-color: $primary;
|
|||||||
$o-enterprise-color: $primary;
|
$o-enterprise-color: $primary;
|
||||||
|
|
||||||
$font-size-root: null;
|
$font-size-root: null;
|
||||||
$font-size-base: 1rem;
|
$font-size-base: 0.875rem;
|
||||||
$font-size-sm: $font-size-base * .875;
|
$font-size-sm: $font-size-base * .875;
|
||||||
$font-size-lg: $font-size-base * 1.25;
|
$font-size-lg: $font-size-base * 1.25;
|
||||||
|
|
||||||
$font-weight-lighter: lighter;
|
$font-weight-lighter: lighter;
|
||||||
$font-weight-light: 300;
|
$font-weight-light: 300;
|
||||||
$font-weight-normal: 400;
|
$font-weight-normal: 400;
|
||||||
$font-weight-bold: 700;
|
$font-weight-bold: 500;
|
||||||
$font-weight-bolder: bolder;
|
$font-weight-bolder: bolder;
|
||||||
|
|
||||||
$font-weight-base: $font-weight-normal;
|
$font-weight-base: $font-weight-normal;
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
// FIX: bs4 shit-heap colors and styles
|
|
||||||
html {
|
html {
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
font-size: 14px;
|
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
Loading…
Reference in New Issue
Block a user