Commit 1b967ea0 authored by Aria Givi's avatar Aria Givi

Tooltips zu den Searchbarbuttons hinzugefuegt

parent 501f1f1f
......@@ -142,4 +142,36 @@
:first-child {
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 @@
<button type="button" id="addFocusBtn">
<i class="fa fa-plus"></i>
</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 class="search-edit-focus js-only">
<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