Commit 298e948b authored by Karl Hasselbring's avatar Karl Hasselbring
Browse files

Merge branch 'MetaGer-Redesign' of...

Merge branch 'MetaGer-Redesign' of https://gitlab.metager3.de/open-source/MetaGer into MetaGer-Redesign
parents e335d058 1b967ea0
...@@ -142,4 +142,36 @@ ...@@ -142,4 +142,36 @@
:first-child { :first-child {
border-left: none; border-left: none;
} }
}
.searchbar-tooltip {
display: none;
position:absolute;
margin-top: 40px;
& > .searchbar-tooltip-arrow {
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid #ff8000;
margin-left: 5%;
}
& > .searchbar-tooltip-content {
position: relative;
margin-left: -45%;
& > p {
display: inline-block;
background: #ff8000;
border-radius: .25em;
font-size: 16px;
color: white;
padding: 5px 10px;
}
}
}
div:hover > .searchbar-tooltip {
display: inline-block;
} }
\ No newline at end of file
...@@ -16,6 +16,13 @@ ...@@ -16,6 +16,13 @@
<button type="button" id="addFocusBtn"> <button type="button" id="addFocusBtn">
<i class="fa fa-plus"></i> <i class="fa fa-plus"></i>
</button> </button>
<div class="searchbar-tooltip">
<div class="searchbar-tooltip-arrow">
</div>
<div class="searchbar-tooltip-content">
<p>{{{ trans('index.add-focus') }}}</p>
</div>
</div>
</div> </div>
<div class="search-edit-focus js-only"> <div class="search-edit-focus js-only">
<button type="button" id="editFocusBtn" title="@lang('index.edit-focus')"> <button type="button" id="editFocusBtn" title="@lang('index.edit-focus')">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment