Files
odoo_source/addons/project/static/src/less/project_dashboard.less
T
Nicolas Lempereur 8438470c3a [FIX] project: kanban needaction link well shown
When something like this is in a html content:

```
  <a href="hello">
    <div>
      <b>this</b>
      <a href="world">!</a>
    </div>
  </a>
```

browsers may correct it to:

```
  <a href="hello">  </a>
    <div>
      <a href="hello">
        <b>this</b>
      </a>
      <a href="world">!</a>
    </div>
  </a>
```

which breaks our CSS.

This change transforms the inner tag in a button tag.

opw-1817668
closes #23373
2018-02-28 15:36:18 +01:00

48 lines
1.2 KiB
Plaintext

.o_kanban_view.o_kanban_dashboard.o_project_kanban {
.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: 800;
}
> div {
font-weight: 500;
button.o_needaction {
font-size: small;
font-weight: 400;
margin-left: 4px;
.o-hover-opacity(0.5, 1);
&:before {
content: "/ ";
}
&:after {
content: "\f086";
font: normal normal normal 14px/1 FontAwesome;
}
}
}
}
}
}