[MIG][12.0] web_dashboard_tile

- refactor tile category
- improve description
- add legalsylvain as maintainer
- update code and translation
This commit is contained in:
Sylvain LE GAL
2019-11-06 10:39:54 +01:00
parent b63327ef4b
commit 8128f242db
60 changed files with 1698 additions and 4184 deletions

View File

@@ -0,0 +1,65 @@
/* custom kanban style */
.o_kanban_view .oe_dashboard_tile {
height: 150px;
}
/* Fix bug where draggin a tile results in the element losing its style */
.o_kanban_view .oe_dashboard_tile {
padding: 0px !important;
}
.o_kanban_view .oe_dashboard_tile .tile_background {
padding: 8px;
height: 100%;
}
.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;
}
.o_kanban_view .oe_dashboard_tile .tile_label {
padding: 5px 0px;
font-size: 15px;
}
.o_kanban_view .oe_dashboard_tile .tile_primary_value{
font-size: 54px;
position: absolute;
left: 5px;
right: 5px;
bottom: 5px;
}
.o_kanban_view .oe_dashboard_tile .tile_secondary_value{
display: none;
font-size: 18px;
font-style: italic;
position: absolute;
left: 5px;
right: 5px;
bottom: 5px;
}
.o_kanban_view .oe_dashboard_tile .with_secondary .tile_primary_value{
font-size: 38px;
bottom: 30px;
}
.o_kanban_view .oe_dashboard_tile .with_secondary .tile_secondary_value{
display: block;
}
/* Favorites menu in control panel */
.o_add_to_dashboard_tile {
/* hidden by default */
display: none;
}
/* Make dropdown menu button not affect text flow */
.o_kanban_view .oe_dashboard_tile .o_dropdown_kanban {
float: none;
position: absolute;
right: 8px;
}