blob: 3e49cddf7dddbbacf6c2494bd5bdd90078747882 (
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
|
// ------------------------------------------------------------------
// Layout
// ------------------------------------------------------------------
.o_DiscussSidebar {
display: flex;
flex-flow: column;
width: $o-mail-chat-sidebar-width;
@include media-breakpoint-up(xl) {
width: $o-mail-chat-sidebar-width + 50px;
}
}
.o_DiscussSidebar_group {
display: flex;
flex-flow: column;
flex: 0 0 auto;
}
.o_DiscussSidebar_groupHeader {
display: flex;
align-items: center;
margin: 5px 0;
}
.o_DiscussSidebar_groupHeaderItem {
margin-left: 3px;
margin-right: 3px;
&:first-child {
margin-left: $o-mail-discuss-sidebar-active-indicator-margin-right;
}
&:last-child {
margin-right: $o-mail-discuss-sidebar-scrollbar-width;
}
}
.o_DiscussSidebar_itemNew {
display: flex;
justify-content: center;
}
.o_DiscussSidebar_itemNewInput {
flex: 1 1 auto;
margin-left: $o-mail-discuss-sidebar-active-indicator-margin-right + 3px;
margin-right: $o-mail-discuss-sidebar-scrollbar-width;
}
.o_DiscussSidebar_quickSearch {
border-radius: 10px;
margin: 0 $o-mail-discuss-sidebar-scrollbar-width 10px;
padding: 3px 10px;
}
.o_DiscussSidebar_separator {
width: 100%;
}
// ------------------------------------------------------------------
// Style
// ------------------------------------------------------------------
.o_DiscussSidebar {
background-color: gray('900');
color: gray('300');
}
.o_DiscussSidebar_groupHeader {
font-size: $font-size-sm;
text-transform: uppercase;
font-weight: bolder;
}
.o_DiscussSidebar_groupHeaderItemAdd {
cursor: pointer;
&:not(:hover) {
color: gray('600');
}
}
.o_DiscussSidebar_groupTitle {
&:not(.o-clickable) {
color: gray('600');
}
&.o-clickable {
cursor: pointer;
&:not(:hover) {
color: gray('600');
}
}
}
.o_DiscussSidebar_itemNewInput {
outline: none;
}
.o_DiscussSidebar_quickSearch {
border: none;
outline: none;
}
.o_DiscussSidebar_separator {
background-color: gray('600');
}
|