summaryrefslogtreecommitdiff
path: root/addons/website/static/src/snippets/s_showcase/000.scss
blob: 8970e7e262baa11326dc157e64ee77bac1ba2457 (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

#wrapwrap .s_showcase:not([data-vcss]) {
    @include media-breakpoint-up(lg) {
        .container, .container-fluid {
            position: relative;

            &:before {
                content: " ";
                display: block;
                @include o-position-absolute($left: 50%);
                height: 100%;
                border-right: 1px solid gray('200');
            }
        }
    }

    .fa {
        opacity: 0.5;
    }

    .text-right{
        .fa {
            float: right;
            margin-left: .5em;
        }
        p {
            float: right;
            display: block;
        }
    }
    .text-left{
        .fa {
            float: left;
            margin-right: .5em;
        }
        p {
            float: left;
        }
    }
    .row {
        margin-top: 1em;
    }
    .feature p {
        max-width: 300px;
        margin-top: 0.6em;
        clear: both;
    }
}

@include media-breakpoint-down(md) {
    #wrapwrap .s_showcase:not([data-vcss]) {
        .text-right, .text-left {
            text-align: center;

            .fa {
                font-size: 2em;
                opacity: 0.5;
                float: none;
                display: block;
                position: relative;
                margin-left: auto;
                margin-right: auto;
            }
        }
        .feature {
            margin-bottom: 3em;

            p {
                float: none;
                display: block;
                position: relative;
                margin-left: auto;
                margin-right: auto;
            }
        }
    }
}