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

.sidebar--right {
    position: absolute;
    width: 400px;
    height: 100%;
    right: 0px;
    padding: 0;
    background: #fff;
    @include single-transition(transform, 0.5s, ease);
    right: -400px;

    &.move--left {
        right: 0;
    }

    .post-body {

        img {
            max-height: 200px;
        }

    }

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

    .sidebar--right__back {
        color: inherit;
        @include opacity(0.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(0.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: 0.5;
        font-size: 22px;
        line-height: 0;
        background: none;
        float: right;
        outline: none;
        border: none;
        @include single-transition(all, 0.2s, ease-in);
        &:hover, &:active {
            opacity: 0.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(0.7);
            padding: 10px 0 0 30px;
        }
        li {
            font-size: 0.95em;
            padding-bottom: 10px;
        }
    }

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

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