Add suggest menu for user mentions in text editor

This commit is contained in:
Frederic Guillot
2016-11-27 15:44:45 -05:00
parent 04ff67e26b
commit d8b0423d15
21 changed files with 454 additions and 30 deletions

View File

@@ -0,0 +1,28 @@
@import variables
#suggest-menu
position: absolute
display: block
z-index: 1000
min-width: 160px
padding: 5px 0
background: #fff
list-style: none
border: 1px solid #ccc
border-radius: 3px
box-shadow: 0 6px 12px rgba(0, 0, 0, .175)
.suggest-menu-item
white-space: nowrap
padding: 3px 10px
color: color('primary')
font-weight: bold
cursor: pointer
&.active
color: #fff
background: #428bca
small
color: #fff
small
color: color('light')
font-weight: normal

View File

@@ -11,6 +11,7 @@
@import tooltip
@import dropdown
@import accordion
@import suggest_menu
@import dialog_box
@import popover
@import pagination