summaryrefslogtreecommitdiffstats
path: root/webapp/sass/components/_status-icon.scss
blob: c2f8bca5ba677802afa4459f01f2d01b62f8b771 (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
@charset 'UTF-8';

.status-wrapper {
    display: inline-block;
    height: 32px;
    position: relative;

    .status {
        border-radius: 100px;
        bottom: -4px;
        height: 15px;
        line-height: 0;
        margin: 0;
        position: absolute;
        right: -3px;
        top: auto;
        width: 15px;

        .modal & {
            bottom: -6px;
        }


        svg {
            max-height: 11px;
            position: relative;
            top: 2px;
        }
    }
}

.status {
    display: inline-block;
    margin-right: 6px;
    position: relative;
    top: 1px;
    width: 12px;

    &.status--group {
        border-radius: 2px;
        font-size: 11px;
        font-weight: 600;
        height: 16px;
        left: 1px;
        line-height: 15px;
        margin-left: -3px;
        text-align: center;
        top: -1px;
        width: 16px;

        .mentions__name & {
            height: 20px;
            left: 0;
            line-height: 20px;
            margin-left: 0;
            text-align: center;
            width: 20px;
        }
    }

    svg {
        max-height: 14px;
    }

    i,
    path,
    ellipse {
        @include opacity(.5);

        &.online--icon,
        &.away--icon {
            @include opacity(1);
        }
    }

    .fa-lock {
        margin-left: 1px;
    }

    .fa-globe {
        position: relative;
        top: -1px;
    }
}