Browse Source

Fix styles (MIG 9.0)

pull/868/head
Iván Todorovich 6 years ago
committed by Sylvain LE GAL
parent
commit
87d3027020
  1. 36
      web_dashboard_tile/static/src/css/tile.css

36
web_dashboard_tile/static/src/css/tile.css

@ -1,28 +1,32 @@
.openerp .oe_kanban_view .oe_dashboard_tile {
/* custom kanban style */
.o_kanban_view .oe_dashboard_tile {
width: 150px;
height: 150px;
border: 0;
border-radius: 0;
}
/* Disable default kanban style */
.openerp .oe_kanban_view .oe_dashboard_tile .oe_kanban_content div:first-child {
margin-right: inherit!important;
.o_kanban_view.o_kanban_ungrouped .o_kanban_record.oe_dashboard_tile {
/* override max-width rules */
margin: 4px !important;
/* flex width */
-ms-flex: 1 1 150px;
-moz-flex: 1 1 150px;
-webkit-flex: 1 1 150px;
flex: 1 1 150px;
}
.openerp .oe_kanban_view .oe_dashboard_tile .tile_label,
.openerp .oe_kanban_view .oe_dashboard_tile .tile_primary_value,
.openerp .oe_kanban_view .oe_dashboard_tile .tile_secondary_value {
.o_kanban_view .oe_dashboard_tile .tile_label,
.o_kanban_view .oe_dashboard_tile .tile_primary_value,
.o_kanban_view .oe_dashboard_tile .tile_secondary_value {
text-align: center;
font-weight: bold;
}
.openerp .oe_kanban_view .oe_dashboard_tile .tile_label {
.o_kanban_view .oe_dashboard_tile .tile_label {
padding: 5px;
font-size: 15px;
}
.openerp .oe_kanban_view .oe_dashboard_tile .tile_primary_value{
.o_kanban_view .oe_dashboard_tile .tile_primary_value{
font-size: 54px;
position: absolute;
left: 5px;
@ -30,7 +34,7 @@
bottom: 5px;
}
.openerp .oe_kanban_view .oe_dashboard_tile .tile_secondary_value{
.o_kanban_view .oe_dashboard_tile .tile_secondary_value{
display: none;
font-size: 18px;
font-style: italic;
@ -40,20 +44,20 @@
bottom: 5px;
}
.openerp .oe_kanban_view .oe_dashboard_tile .with_secondary .tile_primary_value{
.o_kanban_view .oe_dashboard_tile .with_secondary .tile_primary_value{
font-size: 38px;
bottom: 30px;
}
.openerp .oe_kanban_view .oe_dashboard_tile .with_secondary .tile_secondary_value{
.o_kanban_view .oe_dashboard_tile .with_secondary .tile_secondary_value{
display: block;
}
/* SearchView Drawer */
.openerp .oe_searchview_drawer .oe_searchview_dashboard .oe_dashboard_tile_form {
.oe_searchview_drawer .oe_searchview_dashboard .oe_dashboard_tile_form {
display: none;
}
.openerp .oe_searchview_drawer .oe_opened .oe_dashboard_tile_form {
.oe_searchview_drawer .oe_opened .oe_dashboard_tile_form {
display: block;
}
Loading…
Cancel
Save