summaryrefslogtreecommitdiffstats
path: root/webapp/sass/components/_status-icon.scss
blob: 022cffa69631936ddf7e82eb5d7c495ac01ec63c (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
86
87
88
89
90
91
92
93
94
95
96
97
@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;
        }

        &.status-edit {
            text-align: center;

            i {
                @include opacity(1);
                font-size: 10px;
                position: relative;
                top: 4px;
            }
        }


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

.status {
    display: inline-block;
    margin: 0 7px 0 1px;
    position: relative;
    top: 2px;
    width: 15px;

    &.status--group {
        border-radius: 2px;
        font-size: 10px;
        font-weight: 600;
        height: 15px;
        left: 1px;
        line-height: 14px;
        margin: 0 9px 0 -1px;
        text-align: center;
        top: -2px;
        width: 15px;

        .mentions__name & {
            height: 18px;
            left: 0;
            line-height: 18px;
            margin-left: 0;
            margin-right: 6px;
            text-align: center;
            width: 17px;
        }
    }

    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;
    }
}