This commit is contained in:
Devin Howard 2015-10-02 14:39:17 +08:00
parent a51777b0ba
commit 80b2b1876a
4 changed files with 14 additions and 16 deletions

View file

@ -616,7 +616,7 @@ Metamaps.GlobalUI.Search = {
var self = Metamaps.GlobalUI.Search; var self = Metamaps.GlobalUI.Search;
function toggleResultSet(set) { function toggleResultSet(set) {
var s = $('.tt-dataset-' + set + ' .tt-suggestions'); var s = $('.tt-dataset-' + set + ' .tt-dataset');
if (s.css('height') == '0px') { if (s.css('height') == '0px') {
s.css({ s.css({
'height': 'auto', 'height': 'auto',
@ -658,4 +658,4 @@ Metamaps.GlobalUI.Search = {
showLoader: function () { showLoader: function () {
$('#searchLoading').show(); $('#searchLoading').show();
} }
}; };

View file

@ -37,7 +37,7 @@ Metamaps.Settings = {
background: '#18202E', background: '#18202E',
text: '#DDD' text: '#DDD'
} }
} },
}; };
Metamaps.Touch = { Metamaps.Touch = {
@ -1564,8 +1564,6 @@ Metamaps.SynapseCard = {
////////////////////// END TOPIC AND SYNAPSE CARDS ////////////////////////////////// ////////////////////// END TOPIC AND SYNAPSE CARDS //////////////////////////////////
/* /*
* *
* VISUALIZE * VISUALIZE

View file

@ -1373,10 +1373,10 @@ h3.realtimeBoxTitle {
/* topic and synapse autocomplete */ /* topic and synapse autocomplete */
#new_topic .tt-suggestion.tt-is-under-cursor, #new_topic .tt-suggestion:hover,
#new_topic .tt-suggestion.tt-is-under-mouse-cursor, #new_topic .tt-suggestion.tt-cursor,
#new_synapse .tt-suggestion.tt-is-under-cursor, #new_synapse .tt-suggestion:hover,
#new_synapse .tt-suggestion.tt-is-under-mouse-cursor { #new_synapse .tt-suggestion.tt-cursor {
background: #E0E0E0; background: #E0E0E0;
} }
#new_topic .tt-suggestion, #new_topic .tt-suggestion,
@ -1421,12 +1421,12 @@ h3.realtimeBoxTitle {
background-image: url(arrowright_sprite.png); background-image: url(arrowright_sprite.png);
background-position: 0 -32px; background-position: 0 -32px;
} }
#new_topic .tt-suggestion.tt-is-under-cursor .expandTopicMetadata, #new_topic .tt-suggestion:hover .expandTopicMetadata,
#new_topic .tt-suggestion.tt-is-under-mouse-cursor .expandTopicMetadata { #new_topic .tt-suggestion.tt-cursor .expandTopicMetadata {
display: block; display: block;
} }
#new_topic .tt-suggestion.tt-is-under-cursor .topicMetadata, #new_topic .tt-suggestion:hover .topicMetadata,
#new_topic .tt-suggestion.tt-is-under-mouse-cursor .topicMetadata { #new_topic .tt-suggestion.tt-cursor .topicMetadata {
display: block; display: block;
} }
#new_topic .topicMetadata { #new_topic .topicMetadata {

View file

@ -301,7 +301,7 @@
.sidebarSearch .tt-dropdown-menu .maximizeResults { .sidebarSearch .tt-dropdown-menu .maximizeResults {
background-position: -32px 0; background-position: -32px 0;
} }
.sidebarSearch .tt-suggestions { .sidebarSearch .tt-dataset {
overflow: visible; overflow: visible;
} }
.sidebarSearch .tt-suggestion { .sidebarSearch .tt-suggestion {
@ -310,7 +310,7 @@
padding: 8px 0; padding: 8px 0;
} }
.sidebarSearch .tt-is-under-cursor, .sidebarSearch .tt-is-under-cursor,
.sidebarSearch .tt-is-under-mouse-cursor { .sidebarSearch .tt-suggestion:hover {
background: #E0E0E0; background: #E0E0E0;
} }
@ -1227,4 +1227,4 @@ box-shadow: 0px 1px 1.5px rgba(0,0,0,0.12), 0 1px 1px rgba(0,0,0,0.24);
body a#barometer_tab:hover { body a#barometer_tab:hover {
background-position: 0 -110px; background-position: 0 -110px;
} }