summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/partials/_mentions.scss
blob: aa654e9e884e4c43df2983aeb4999cb862f3ddeb (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
@charset "UTF-8";

.mention {
	color: #fff;
	background: $primary-color;
	position: relative;
	z-index: 10;
	padding-bottom: 2px;
	@include border-radius(3px);
}

.mentions-name {
	position:relative;
	width:100%;
	height:36px;
	padding:2px;
	z-index:101;
	line-height: 36px;
	font-size: 13px;
	cursor: pointer;
	white-space: nowrap;

	.mention-align {
		@include clearfix;
		text-overflow: ellipsis;
		width: calc(100% - 50px);
	}
}

.mentions-text {
	font-color:black;
}

.mention-img {
	margin-right: 6px;
	height: 32px;
	width: 32px;
	line-height: 36px;
	display: block;
	font-size: 20px;
	text-align: center;
	@include border-radius(32px);

	.mention-align {
		max-width: 80%;
		overflow: hidden;
		display: inline-block;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

}

.mention-fullname {
	color: grey;
	padding-left: 10px;
}

.mention-highlight {
	background-color:#fff2bb;
}