Skip to content

TagSpaces is an offline, open source, document manager with tagging support

moving search button to the center of the panel

uggrockcdd1736cb55f
diff --git a/data/assets/tagspaces.css b/data/assets/tagspaces.css
index c4161ef07..c2a466f4f 100644
--- a/data/assets/tagspaces.css
+++ b/data/assets/tagspaces.css
@@ -352,6 +352,15 @@ li hr {
width: 250px;
}
+#showSearchButton {
+ z-index: 1000;
+ position: absolute;
+ top: 0;
+ left:0; right:0;
+ margin: 0 auto;
+ width: 50px;
+}
+
#searchBox {
margin-top: 8px;
border: 0;
@@ -518,18 +527,12 @@ input a.resetFilter {
/* Bootstrap Styles white !important */
-.btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active {
+.btn, .btn:hover, .btn:focus, .btn:active, .btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active {
outline: none !important;
background-image: none;
border-radius: 0;
}
-.btn, .btn:hover, .btn:focus, .btn:active {
- outline: none !important;
- background-image: none;
- border-radius: 0;
-}
-
.btn-default:focus {
background-color: white;
}
diff --git a/data/index.html b/data/index.html
index a27a56e90..6fbc7bbd4 100644
--- a/data/index.html
+++ b/data/index.html
@@ -113,7 +113,7 @@ can be found in the LICENSE file.
<span class="fa-stack"><i style="color: lightgray" class="fa fa-circle fa-stack-base fa-stack-2x"></i>
<i class="fa fa-bullhorn fa-stack-1x" style=""></i></span>&nbsp;&nbsp;
<span data-i18n="ns.common:suggestNewFeatures">Suggest New Features</span></a>
- <a class="btn btn-link" data-i18n="[title]ns.common:reportIssuesTooltip" href="https://github.com/uggrock/tagspaces/issues/" id="openGitHubIssues">
+ <a class="btn btn-link" data-i18n="[title]ns.common:reportIssuesTooltip" href="https://github.com/tagspaces/tagspaces/issues/" id="openGitHubIssues">
<span class="fa-stack"><i style="color: lightgray" class="fa fa-circle fa-stack-base fa-stack-2x"></i>
<i class="fa fa-bug fa-stack-1x" style=""></i></span>&nbsp;&nbsp;
<span data-i18n="ns.common:reportIssues">Report Issues</span></a>
@@ -176,7 +176,10 @@ can be found in the LICENSE file.
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
- <div id="searchToolbar" class="form-inline">
+ <button class="btn btn-link" data-i18n="[title]ns.common:searchPlaceholder" id="showSearchButton">
+ <i class="fa fa-lg fa-search"></i>
+ </button>
+ <div id="searchToolbar" class="form-inline">
<button class="btn btn-link" data-i18n="[title]ns.common:clearFilterTooltip" id="clearFilterButton" style="padding-top: 0; padding-right: 2px;">
<i class="fa fa-times"></i>
</button>
@@ -186,9 +189,6 @@ can be found in the LICENSE file.
</button>
</div>
<div id="mainTopMenu" class="input-group" style="position: absolute; top: 0; right: 0; white-space: nowrap;">
- <button class="btn btn-link" data-i18n="[title]ns.common:searchPlaceholder" id="showSearchButton" style="border-left-width: 0;">
- <i class="fa fa-lg fa-search"></i>
- </button>
<button type="button" id="perspectiveSwitcherButton" class="btn btn-link dropdown-toggle" data-toggle="dropdown"><i id="currentPerspectitveIcon" class="fa fa-film"></i>&nbsp;
<span id="currentPerspectitveName">Perspectives</span>&nbsp;<span class="caret"></span>
</button>