summaryrefslogtreecommitdiffstats
path: root/assets/css/objects/_icon.scss
blob: 6718c50929a7d3349f9edea67c97ad2e7c3e4f87 (plain) (blame)
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
@include namespace('icon') {
    @keyframes fall {
        to {
            transform: translateY(105vh) rotate(90deg);
        }
    }
    
    @include object(namespace()) {
        display:         block;
        width:           16px;
        height:          16px;
        stroke-width:    1.5px;
        stroke-linecap:  round;
        stroke-linejoin: round;

        @include modifier('inline') {
            display:        inline-block;
            vertical-align: -.1em;
        }

        @include modifier('snow') {
            position:     fixed;
            z-index:      9999;
            top:          -20px;
            animation:    fall linear forwards;
            stroke-width: 2px;
            color:        #fff;
        }
    }
}