mirror of
https://github.com/humhub/humhub.git
synced 2025-04-22 16:11:55 +02:00
BS5 - Space Chooser - https://github.com/humhub/humhub-internal/issues/539
This commit is contained in:
parent
ca8043315d
commit
61e1b711ab
@ -386,11 +386,11 @@ humhub.module('space.chooser', function (module, require, $) {
|
||||
var atLeastTwo = input && input.length > 1;
|
||||
|
||||
if (emptyResult && atLeastTwo) {
|
||||
this.$remoteSearch.html('<li><div class="text-body-secondary">' + module.text('info.emptyResult') + '</div></li>');
|
||||
this.$remoteSearch.html('<div class="text-body-secondary">' + module.text('info.emptyResult') + '</div>');
|
||||
} else if (emptyResult) {
|
||||
this.$remoteSearch.html('<li><div class="text-body-secondary">' + module.text('info.emptyOwnResult') + '<br/>' + module.text('info.remoteAtLeastInput') + '</div></li>');
|
||||
this.$remoteSearch.html('<div class="text-body-secondary">' + module.text('info.emptyOwnResult') + '<br/>' + module.text('info.remoteAtLeastInput') + '</div>');
|
||||
} else if (!atLeastTwo) {
|
||||
this.$remoteSearch.html('<li><div class="text-body-secondary">' + module.text('info.remoteAtLeastInput') + '</div></li>');
|
||||
this.$remoteSearch.html('<div class="text-body-secondary">' + module.text('info.remoteAtLeastInput') + '</div>');
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -322,14 +322,15 @@
|
||||
}
|
||||
}
|
||||
|
||||
form {
|
||||
margin: 10px;
|
||||
form.dropdown-header {
|
||||
margin: 0;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.search-reset {
|
||||
position: absolute;
|
||||
color: #BFBFBF;
|
||||
margin: 7px;
|
||||
margin: 4px;
|
||||
top: 0px;
|
||||
right: 40px;
|
||||
z-index: 10;
|
||||
|
@ -11144,13 +11144,14 @@ span.likeLinkContainer .like.disabled, span.likeLinkContainer .unlike.disabled {
|
||||
max-height: 400px;
|
||||
}
|
||||
}
|
||||
#topbar-second #space-menu-dropdown form, #topbar-second #search-menu-dropdown form {
|
||||
margin: 10px;
|
||||
#topbar-second #space-menu-dropdown form.dropdown-header, #topbar-second #search-menu-dropdown form.dropdown-header {
|
||||
margin: 0;
|
||||
padding: 10px;
|
||||
}
|
||||
#topbar-second #space-menu-dropdown .search-reset, #topbar-second #search-menu-dropdown .search-reset {
|
||||
position: absolute;
|
||||
color: #BFBFBF;
|
||||
margin: 7px;
|
||||
margin: 4px;
|
||||
top: 0px;
|
||||
right: 40px;
|
||||
z-index: 10;
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user