summaryrefslogtreecommitdiffstats
path: root/webapp/sass/responsive/_tablet.scss
blob: 1e9dedb8a8670ae4d7925bcf03bb9bc78053c0cc (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
@charset 'UTF-8';

@media screen and (max-width: 960px) {
    .signup-team__container {
        &.branded {
            display: block;
            margin: 0 auto;
            max-width: 380px;

            .signup__markdown {
                display: none;
            }
        }
    }

    .sidebar--right {
        @include single-transition(all, .5s, ease);
        @include translateX(100%);
        z-index: 5;

        &.move--left {
            -webkit-transform: translateX(0) !important;
            -moz-transform: translateX(0) !important;
            -ms-transform: translateX(0) !important;
            -o-transform: translateX(0) !important;
            transform: translateX(0) !important;

            .search-bar__container {
                padding-right: 8px;
            }
        }
    }

    .backstage-content {
        margin: 30px;
        max-width: 100%;
        padding: 0;
    }

    .backstage-sidebar {
        height: auto;
        padding: 30px 15px 0;
        position: relative;
        width: 100%;
    }

    .help__format-text {
        display: none;
    }

    .inner-wrap {
        &:not(.move--left) {
            margin-right: 0 !important;
        }

        &.move--left {
            margin-right: 0 !important;

            .channel-header__links {
                position: relative;
                right: auto;
                top: auto;
            }
        }
    }
}

@media screen and (min-width: 768px) {
    .second-bar {
        display: none;
    }

    .sidebar--right {
        &.move--left {
            @include translateX(0);
        }
    }

    .inner-wrap {
        &.move--left {
            margin-right: 400px;
        }
    }

    .post {
        &.same--root {
            &.same--user {
                .post__time {
                    @include opacity(0);
                    font-size: 11px;
                    left: 8px;
                    line-height: 37px;
                    position: absolute;
                    text-rendering: auto;
                    top: -2px;
                }
            }
        }
    }
}