| 1 |
.rte-autocomplete{ |
| 2 |
position: absolute; |
| 3 |
top: 0px; |
| 4 |
left: 0px; |
| 5 |
display: block; |
| 6 |
z-index: 100000; |
| 7 |
float: left; |
| 8 |
min-width: 160px; |
| 9 |
padding: 5px 0; |
| 10 |
margin: 2px 0 0; |
| 11 |
list-style: none; |
| 12 |
background-color: #fff; |
| 13 |
border: 1px solid #ccc; |
| 14 |
border: 1px solid rgba(0,0,0,0.2); |
| 15 |
-webkit-border-radius: 6px; |
| 16 |
-moz-border-radius: 6px; |
| 17 |
border-radius: 6px; |
| 18 |
-webkit-box-shadow: 0 5px 10px rgba(0,0,0,0.2); |
| 19 |
-moz-box-shadow: 0 5px 10px rgba(0,0,0,0.2); |
| 20 |
box-shadow: 0 5px 10px rgba(0,0,0,0.2); |
| 21 |
-webkit-background-clip: padding-box; |
| 22 |
-moz-background-clip: padding; |
| 23 |
background-clip: padding-box; |
| 24 |
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; |
| 25 |
font-size: 14px; |
| 26 |
} |
| 27 |
|
| 28 |
.rte-autocomplete:before { |
| 29 |
content: ''; |
| 30 |
display: inline-block; |
| 31 |
border-left: 7px solid transparent; |
| 32 |
border-right: 7px solid transparent; |
| 33 |
border-bottom: 7px solid #ccc; |
| 34 |
border-bottom-color: rgba(0, 0, 0, 0.2); |
| 35 |
position: absolute; |
| 36 |
top: -7px; |
| 37 |
left: 9px; |
| 38 |
} |
| 39 |
|
| 40 |
.rte-autocomplete:after { |
| 41 |
content: ''; |
| 42 |
display: inline-block; |
| 43 |
border-left: 6px solid transparent; |
| 44 |
border-right: 6px solid transparent; |
| 45 |
border-bottom: 6px solid white; |
| 46 |
position: absolute; |
| 47 |
top: -6px; |
| 48 |
left: 10px; |
| 49 |
} |
| 50 |
|
| 51 |
.rte-autocomplete > li.loading, |
| 52 |
.rte-autocomplete > li > a { |
| 53 |
display: block; |
| 54 |
padding: 3px 15px; |
| 55 |
clear: both; |
| 56 |
font-weight: normal; |
| 57 |
line-height: 20px; |
| 58 |
color: #333; |
| 59 |
white-space: nowrap; |
| 60 |
text-decoration: none; |
| 61 |
} |
| 62 |
|
| 63 |
.rte-autocomplete >li > a .details { font-size:11px; color:#999 } |
| 64 |
|
| 65 |
.rte-autocomplete >li > a:hover, .rte-autocomplete > li > a:focus, .rte-autocomplete:hover > a, .rte-autocomplete:focus > a { |
| 66 |
color: #fff; |
| 67 |
text-decoration: none; |
| 68 |
background-color: #0081c2; |
| 69 |
background-image: -moz-linear-gradient(top,#08c,#0077b3); |
| 70 |
background-image: -webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3)); |
| 71 |
background-image: -webkit-linear-gradient(top,#08c,#0077b3); |
| 72 |
background-image: -o-linear-gradient(top,#08c,#0077b3); |
| 73 |
background-image: linear-gradient(to bottom,#08c,#0077b3); |
| 74 |
background-repeat: repeat-x; |
| 75 |
filter: progid:DXImageTransform.Microsoft; |
| 76 |
} |
| 77 |
|
| 78 |
.rte-autocomplete >.active > a, .rte-autocomplete > .active > a:hover, .rte-autocomplete > .active > a:focus { |
| 79 |
color: #fff; |
| 80 |
text-decoration: none; |
| 81 |
background-color: #0081c2; |
| 82 |
background-image: -moz-linear-gradient(top,#08c,#0077b3); |
| 83 |
background-image: -webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3)); |
| 84 |
background-image: -webkit-linear-gradient(top,#08c,#0077b3); |
| 85 |
background-image: -o-linear-gradient(top,#08c,#0077b3); |
| 86 |
background-image: linear-gradient(to bottom,#08c,#0077b3); |
| 87 |
background-repeat: repeat-x; |
| 88 |
outline: 0; |
| 89 |
filter: progid:DXImageTransform.Microsoft; |
| 90 |
} |
| 91 |
|
| 92 |
.rte-autocomplete >li > a:hover .details, .rte-autocomplete > li > a:focus .details, .rte-autocomplete:hover > a .details, .rte-autocomplete:focus > a .details { |
| 93 |
color: #fff; |
| 94 |
} |