summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/partials/_popover.scss
blob: 72cb43481c1559152297df86426a27b42020fe8e (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
.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.7);
        }
        strong, b {
            @include opacity(1);
        }
    }

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

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