summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/partials/_popover.scss
blob: 4a2ad2748526ae3d4fb503962a38c36dc8a40a27 (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
.channel-header__info .popover-content {
	max-height: 250px;
	overflow: auto;
}

.user-popover {
	cursor: pointer;
	display: inline-block;
}

.user-popover__image {
	margin: 0 0 10px;
	@include border-radius(128px);
}

.user-popover__email {
	max-width: 200px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
}

.search-help-popover {
    visibility: hidden;
    max-width: none;
    width: 100%;
    top: 36px;
    @include single-transition(opacity, 0.3s, ease-in);
    font-size: em(13px);

    &.bottom > .arrow {
        top: -18px;
        border-width: 9px;
        left: 30px;
    }

    .popover-content {
        padding: 3px 13px;
    }

    h4 {
        font-size: 1em;
    }

    ul {
        padding-left: 17px;
        span {
            @include opacity(0.8);
        }
        strong, b {
            @include opacity(1);
        }
    }

    .tooltip-inner {
        max-width: 100%;
    }

    &.visible {
        visibility: visible;
        @include opacity(1);
    }
}

#member-list-popover {
    max-width: initial;
    .popover-content > div {
        max-height: 350px;
        overflow-y: auto;
        overflow-x: hidden;
        > div {
            border-bottom: 1px solid rgba(51,51,51,0.1);
            padding: 8px 8px 8px 15px;
            width: 100%;
            box-sizing: content-box;
            @include clearfix;
            .profile-img {
                border-radius: 50px;
                margin-right: 8px;
            }
            .more-name {
                font-weight: 600;
                font-size: 0.95em;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .more-description {
                @include opacity(0.7);
            }
            .profile-action {
                margin-left: 8px;
                margin-right: 18px;
            }
        }
    }
}