summaryrefslogtreecommitdiff
path: root/addons/project/static/src/less/project_dashboard.less
diff options
context:
space:
mode:
authorMartin Geubelle <mge@odoo.com>2015-05-21 10:27:45 +0200
committerMartin Geubelle <mge@odoo.com>2015-05-22 17:54:34 +0200
commita3f3a0db682f5e13f502ee2686846d5bd02cc50a (patch)
treee5fa2ae4636c9cda1322e08f4dcac85e4d925c79 /addons/project/static/src/less/project_dashboard.less
parenta393fb6090a6fd1311f958487bb6e0056e8d5182 (diff)
[IMP] hr, hr_*, project, sale, sales_team, stock: in dashboards, add color picker, add domains on reports and style improvements
Diffstat (limited to 'addons/project/static/src/less/project_dashboard.less')
-rw-r--r--addons/project/static/src/less/project_dashboard.less138
1 files changed, 67 insertions, 71 deletions
diff --git a/addons/project/static/src/less/project_dashboard.less b/addons/project/static/src/less/project_dashboard.less
index ade6a7995f6..11d3b468903 100644
--- a/addons/project/static/src/less/project_dashboard.less
+++ b/addons/project/static/src/less/project_dashboard.less
@@ -1,84 +1,80 @@
-.o_project_kanban {
+.oe_kanban_view.o_kanban_dashboard.o_project_kanban {
- &.o_kanban_dashboard {
+ @odoo-brand-optional: #21b799;
- @odoo-brand-optional: #21b799;
+ .o_kanban_flexbox {
+ display: flex;
+ position: relative;
+ }
- .o_kanban_flexbox {
- display: flex;
- position: relative;
- }
+ .oe_kanban_record {
+ min-width: 300px;
+ max-width: 350px;
+ }
- .oe_kanban_record {
- padding: 0 !important;
- min-width: 300px;
- max-width: 350px;
- }
+ /*
+ .oe_kanban_record:hover .o_project_kanban_manage {
+ visibility: visible;
+ }
+ */
- /*
- .oe_kanban_record:hover .o_project_kanban_manage {
- visibility: visible;
- }
- */
+ .o_project_kanban_main {
+ margin-bottom: 40px; // give space for manage section at the bottom
+ width: 75%;
- .o_project_kanban_main {
- margin-bottom: 40px; // give space for manage section at the bottom
- width: 75%;
+ .o_primary {
+ font-size: larger;
+ }
- .o_primary {
- font-size: larger;
- }
-
- .o_project_kanban_manage {
- visibility: visible;
- position: absolute;
- bottom: 0;
- margin-left: 10px;
- margin-bottom: 10px;
- }
- .o_kanban_card_manage_pane {
- border-color: #EEEEEE;
- border-bottom-style: solid;
- border-bottom-width: 1px;
+ .o_project_kanban_manage {
+ visibility: visible;
+ position: absolute;
+ bottom: 0;
+ margin-left: 10px;
+ margin-bottom: 10px;
+ }
+ .o_kanban_card_manage_pane {
+ border-color: lightgrey;
+ border-bottom-style: solid;
+ border-bottom-width: 1px;
- .o_kanban_card_manage_title {
- margin: 0;
- }
- }
- }
+ .o_kanban_card_manage_title {
+ margin: 0;
+ }
+ }
+ }
- .o_project_kanban_boxes {
- display: flex;
- flex-direction: column;
- justify-content: flex-end;
- align-content: stretch;
+ .o_project_kanban_boxes {
+ display: flex;
+ flex-direction: column;
+ justify-content: flex-end;
+ align-content: stretch;
- width: 25%;
+ width: 25%;
- .o_value {
- font-size: x-large;
- color: white;
- display: block;
- }
- .o_label {
- color: white;
- }
+ .o_value {
+ font-size: x-large;
+ color: white;
+ display: block;
+ }
+ .o_label {
+ color: white;
+ }
- .o_project_kanban_box {
- text-align: center;
- padding: 15px 0 15px 0;
- flex: 1 1 auto;
- display: flex;
- align-items: center;
- flex-direction: column;
- justify-content: center;
- }
- .o_project_kanban_box:nth-child(even) {
- background-color: grey;
- }
- .o_project_kanban_box:nth-child(odd) {
- background-color: @odoo-brand-optional;
- }
- }
- }
+ .o_project_kanban_box {
+ text-align: center;
+ padding: 15px 0 15px 0;
+ flex: 1 1 auto;
+ display: flex;
+ align-items: center;
+ flex-direction: column;
+ justify-content: center;
+ }
+ .o_project_kanban_box:nth-child(even) {
+ background-color: grey;
+ }
+ .o_project_kanban_box:nth-child(odd) {
+ background-color: @odoo-brand-optional;
+ }
+ }
} \ No newline at end of file