summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/widgets/discuss/discuss.scss
blob: 2bed9b7c373ad0f5dc8dbee06af37735bae6f98c (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
// ------------------------------------------------------------------
// Layout
// ------------------------------------------------------------------

.o_widget_Discuss {
    display: flex;
    flex: 0 0 100%;
    flex-flow: column;
    height: 100%;
}

// ------------------------------------------------------------------
// Style
// ------------------------------------------------------------------

.o_widget_Discuss {

    .o_control_panel {
        border-bottom: 0; // cancel default border, so that we only apply it on top of discuss content
    }

    .o_Discuss_content {
        border-top: 1px solid darken($o-control-panel-background-color, 20%);
    }

    .o_Discuss.o-mobile {

        &:not(.o-adding-item) {
            border-top: 1px solid darken($o-control-panel-background-color, 20%);
        }

        &.o-adding-item .o_Discuss_mobileAddItemHeader {
            border-bottom: 1px solid darken($o-control-panel-background-color, 20%);
        }
    }
}