summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/components/discuss/discuss.scss
blob: 5cddf1017ba384e5e32becc361e58db571ff9bec (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
// ------------------------------------------------------------------
// Layout
// ------------------------------------------------------------------

.o_action_manager {
    // bug with scrollable inside discuss mobile without this...
    min-height: 0;
}

.o-autogrow {
    flex: 1 1 auto;
}

.o_Discuss {
    display: flex;
    height: 100%;
    min-height: 0;

    &.o-mobile {
        flex-flow: column;
        align-items: center;
    }
}

.o_Discuss_chatWindowHeader {
    width: 100%;
    flex: 0 0 auto;
}

.o_Discuss_content {
    height: 100%;
    overflow: auto;
    flex: 1 1 auto;
    display: flex;
    flex-flow: column;
}

.o_Discuss_messagingNotInitialized {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.o_Discuss_messagingNotInitializedIcon {
    margin-right: 3px;
}

.o_Discuss_mobileAddItemHeader {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 10px;
}

.o_Discuss_mobileAddItemHeaderInput {
    flex: 1 1 auto;
    margin-bottom: 8px;
    padding: 8px;
}

.o_Discuss_mobileMailboxSelection {
    width: 100%;
}

.o_Discuss_mobileNavbar {
    width: 100%;
}

.o_Discuss_noThread {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.o_Discuss_replyingToMessageComposer {
    width: 100%;
}

.o_Discuss_sidebar {
    height: 100%;
    overflow: auto;
    padding-top: 10px;
    flex: 0 0 auto;
}

.o_Discuss_thread {
    flex: 1 1 auto;

    &.o-mobile {
        width: 100%;
    }
}

.o_Discuss_notificationList {
    width: 100%;
    flex: 1 1 auto;
}
// ------------------------------------------------------------------
// Style
// ------------------------------------------------------------------

.o_Discuss.o-mobile {
    background-color: white;
}

.o_Discuss_mobileAddItemHeaderInput {
    appearance: none;
    border: 1px solid gray('400');
    border-radius: 5px;
    outline: none;
}