summaryrefslogtreecommitdiffstats
path: root/assets/css/objects/_icon.scss
blob: d074f553620e840fd3193998cd8a92c6fc0904dc (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
31
@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;
            pointer-events: none;
        }
    }
}