summaryrefslogtreecommitdiff
path: root/addons/website/static/src/snippets/s_share/000.scss
blob: 85ab9edd88028e5009335b5d377ef2d1267ebc3f (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

.s_share {
    > * {
        display: inline-block;
        vertical-align: middle;
    }
    .s_share_title {
        margin: 0 .4rem 0 0;
    }
    a {
        i.fa {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        margin: .2rem;
    }
    &:not(.no_icon_color) {
        .s_share_facebook {
            &, &:hover, &:focus {
                @extend .text-facebook;
            }
        }
        .s_share_twitter {
            &, &:hover, &:focus {
                @extend .text-twitter;
            }
        }
        .s_share_linkedin {
            &, &:hover, &:focus {
                @extend .text-linkedin;
            }
        }
        .s_share_google {
            &, &:hover, &:focus {
                @extend .text-google-plus;
            }
        }
        .s_share_whatsapp {
            &, &:hover, &:focus {
                @extend .text-whatsapp;
            }
        }
        .s_share_pinterest {
            &, &:hover, &:focus {
                @extend .text-pinterest;
            }
        }
        .s_share_github {
            &, &:hover, &:focus {
                @extend .text-github;
            }
        }
        .s_share_instagram {
            &, &:hover, &:focus {
                @extend .text-instagram;
            }
        }
        .s_share_youtube {
            &, &:hover, &:focus {
                @extend .text-youtube;
            }
        }
    }
}