[IMP][8.0][web_dashboard_tile] Refactor (see changes in description) (#476)

This commit is contained in:
Iván Todorovich
2016-11-19 14:07:01 -03:00
committed by Pedro M. Baeza
parent 4493f1351d
commit 3ab676daac
11 changed files with 365 additions and 135 deletions

View File

@@ -5,44 +5,51 @@
border-radius: 0;
}
.openerp .oe_kanban_view .oe_dashboard_tile .tile_label,
.openerp .oe_kanban_view .oe_dashboard_tile .tile_count_without_computed_value,
.openerp .oe_kanban_view .oe_dashboard_tile .tile_count_with_computed_value,
.openerp .oe_kanban_view .oe_dashboard_tile .tile_computed_value {
width: 140px;
text-align: center;
/* Disable default kanban style */
.openerp .oe_kanban_view .oe_dashboard_tile .oe_kanban_content div:first-child {
margin-right: inherit!important;
}
.openerp .oe_kanban_view .oe_dashboard_tile .tile_label{
.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 {
text-align: center;
font-weight: bold;
}
.openerp .oe_kanban_view .oe_dashboard_tile .tile_label {
padding: 5px;
font-size: 15px;
}
.openerp .oe_kanban_view .oe_dashboard_tile .tile_count_without_computed_value{
font-size: 52px;
font-weight: bold;
.openerp .oe_kanban_view .oe_dashboard_tile .tile_primary_value{
font-size: 54px;
position: absolute;
left: 5px;
right: 5px;
bottom: 5px;
}
.openerp .oe_kanban_view .oe_dashboard_tile .tile_count_with_computed_value{
font-size: 38px;
font-weight: bold;
.openerp .oe_kanban_view .oe_dashboard_tile .tile_secondary_value{
display: none;
font-size: 18px;
font-style: italic;
position: absolute;
left: 5px;
right: 5px;
bottom: 5px;
}
.openerp .oe_kanban_view .oe_dashboard_tile .with_secondary .tile_primary_value{
font-size: 38px;
bottom: 30px;
}
.openerp .oe_kanban_view .oe_dashboard_tile .tile_computed_value{
font-size: 18px;
font-weight: bold;
position: absolute;
right: 10px;
bottom: 5px;
font-style: italic;
.openerp .oe_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 {
display: none;
}