[REF] web: review kanban records' title LESS

- Force vertical margin to 0 in case the class is added to elements
  that comes with a default margin (eg. titles tags)

- Move title & subtitle rules at root level
This commit is contained in:
stefanorigano
2017-09-06 17:55:49 +02:00
committed by qsm-odoo
parent 9e69958099
commit 2ef5db7f90
+11 -8
View File
@@ -68,6 +68,8 @@
color: @headings-color;
font-size: @font-size;
font-weight: 500;
margin-bottom: 0;
margin-top: 0;
}
.o-kanban-dropdown(@padding-base: @o-kanban-inside-vgutter) {
margin: -1px -1px auto auto; // compensate border
@@ -204,17 +206,18 @@
line-height: 1.2;
.o-flex(1, 1, auto);
.o_kanban_record_title {
.o-kanban-record-title (@font-size: 13px);
}
.o_kanban_record_subtitle {
display: block;
margin-top: @o-kanban-inner-hmargin*0.5;
}
}
}
.o_kanban_record_title {
.o-kanban-record-title (@font-size: 13px);
}
.o_kanban_record_subtitle {
display: block;
margin-top: @o-kanban-inner-hmargin*0.5;
}
.o_kanban_record_bottom {
.oe_kanban_bottom_left, .oe_kanban_bottom_right {
.o-flex-display();