summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/layout/_sidebar-right.scss
blob: e1a7d764101038003338b91843425bb8eb64b42c (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
@charset 'UTF-8';

.sidebar--right {
    position: fixed;
    width: 400px;
    height: 100%;
    right: 0px;
    padding: 0;
    background: #fff;
    @include translateX(400px);

    .post-body {
        img {
            max-height: 200px;
        }
    }

    .post {
        .post__header {
            .col__name {
                .user-popover {
                    max-width: 130px;
                }
            }
        }
    }

    .sidebar--right__content {
        height: 100%;
        @include display-flex;
        @include flex-direction(column);
    }

    .sidebar--right__back {
        color: inherit;
        @include opacity(.8);
        width: 30px;
        text-align: center;
        margin: 0 0 0 -14px;
        font-size: 13px;
        display: inline-block;
    }

    .sidebar-right__body {
        @include flex(1 1 auto);
        border-left: $border-gray;
        border-top: $border-gray;
        @include display-flex;
        @include flex-direction(column);
        height: calc(100% - 56px);
        @include border-radius(2px 0 0 0);
    }

    .sidebar__overlay {
        width: 100%;
        height: 100%;
        background-color: yellow;
        @include opacity(.1);
        position: absolute;
        z-index: 5;
        pointer-events: none;
    }

    .input-group {
        word-break: break-word;
    }

    .sidebar--right__close {
        margin: 11px 0 0 0;
        width: 22px;
        height: 22px;
        opacity: .5;
        font-size: 22px;
        line-height: 0;
        background: none;
        float: right;
        outline: none;
        border: none;
        @include single-transition(all, .2s, ease-in);

        &:hover,
        &:active {
            opacity: .8;
        }

        i {
            position: relative;
            top: -2px;
        }
    }

    .sidebar--right__header {
        font-size: 1em;
        text-transform: uppercase;
        color: inherit;
        height: 44px;
        padding: 0 1em;
        line-height: 44px;
        @include flex(0 0 44px);
        border-bottom: $border-gray;
    }

    .sidebar--right__subheader {
        font-size: 1em;
        padding: 1em 1em 0;

        h4 {
            font-size: 1em;
        }

        ul {
            @include opacity(.7);
            padding: 10px 0 0 30px;
        }

        li {
            font-size: .95em;
            padding-bottom: 10px;
        }
    }

    .suggestion-list__content {
        max-height: 120px;
    }
}

.sidebar-right-container {
    height: 100%;
}