summaryrefslogtreecommitdiffstats
path: root/webapp/sass/layout/_content.scss
blob: 933f57c323537e45c75a470f03575b8d00bd5500 (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
@charset 'UTF-8';

.inner-wrap {
    &.move--left,
    &.webrtc--show {
        .search-bar__container {
            display: none;
        }

        .search-btns {
            display: none;
        }

        .header-list__right {
            // the negative margin-right is used
            // to prevent the icons in the header from
            // moving to the left when the RHS is open
            //
            // the below z-index is used to ensure the icons
            // stays on the top and don't get hidden by the
            // search's input block
            float: right;
            padding-right: 0px !important;
            position: relative;
            z-index: 6;
        }
    }

    &.move--right {
        .search-bar__container {
            display: none;
        }

        .search-btns {
            display: none;
        }

        .header-list__right {
            // the negative margin-right is used
            // to prevent the icons in the header from
            // moving to the left when the RHS is open
            //
            // the below z-index is used to ensure the icons
            // stays on the top and don't get hidden by the
            // search's input block
            float: right;
            margin-right: -18px;
            padding-right: 0px !important;
            position: relative;
            z-index: 6;
        }
    }
}

.app__content {
    @include display-flex;
    @include flex-direction(column);
    background: $white;
    height: 100%;
    margin-left: 220px;
    padding-top: 50px;
    position: relative;

    .channel__wrap & {
        padding-top: 0;
    }
}

#archive-link-home {
    @include flex(0 0 auto);
    cursor: pointer;
    font-size: 13px;

    .fa {
        @include opacity(.7);
        font-size: 11px;
    }

    a {
        color: inherit;
        display: block;
        padding: 10px 20px;
        width: 100%;
    }
}

.delete-message-text {
    margin-top: 10px;
}