car_dashboard.less 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. .o_kanban_view.o_kanban_dashboard.o_project_kanban {
  2. .o_kanban_record {
  3. .o-flex-display();
  4. position: relative;
  5. }
  6. .o_project_kanban_main {
  7. .o-flex(0, 0, auto);
  8. padding: @odoo-horizontal-padding;
  9. width: 70%; // for IE11 overflow issue
  10. // give space for manage section at the bottom
  11. margin-bottom: @odoo-horizontal-padding/2 + 19px;
  12. .o_kanban_card_content {
  13. font-size: 12px;
  14. .o_primary {
  15. font-size: larger;
  16. }
  17. }
  18. .o_project_kanban_manage {
  19. .o-position-absolute(@bottom: 0, @left: 0);
  20. padding: @odoo-horizontal-padding/2 @odoo-horizontal-padding;
  21. }
  22. .o_kanban_card_manage_pane .o_kanban_card_manage_title {
  23. margin: 0;
  24. }
  25. }
  26. .o_project_kanban_boxes {
  27. width: 30%;
  28. .o-flex(0, 0, auto);
  29. .o-flex-display();
  30. .o-flex-flow(column, nowrap);
  31. > a:hover {
  32. text-decoration: none;
  33. }
  34. .o_value {
  35. font-size: x-large;
  36. color: white;
  37. display: block;
  38. }
  39. .o_label {
  40. color: white;
  41. }
  42. .o_needaction{
  43. position: absolute;
  44. top: 5px;
  45. right: 5px;
  46. color: white;
  47. font-size: small;
  48. opacity: 0.5;
  49. &:hover{
  50. opacity:1;
  51. }
  52. &::before {
  53. content: "\f086";
  54. font: normal normal normal 14px/1 FontAwesome;
  55. }
  56. }
  57. .o_project_kanban_box {
  58. position: relative;
  59. text-align: center;
  60. padding: 15px 0 15px 0;
  61. .o-flex(1, 1, auto);
  62. .o-flex-display();
  63. .o-align-items(center);
  64. .o-flex-flow(column, nowrap);
  65. .o-justify-content(center);
  66. }
  67. .o_project_kanban_box:nth-child(even) {
  68. background-color: grey;
  69. }
  70. .o_project_kanban_box:nth-child(odd) {
  71. background-color: @odoo-brand-optional;
  72. }
  73. }
  74. }
  75. .o_kanban_task_cover_image {
  76. .o-columns(200px, 4);
  77. > img {
  78. cursor: pointer;
  79. margin-bottom: 1em;
  80. border: 1px solid transparent;
  81. &.o_selected {
  82. border-color: @odoo-brand-secondary;
  83. box-shadow: 0px 0px 2px 2px @odoo-brand-secondary;
  84. }
  85. }
  86. }