blob: bbb819ebdab78fb51a9881df3895a620f9d50f77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
|
.o_activity_view {
height: 100%;
> table {
background-color: white;
thead > tr > th:first-of-type {
min-width: 300px;
}
tbody > tr > td, tfoot > tr > td {
cursor: pointer;
}
}
.o_activity_summary_cell {
background-color: #FFF;
&.planned {
background-color: theme-color('success');
}
&.overdue {
background-color: theme-color('danger');
}
&.today {
background-color: theme-color('warning');
}
.o_kanban_inline_block {
min-height: 42px;
}
.dropdown-toggle {
cursor: pointer;
.o_closest_deadline {
height: 42px;
width: 100%;
color: #FFF;
text-align: center;
line-height: 42px;
}
}
&.o_activity_empty_cell {
> i {
display: none;
}
&:hover {
background-color: #eee;
> i {
color: gray;
display: block;
}
}
}
.o_activity_btn > .badge {
@include o-position-absolute($bottom: 0, $right: 0);
&.planned {
color: theme-color('success');
}
&.overdue {
color: theme-color('danger');
}
&.today {
color: theme-color('warning');
}
}
}
// it contains a kanban card representing the record
.o_activity_record {
display: flex;
flex: 1 1 auto;
align-items: center;
padding: 8px 8px;
cursor: pointer;
> img {
width: 32px;
max-height: 32px;
margin-right: 16px;
}
> div {
max-width: 200px;
.o_text_block {
@include o-text-overflow;
display: block;
}
}
.o_text_bold {
font-weight: bold;
}
.o_text_block {
display: block;
}
}
.o_activity_filter_planned {
background-color: mix(theme-color('success'), $o-webclient-background-color, 5%);
}
.o_activity_filter_today {
background-color: mix(theme-color('warning'), $o-webclient-background-color, 5%);
}
.o_activity_filter_overdue {
background-color: mix(theme-color('danger'), $o-webclient-background-color, 5%);
}
.o_record_selector {
color: $o-enterprise-primary-color;
}
.o_activity_type_cell {
padding:10px;
min-width:100px;
.fa-ellipsis-v {
cursor: pointer;
}
.o_template_element {
white-space: nowrap;
padding:5px;
cursor: pointer;
&:hover {
color: theme-color('success');
}
}
.o_kanban_counter {
margin: 5px 0 0 0;
> .o_kanban_counter_progress {
width: 100%;
> div.active {
border: 1px solid;
}
}
}
}
}
|