forked from podio/jquery-mentions-input
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjquery.mentionsInput.css
120 lines (120 loc) · 3.82 KB
/
jquery.mentionsInput.css
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
.mentions-input-box {
position: relative;
background: #fff; }
.mentions-input-box textarea {
width: 100%;
display: block;
height: 40px;
padding: 9px;
border: 1px solid #dcdcdc;
border-radius: 3px;
overflow: hidden;
background: transparent;
position: relative;
outline: 0;
resize: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box; }
.mentions-input-box .mentions.submitted {
border-bottom-color: gainsboro;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
border-bottom-style: solid;
border-bottom-width: 1px;
border-image-outset: 0px;
border-image-repeat: stretch;
border-image-slice: 100%;
border-image-source: none;
border-image-width: 1;
border-left-color: gainsboro;
border-left-style: solid;
border-left-width: 1px;
border-right-color: gainsboro;
border-right-style: solid;
border-right-width: 1px;
border-top-color: gainsboro;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-top-style: solid;
border-top-width: 1px;
box-shadow: rgba(0, 0, 0, 0.07451) 0px 1px 1px 0px inset;
box-sizing: border-box;
color: #555555;
z-index: 10000;
background-color: white; }
.mentions-input-box .mentions {
position: absolute;
left: 1px;
right: 0;
top: 1px;
bottom: 0;
padding: 9px;
padding-right: 24px;
color: #fff;
overflow: hidden;
height: 74px;
white-space: pre-wrap;
word-wrap: break-word; }
.mentions-input-box .mentions > div {
color: transparent;
white-space: pre-wrap;
width: 100%; }
.mentions-input-box .mentions > div > span {
max-width: 100%; }
.mentions-input-box .mentions > div > span > b {
filter: progid:DXImageTransform.Microsoft.Alpha(opacity = 0);
background: linear-gradient(#f7e8c5, #efb32e) repeat scroll 0% 0% transparent;
border-radius: 2px;
box-shadow: 0px 0px 0px 1px #E2D6BA;
font-weight: normal; }
.mentions-input-box .mentions-autocomplete-list {
display: none;
background: #fff;
border: 1px solid #b2b2b2;
position: absolute;
top: 76px;
left: 0;
right: 0;
z-index: 10000;
margin-top: -2px;
border-radius: 5px;
border-top-right-radius: 0;
border-top-left-radius: 0;
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.14844);
-moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.14844);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.14844); }
.mentions-input-box .mentions-autocomplete-list ul {
margin: 0;
padding: 0; }
.mentions-input-box .mentions-autocomplete-list ul li {
background-color: #fff;
padding: 0 5px;
margin: 0;
width: auto;
border-bottom: 1px solid #eee;
height: 26px;
line-height: 26px;
overflow: hidden;
cursor: pointer;
list-style: none;
white-space: nowrap; }
.mentions-input-box .mentions-autocomplete-list ul li:last-child {
border-radius: 5px; }
.mentions-input-box .mentions-autocomplete-list ul li:hover, .mentions-input-box .mentions-autocomplete-list ul li.active {
background-color: #f2f2f2; }
.mentions-input-box .mentions-autocomplete-list ul li > img,
.mentions-input-box .mentions-autocomplete-list ul li > div.icon {
width: 16px;
height: 16px;
float: left;
margin-top: 5px;
margin-right: 5px;
-moz-background-origin: 3px;
border-radius: 3px; }
.mentions-input-box .mentions-autocomplete-list ul li em {
font-weight: bold;
font-style: none; }
.mentions-input-box .mentions-autocomplete-list ul li b {
background: #ffff99;
font-weight: normal; }