rework autocomplete: css work
This commit is contained in:
parent
c42922f25f
commit
e3475bd587
20 changed files with 460 additions and 36 deletions
|
@ -144,7 +144,7 @@ nav #banner #logo-text a:hover { text-decoration: none; }
|
|||
height: 15px;
|
||||
margin-top: 67px;
|
||||
margin-right: 2px;
|
||||
//padding: 6px 10px;
|
||||
/*padding: 6px 10px;*/
|
||||
padding: 6px 3px;
|
||||
float: left;
|
||||
bottom: 140px;
|
||||
|
@ -244,7 +244,7 @@ section {
|
|||
display:block;
|
||||
float:left;
|
||||
padding: 0.4em;
|
||||
//margin-right: 1em;
|
||||
/*margin-right: 1em;*/
|
||||
margin-right: 3px ;
|
||||
}
|
||||
.tab.active {
|
||||
|
@ -3288,6 +3288,12 @@ aside input[type='text'] {
|
|||
|
||||
/* autocomplete popup */
|
||||
.acpopup {
|
||||
background-color:#ffffff;
|
||||
overflow:auto;
|
||||
z-index:100000;
|
||||
border:1px solid #cccccc;
|
||||
}
|
||||
.acpopup-mce {
|
||||
max-height:150px;
|
||||
background-color:#ffffff;
|
||||
overflow:auto;
|
||||
|
@ -3306,6 +3312,12 @@ aside input[type='text'] {
|
|||
.acpopupitem.selected {
|
||||
color: #FFFFFF; background: #3465A4;
|
||||
}
|
||||
.textcomplete-item.active {
|
||||
color: #FFFFFF; background: #3465A4;
|
||||
}
|
||||
.active a .acpopup-sub-text {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* popup notifications */
|
||||
div.jGrowl div.notice {
|
||||
|
|
|
@ -389,7 +389,7 @@
|
|||
$('body').css('cursor', 'auto');
|
||||
}
|
||||
/* autocomplete @nicknames */
|
||||
$(".comment-edit-form textarea").contact_autocomplete(baseurl+"/acl");
|
||||
$(".comment-edit-form textarea").editor_autocomplete(baseurl+"/acl");
|
||||
|
||||
// setup videos, since VideoJS won't take care of any loaded via AJAX
|
||||
if(typeof videojs != 'undefined') videojs.autoSetup();
|
||||
|
|
|
@ -121,7 +121,7 @@ $(document).ready(function() {
|
|||
a.setOptions({ params: { type: 'a' }});
|
||||
break;
|
||||
case 'display-head':
|
||||
$(".comment-wwedit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
$(".comment-wwedit-wrapper textarea").editor_autocomplete(baseurl+"/acl");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -286,7 +286,7 @@ function initEditor(cb){
|
|||
if(plaintext == 'none') {
|
||||
// $("#profile-jot-text-loading").hide();
|
||||
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
||||
$("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
|
||||
$("#profile-jot-text").editor_autocomplete(baseurl+"/acl");
|
||||
editor = true;
|
||||
/* $("a#jot-perms-icon").colorbox({
|
||||
'inline' : true,
|
||||
|
|
|
@ -4160,6 +4160,64 @@ aside input[type='text'] {
|
|||
.acpopupitem.selected {
|
||||
color: #FFFFFF; background: #3465A4;
|
||||
}
|
||||
ul.acpopup {
|
||||
list-style: none;
|
||||
float: left;
|
||||
min-width: 160px;
|
||||
padding: 5px 0;
|
||||
margin: 2px 0 0;
|
||||
}
|
||||
nav .acpopup {
|
||||
width: 290px;
|
||||
margin-left: -35px;
|
||||
max-height: 450px;
|
||||
max-width: 300px;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
margin-top: 0px;
|
||||
}
|
||||
img.acpopup-img {
|
||||
float: left;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
margin-right: 5px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.acpopup-contactname {
|
||||
padding-top: 2px;
|
||||
font-weight: bold;
|
||||
line-height: 1em;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
}
|
||||
.acpopup-sub-text {
|
||||
color: #777;
|
||||
font-size: 0.833em;
|
||||
line-height: 1em;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
}
|
||||
.textcomplete-item a {
|
||||
color: inherit;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
clear: both;
|
||||
white-space: nowrap;
|
||||
padding: 3px 20px;
|
||||
display: block;
|
||||
}
|
||||
.textcomplete-item a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
.textcomplete-item.active {
|
||||
color: #FFFFFF; background: #3465A4;
|
||||
}
|
||||
.active a .acpopup-sub-text {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* popup notifications */
|
||||
div.jGrowl div.notice {
|
||||
|
|
|
@ -7,7 +7,8 @@
|
|||
<script type="text/javascript" src="{{$baseurl}}/library/jgrowl/jquery.jgrowl_minimized.js"></script>
|
||||
<script type="text/javascript" src="{{$baseurl}}/library/datetimepicker/jquery.datetimepicker.js"></script>
|
||||
|
||||
<script type="text/javascript" src="{{$baseurl}}/js/fk.autocomplete.js" ></script>
|
||||
<script type="text/javascript" src="{{$baseurl}}/library/jquery-textcomplete/jquery.textcomplete.js" ></script>
|
||||
<script type="text/javascript" src="{{$baseurl}}/js/autocomplete.js" ></script>
|
||||
<script type="text/javascript" src="{{$baseurl}}/view/theme/frost-mobile/js/acl.js" ></script>
|
||||
<script type="text/javascript" src="{{$baseurl}}/js/webtoolkit.base64.js" ></script>
|
||||
<script type="text/javascript" src="{{$baseurl}}/view/theme/frost-mobile/js/main.js" ></script>
|
||||
|
|
|
@ -402,7 +402,7 @@
|
|||
$('body').css('cursor', 'auto');
|
||||
}
|
||||
/* autocomplete @nicknames */
|
||||
$(".comment-edit-form textarea").contact_autocomplete(baseurl+"/acl");
|
||||
$(".comment-edit-form textarea").editor_autocomplete(baseurl+"/acl");
|
||||
|
||||
collapseHeight();
|
||||
|
||||
|
|
|
@ -232,7 +232,7 @@ $(document).ready(function() {
|
|||
a.setOptions({ params: { type: 'a' }});
|
||||
break;
|
||||
case 'display-head':
|
||||
$(".comment-wwedit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
$(".comment-wwedit-wrapper textarea").editor_autocomplete(baseurl+"/acl");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -587,7 +587,7 @@ function initEditor(cb){
|
|||
plaintextFn : function() {
|
||||
$("#profile-jot-text-loading").hide();
|
||||
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
||||
$("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
|
||||
$("#profile-jot-text").editor_autocomplete(baseurl+"/acl");
|
||||
$(".jothidden").show();
|
||||
if (typeof cb!="undefined") cb();
|
||||
}
|
||||
|
@ -660,7 +660,7 @@ function msgInitEditor() {
|
|||
});
|
||||
},
|
||||
plaintextFn : function() {
|
||||
$("#prvmail-text").contact_autocomplete(baseurl+"/acl");
|
||||
$("#prvmail-text").editor_autocomplete(baseurl+"/acl");
|
||||
}
|
||||
}
|
||||
InitMCEEditor(editorData);
|
||||
|
|
|
@ -4010,13 +4010,15 @@ aside input[type='text'] {
|
|||
|
||||
|
||||
/* autocomplete popup */
|
||||
.acpopup {
|
||||
max-height:150px;
|
||||
.acpopup, .acpopup-mce {
|
||||
background-color:#ffffff;
|
||||
overflow:auto;
|
||||
z-index:100000;
|
||||
border:1px solid #cccccc;
|
||||
}
|
||||
.acpopup-mce {
|
||||
max-height:150px;
|
||||
}
|
||||
.acpopupitem {
|
||||
background-color:#ffffff; padding: 4px;
|
||||
clear:left;
|
||||
|
@ -4030,6 +4032,65 @@ aside input[type='text'] {
|
|||
color: #FFFFFF; background: #3465A4;
|
||||
}
|
||||
|
||||
ul.acpopup {
|
||||
list-style: none;
|
||||
float: left;
|
||||
min-width: 160px;
|
||||
padding: 5px 0;
|
||||
margin: 2px 0 0;
|
||||
}
|
||||
nav .acpopup {
|
||||
width: 290px;
|
||||
margin-left: -35px;
|
||||
max-height: 450px;
|
||||
max-width: 300px;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
margin-top: 0px;
|
||||
}
|
||||
img.acpopup-img {
|
||||
float: left;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
margin-right: 5px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.acpopup-contactname {
|
||||
padding-top: 2px;
|
||||
font-weight: bold;
|
||||
line-height: 1em;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
}
|
||||
.acpopup-sub-text {
|
||||
color: #777;
|
||||
font-size: 0.833em;
|
||||
line-height: 1em;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
}
|
||||
.textcomplete-item a {
|
||||
color: inherit;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
clear: both;
|
||||
white-space: nowrap;
|
||||
padding: 3px 20px;
|
||||
display: block;
|
||||
}
|
||||
.textcomplete-item a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
.textcomplete-item.active {
|
||||
color: #FFFFFF; background: #3465A4;
|
||||
}
|
||||
.active a .acpopup-sub-text {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* popup notifications */
|
||||
div.jGrowl div.notice {
|
||||
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
|
||||
<script type="text/javascript" src="{{$baseurl}}/view/theme/frost/js/acl.js" ></script>
|
||||
<script type="text/javascript" src="{{$baseurl}}/js/webtoolkit.base64.js" ></script>
|
||||
<script type="text/javascript" src="{{$baseurl}}/js/fk.autocomplete.js" ></script>
|
||||
<script type="text/javascript" src="{{$baseurl}}/library/jquery-textcomplete/jquery.textcomplete.js" ></script>
|
||||
<script type="text/javascript" src="{{$baseurl}}/js/autocomplete.js" ></script>
|
||||
<script type="text/javascript" src="{{$baseurl}}/view/theme/frost/js/main.js" ></script>
|
||||
<script type="text/javascript" src="{{$baseurl}}/view/theme/frost/js/theme.js"></script>
|
||||
|
||||
|
|
|
@ -463,7 +463,7 @@ a:hover {
|
|||
text-decoration: underline;
|
||||
}
|
||||
blockquote {
|
||||
background: #FFFFFF;
|
||||
background: #ffffff;
|
||||
padding: 1em;
|
||||
margin-left: 1em;
|
||||
border-left: 1em solid #e6e6e6;
|
||||
|
@ -744,8 +744,12 @@ ul.menu-popup .toolbar a:hover {
|
|||
}
|
||||
/* autocomplete popup */
|
||||
.autocomplete,
|
||||
.acpopup {
|
||||
.acpopup-mce {
|
||||
max-height: 150px;
|
||||
}
|
||||
.autocomplete,
|
||||
.acpopup-mce,
|
||||
.acpopup {
|
||||
background-color: #ffffff;
|
||||
color: #2d2d2d;
|
||||
border: 1px solid #364e59;
|
||||
|
@ -774,6 +778,15 @@ ul.menu-popup .toolbar a:hover {
|
|||
.acpopupitem.selected {
|
||||
background-color: #bdcdd4;
|
||||
}
|
||||
.textcomplete-item {
|
||||
color: #2d2d2d;
|
||||
}
|
||||
.textcomplete-item a:hover {
|
||||
color: #2d2d2d;
|
||||
}
|
||||
.textcomplete-item.active {
|
||||
background-color: #bdcdd4;
|
||||
}
|
||||
#nav-notifications-menu {
|
||||
width: 400px;
|
||||
max-height: 550px;
|
||||
|
|
|
@ -463,7 +463,7 @@ a:hover {
|
|||
text-decoration: underline;
|
||||
}
|
||||
blockquote {
|
||||
background: #FFFFFF;
|
||||
background: #ffffff;
|
||||
padding: 1em;
|
||||
margin-left: 1em;
|
||||
border-left: 1em solid #e6e6e6;
|
||||
|
@ -744,8 +744,12 @@ ul.menu-popup .toolbar a:hover {
|
|||
}
|
||||
/* autocomplete popup */
|
||||
.autocomplete,
|
||||
.acpopup {
|
||||
.acpopup-mce {
|
||||
max-height: 150px;
|
||||
}
|
||||
.autocomplete,
|
||||
.acpopup-mce,
|
||||
.acpopup {
|
||||
background-color: #ffffff;
|
||||
color: #2d2d2d;
|
||||
border: 1px solid #364e59;
|
||||
|
@ -774,6 +778,15 @@ ul.menu-popup .toolbar a:hover {
|
|||
.acpopupitem.selected {
|
||||
background-color: #ccff42;
|
||||
}
|
||||
.textcomplete-item {
|
||||
color: #2d2d2d;
|
||||
}
|
||||
.textcomplete-item a:hover {
|
||||
color: #2d2d2d;
|
||||
}
|
||||
.textcomplete-item.active {
|
||||
background-color: #ccff42;
|
||||
}
|
||||
#nav-notifications-menu {
|
||||
width: 400px;
|
||||
max-height: 550px;
|
||||
|
|
|
@ -420,7 +420,7 @@
|
|||
body {
|
||||
font-family: Liberation Sans, helvetica, arial, clean, sans-serif;
|
||||
font-size: 11px;
|
||||
background-color: #F6ECF9;
|
||||
background-color: #f6ecf9;
|
||||
color: #2d2d2d;
|
||||
margin: 50px 0 0 0;
|
||||
display: table;
|
||||
|
@ -463,7 +463,7 @@ a:hover {
|
|||
text-decoration: underline;
|
||||
}
|
||||
blockquote {
|
||||
background: #FFFFFF;
|
||||
background: #ffffff;
|
||||
padding: 1em;
|
||||
margin-left: 1em;
|
||||
border-left: 1em solid #e6e6e6;
|
||||
|
@ -744,8 +744,12 @@ ul.menu-popup .toolbar a:hover {
|
|||
}
|
||||
/* autocomplete popup */
|
||||
.autocomplete,
|
||||
.acpopup {
|
||||
.acpopup-mce {
|
||||
max-height: 150px;
|
||||
}
|
||||
.autocomplete,
|
||||
.acpopup-mce,
|
||||
.acpopup {
|
||||
background-color: #ffffff;
|
||||
color: #2d2d2d;
|
||||
border: 1px solid #364e59;
|
||||
|
@ -774,6 +778,15 @@ ul.menu-popup .toolbar a:hover {
|
|||
.acpopupitem.selected {
|
||||
background-color: #c0a3c7;
|
||||
}
|
||||
.textcomplete-item {
|
||||
color: #2d2d2d;
|
||||
}
|
||||
.textcomplete-item a:hover {
|
||||
color: #2d2d2d;
|
||||
}
|
||||
.textcomplete-item.active {
|
||||
background-color: #c0a3c7;
|
||||
}
|
||||
#nav-notifications-menu {
|
||||
width: 400px;
|
||||
max-height: 550px;
|
||||
|
@ -1753,7 +1766,7 @@ span[id^="showmore-wrap"] {
|
|||
height: 20px;
|
||||
width: 500px;
|
||||
font-weight: bold;
|
||||
border: 1px solid #F6ECF9;
|
||||
border: 1px solid #f6ecf9;
|
||||
}
|
||||
#jot #jot-title:-webkit-input-placeholder {
|
||||
font-weight: normal;
|
||||
|
@ -1780,7 +1793,7 @@ span[id^="showmore-wrap"] {
|
|||
margin: 0;
|
||||
height: 20px;
|
||||
width: 200px;
|
||||
border: 1px solid #F6ECF9;
|
||||
border: 1px solid #f6ecf9;
|
||||
}
|
||||
#jot #jot-category:hover {
|
||||
border: 1px solid #999999;
|
||||
|
|
|
@ -265,9 +265,10 @@ ul.menu-popup {
|
|||
}
|
||||
|
||||
/* autocomplete popup */
|
||||
.autocomplete, .acpopup-mce { max-height:150px; }
|
||||
.autocomplete,
|
||||
.acpopup-mce,
|
||||
.acpopup {
|
||||
max-height:150px;
|
||||
background-color:@MenuBg;
|
||||
color: @Menu;
|
||||
border:1px solid @MenuBorder;
|
||||
|
@ -291,6 +292,15 @@ ul.menu-popup {
|
|||
background-color: @MenuItemHoverBg;
|
||||
}
|
||||
}
|
||||
.textcomplete-item {
|
||||
color: @MenuItem;
|
||||
a:hover{
|
||||
color: @MenuItem;
|
||||
}
|
||||
&.active{
|
||||
background-color: @MenuItemHoverBg;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#nav-notifications-menu {
|
||||
|
|
|
@ -4353,8 +4353,7 @@ ul.menu-popup {
|
|||
}
|
||||
|
||||
/* autocomplete popup */
|
||||
.acpopup {
|
||||
max-height: 150px;
|
||||
.acpopup, acpopup-mce {
|
||||
overflow: auto;
|
||||
z-index: 100000;
|
||||
color: #2e3436;
|
||||
|
@ -4371,6 +4370,10 @@ ul.menu-popup {
|
|||
-webkit-box-shadow: 0 0 8px #BDBDBD;
|
||||
}
|
||||
|
||||
.acpopup-mce {
|
||||
max-height: 150px;
|
||||
}
|
||||
|
||||
.acpopupitem {
|
||||
color: #2e3436;
|
||||
padding: 4px;
|
||||
|
@ -4381,7 +4384,7 @@ ul.menu-popup {
|
|||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.acpopupitem.selected {
|
||||
.acpopupitem.selected, .textcomplete-item.active {
|
||||
color: #efefef;
|
||||
background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #1873a2), color-stop(1, #6da6c4) );
|
||||
background: -moz-linear-gradient( center top, #1873a2 5%, #6da6c4 100% );
|
||||
|
@ -4390,6 +4393,10 @@ ul.menu-popup {
|
|||
order-bottom: none;
|
||||
}
|
||||
|
||||
.textcomplete-item a:hover, .textcomplete-item a:hover .acpopup-sub-text, .textcomplete-item.active a .acpopup-sub-text {
|
||||
color: #efefef;
|
||||
}
|
||||
|
||||
.qcomment {
|
||||
opacity: 0.8;
|
||||
filter: alpha(opacity=0);
|
||||
|
|
|
@ -12,7 +12,7 @@ function initEditor(cb){
|
|||
if(plaintext == 'none') {
|
||||
$("#profile-jot-text-loading").hide();
|
||||
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
||||
$("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
|
||||
$("#profile-jot-text").editor_autocomplete(baseurl+"/acl");
|
||||
$(".jothidden").show();
|
||||
editor = true;
|
||||
$("a#jot-perms-icon").colorbox({
|
||||
|
|
|
@ -430,7 +430,7 @@ code {
|
|||
.sidebar-group-li:hover, #sidebar-new-group:hover, #sidebar-edit-groups:hover,#forum-widget-collapse:hover,
|
||||
#sidebar-ungrouped:hover, .side-link:hover, .nets-ul li:hover, #forumlist-sidebar li:hover, #forumlist-sidebar-right li:hover,
|
||||
.nets-all:hover, .saved-search-li:hover, li.tool:hover, .admin.link:hover, aside h4 a:hover, right_aside h4 a:hover, #message-new:hover,
|
||||
#sidebar-photos-albums li:hover, .photos-upload-link:hover {
|
||||
#sidebar-photos-albums li:hover, .photos-upload-link:hover, .textcomplete-item.active {
|
||||
/* background-color: #ddd; */
|
||||
/* background-color: #e5e5e5; */
|
||||
background-color: #F5F5F5;
|
||||
|
@ -900,15 +900,18 @@ ul.menu-popup .empty {
|
|||
color: #9eabb0;
|
||||
}
|
||||
/* autocomplete popup */
|
||||
.acpopup {
|
||||
max-height: 150px;
|
||||
|
||||
.acpopup, .acpopup-mce {
|
||||
background-color: #ffffff;
|
||||
color: #2d2d2d;
|
||||
border: 1px solid #MenuBorder;
|
||||
overflow: auto;
|
||||
z-index: 100000;
|
||||
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
acpopup-mce {
|
||||
color: #2d2d2d;
|
||||
max-height: 150px;
|
||||
}
|
||||
.acpopupitem {
|
||||
color: #2d2d2d;
|
||||
padding: 4px;
|
||||
|
@ -921,6 +924,16 @@ ul.menu-popup .empty {
|
|||
.acpopupitem.selected {
|
||||
background-color: #bdcdd4;
|
||||
}
|
||||
.textcomplete-item {
|
||||
float: none;
|
||||
}
|
||||
.textcomplete-item a {
|
||||
color: #737373;
|
||||
}
|
||||
.textcomplete-item a:hover {
|
||||
padding: 3px 20px;
|
||||
}
|
||||
|
||||
#nav-notifications-menu {
|
||||
width: 400px;
|
||||
max-height: 550px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue