summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/less')
-rw-r--r--addons/web/static/src/less/fields.less20
-rw-r--r--addons/web/static/src/less/kanban_dashboard.less2
-rw-r--r--addons/web/static/src/less/views.less20
3 files changed, 22 insertions, 20 deletions
diff --git a/addons/web/static/src/less/fields.less b/addons/web/static/src/less/fields.less
index b070a8f4cc8..02885ef3514 100644
--- a/addons/web/static/src/less/fields.less
+++ b/addons/web/static/src/less/fields.less
@@ -33,7 +33,7 @@
}
// Block fields
- &.note-editor, &.oe_form_field_html, &.oe_form_field_html_text, &.oe_form_field_text, &.o_view_manager_content, &.o_field_domain {
+ &.note-editor, &.oe_form_field_html, &.oe_form_field_html_text, &.oe_form_field_text, &.o_view_manager_content, &.o_field_domain, &.o_graph_linechart, &.o_graph_barchart {
display: block;
}
@@ -180,24 +180,6 @@
}
}
- // Status
- &.o_selection .o_status {
- display: inline-block;
- height: 12px;
- width: 12px;
- border-radius: 6px;
- vertical-align: middle;
-
- background-color: @odoo-brand-secondary;
-
- &.o_status_green {
- background-color: @brand-success;
- }
- &.o_status_red {
- background-color: @brand-danger;
- }
- }
-
// Specific success color for toggle_button widget
.fa.o_toggle_button_success {
color: @brand-success;
diff --git a/addons/web/static/src/less/kanban_dashboard.less b/addons/web/static/src/less/kanban_dashboard.less
index fd544445f6d..e86350f6b49 100644
--- a/addons/web/static/src/less/kanban_dashboard.less
+++ b/addons/web/static/src/less/kanban_dashboard.less
@@ -39,7 +39,7 @@
// If invisible, elem will no take more than its original height
a, span {
- .o-text-overflow(block);
+ .o-text-overflow(inline-block);
position: relative;
}
diff --git a/addons/web/static/src/less/views.less b/addons/web/static/src/less/views.less
index db5fe8f814c..102d50e7590 100644
--- a/addons/web/static/src/less/views.less
+++ b/addons/web/static/src/less/views.less
@@ -21,3 +21,23 @@
.o_invisible_modifier {
display: none!important;
}
+
+// Status
+// This should normally be put in fields.less but these classes are used outside
+// of `.o_field_widget` so it needs to be placed at an upper level.
+.o_status {
+ display: inline-block;
+ height: 12px;
+ width: 12px;
+ border-radius: 6px;
+ vertical-align: middle;
+
+ background-color: @odoo-brand-secondary;
+
+ &.o_status_green {
+ background-color: @brand-success;
+ }
+ &.o_status_red {
+ background-color: @brand-danger;
+ }
+}