summaryrefslogtreecommitdiffstats
path: root/webapp/sass/layout/_post-right.scss
blob: f1fe0cac3e3a8b0919a976ddda3cea0ec634b667 (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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
@charset 'UTF-8';

.app__body {
    .post-right__container {
        @include display-flex;
        @include flex-direction(column);
        height: 100%;

        .post-right-root-message {
            padding: 1em 1em 0;
        }

        .post-right-comments-container {
            position: relative;

            .post {
                &:first-child {
                    padding-top: 15px;
                }
            }
        }


        .help_format_text {
            bottom: -63px;
            right: auto;
        }

        .post {
            &.post--root {
                border-bottom: 1px solid #ddd;
                padding-bottom: 1em;

                .post__body {
                    background: transparent !important;
                }
            }

            .post__header {
                .col__reply {
                    background: transparent !important;
                    border: none !important;
                    text-align: right;
                    top: 0;
                }
            }

            .post__body {
                width: 100%;
            }
        }

        hr {
            border: none;
            margin-bottom: 0;
        }

        .post-create__container {
            width: 100%;

            .textarea-wrapper {
                min-height: 100px;
            }

            .btn {
                margin-bottom: 10px;
            }

            .custom-textarea {
                min-height: 100px;
            }

            .msg-typing {
                @include opacity(.7);
                display: block;
                float: left;
                font-size: 13px;
                height: 20px;
                line-height: 20px;
                margin-top: 3px;
                max-width: 230px;
                min-width: 1px;
            }

            .post-create-footer {
                padding: 5px 0 10px;
                width: 100%;
            }

            .post-right-comments-upload-in-progress {
                color: #a8adb7;
                margin-right: 10px;
                padding: 6px 0;
            }
        }
    }

    .post-right-header {
        border-bottom: $border-gray;
        color: #999;
        font-size: 1em;
        font-weight: 400;
        height: 39px;
        padding: 10px 10px 0 15px;
        text-transform: uppercase;
    }

    .post-right-root-container {
        border-bottom: $border-gray;
        padding: 5px 10px;

        ul {
            margin-bottom: 2px;
            padding-left: 0;
        }
    }

    .post-right-channel__name {
        font-weight: 600;
        margin: 0 0 15px;
    }

    .post-right-root-container li {
        display: inline;
        list-style-type: none;
        padding-right: 3px;
    }

    .post-right-root-time {
        color: #a8adb7;
    }

    .post-right-create-comment-container {
        bottom: 0;
        left: 0;
        margin-bottom: 18px;
        padding: 5px;
        position: absolute;
        width: 100%;
    }

    .post-right__scroll {
        @include flex(1 1 auto);
        -webkit-overflow-scrolling: touch;
        overflow: auto;
        position: relative;

        .file-preview__container {
            margin-top: 5px;
        }
    }

    .post-right-comment-time {
        color: #a8adb7;
    }
}