summaryrefslogtreecommitdiff
path: root/addons/project/static/src/less/project_dashboard.less
diff options
context:
space:
mode:
authorstefanorigano <sri@odoo.com>2017-08-20 17:10:11 +0200
committerqsm-odoo <qsm@odoo.com>2017-08-28 12:53:17 +0200
commit3ee2ab71ec0d53b4783b96276d5fc1ea942bc69e (patch)
tree1f52433caf26a826afd20c7ad698779d918b2c2e /addons/project/static/src/less/project_dashboard.less
parente710a858b641f66662d8300efd1f896a1be9015f (diff)
[REF] project: set new project dashboard layout and design
Diffstat (limited to 'addons/project/static/src/less/project_dashboard.less')
-rw-r--r--addons/project/static/src/less/project_dashboard.less111
1 files changed, 57 insertions, 54 deletions
diff --git a/addons/project/static/src/less/project_dashboard.less b/addons/project/static/src/less/project_dashboard.less
index c018a88badd..4a9c68edd0f 100644
--- a/addons/project/static/src/less/project_dashboard.less
+++ b/addons/project/static/src/less/project_dashboard.less
@@ -1,4 +1,4 @@
-// .o_kanban_view.o_kanban_dashboard.o_project_kanban {
+.o_kanban_view.o_kanban_dashboard.o_project_kanban {
//
// .o_kanban_record {
// .o-flex-display();
@@ -41,58 +41,60 @@
// margin: 0;
// }
// }
-//
-// .o_project_kanban_boxes {
-// // width: 30%;
-// .o-flex(0, 0, auto);
-//
-// .o-flex-display();
-// .o-flex-flow(column, nowrap);
-//
-// > a:hover {
-// text-decoration: none;
-// }
-//
-// .o_value {
-// font-size: x-large;
-// color: white;
-// display: block;
-// }
-// .o_label {
-// color: white;
-// }
-// .o_needaction{
-// position: absolute;
-// top: 5px;
-// right: 5px;
-// color: white;
-// font-size: small;
-// opacity: 0.5;
-// &:hover{
-// opacity:1;
-// }
-// &::before {
-// content: "\f086";
-// font: normal normal normal 14px/1 FontAwesome;
-// }
-// }
-//
-// .o_project_kanban_box {
-// position: relative;
-// text-align: center;
-// padding: 0 0 0 0;
-// .o-flex(1, 1, auto);
-// .o-flex-display();
-// .o-flex-flow(column, nowrap);
-// .o-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_boxes {
+ .o-flex-display();
+ .o-flex-flow(row, nowrap);
+
+ .o_project_kanban_box {
+ position: relative;
+ text-align: center;
+ padding: 0 0 0 0;
+ .o-flex(1, 1, auto);
+ .o-flex-display();
+ .o-flex-flow(row, nowrap);
+ .o-justify-content(center);
+
+ &:first-child {
+ .o-justify-content(flex-start);
+ }
+ &:last-child {
+ .o-justify-content(flex-end);
+ }
+
+ .o_value {
+ font-weight: bold;
+ }
+
+ > a {
+ color: @text-color;
+ font-weight: 500;
+
+ &:hover {
+ text-decoration: none;
+ color: @headings-color;
+ }
+
+ &.o_needaction{
+ font-size: small;
+ font-weight: 400;
+ margin-left: 4px;
+ opacity: 0.5;
+
+ &:hover{
+ opacity:1;
+ }
+ &:before {
+ content: "/ ";
+ }
+
+ &:after {
+ content: "\f086";
+ font: normal normal normal 14px/1 FontAwesome;
+ }
+ }
+ }
+ }
+ }
// }
//
// .o_kanban_task_cover_image {
@@ -107,4 +109,5 @@
// box-shadow: 0px 0px 2px 2px @odoo-brand-secondary;
// }
// }
-// }
+
+}