File: _muc.scss

package info (click to toggle)
libjs-jsxc 3.0.0%2Bdfsg3-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 16,856 kB
  • ctags: 2,731
  • sloc: makefile: 13; sh: 1
file content (129 lines) | stat: -rw-r--r-- 2,977 bytes parent folder | download | duplicates (2)
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
%muc-avatar-icon {
    text-indent: 999px;
    background-image: image-url("group_white.svg");
    background-size: 70% 70% !important;
    background-repeat: no-repeat;
}

.jsxc_windowItem {
    &.jsxc_groupchat.jsxc_normal {
        .jsxc_fade {
            padding-top: 44px;
        }

        .jsxc_fingerprints, .jsxc_verification, .jsxc_transfer, .jsxc_video, .jsxc_sendFile {
            display: none;
        }

        .jsxc_members {
            background-image: image-url("group_white.svg");
            background-size: 15px 15px;
            background-repeat: no-repeat;
            background-position: center;

            &:hover {
                opacity: 1.0;
            }
        }

        .jsxc_chatmessage.jsxc_in {
            margin-left: 50px;

            .jsxc_avatar {
                display: block;
                position: absolute;
                bottom: 0px;
                left: -50px;
                background-color: #777;

                &:before {
                    display: none;
                }
            }
        }

        .jsxc_bar {
            .jsxc_avatar {
                @extend %muc-avatar-icon;
            }
        }
    }

    .jsxc_memberlist {
        height: 44px;
        width: 100%;
        background-color: $window_bar_bg;
        overflow: hidden;
        position: absolute;
        top: 0px;
        transition: height 400ms;
        z-index: 100;

        ul {
            white-space: nowrap;
            position: absolute;
            background-color: $window_bar_bg;
            color: $window_bar_color;
            overflow: hidden;
            transition: left 400ms;
            padding: 0px;
            padding-left: 6px;
            padding-right: 6px;
            padding-top: 3px;

            & > li {
                display: inline-block;
                white-space: normal;

                &:last-child {
                    margin-right: 2px;
                }

                .jsxc_name {
                    display: none;
                }

                .jsxc_avatar {
                    margin-left: 2px;
                    margin-right: 0px;
                }
            }
        }

        &.jsxc_expand {
            ul {
                white-space: normal;

                & > li {
                    display: block;
                    width: 100%;
                    height: 40px;
                    line-height: 40px;

                    .jsxc_name {
                        display: block;
                        cursor: default;

                        &:hover {
                            color: inherit;
                        }
                    }

                    .jsxc_avatar {
                        margin-right: 4px;
                    }
                }
            }
        }
    }
}

li[data-type="groupchat"] {
    .jsxc_avatar {
        @extend %muc-avatar-icon;
    }

    .jsxc_video {
        display: none;
    }
}