SPR-838: pixel search toggle vs. nav main ico
This commit is contained in:
parent
d30a9ed419
commit
e6265a933f
1 changed files with 8 additions and 4 deletions
|
@ -5,8 +5,11 @@
|
|||
*/
|
||||
|
||||
.search.main-sidebar {
|
||||
;
|
||||
@main-ico-dummy: @font-size-big + @margin-small*2; //FIXME copied from area_main-sidebar-nav
|
||||
|
||||
@icon-size: @page-header_height;
|
||||
@icon-search_font-size: 25px;
|
||||
@icon-search_font-size: @font-size-big;
|
||||
p.toggleSearch a,
|
||||
button[type="submit"] {
|
||||
.fontello();
|
||||
|
@ -44,7 +47,8 @@
|
|||
margin: -2px 0 0; // reverse transparent border and box-sizing of a child
|
||||
padding: 0;
|
||||
a {
|
||||
width: @toggle-showsidebar_width + 0.1; /* must be a bit a wider than @toggle-showsidebar_width to hide right border on hover / focus */
|
||||
min-width: (@toggle-showsidebar_width + 0.1); /* must be a bit a wider than @toggle-showsidebar_width to hide right border */
|
||||
width: @main-ico-dummy;
|
||||
border: solid 1px transparent;
|
||||
border-bottom: solid 1px @color-border;
|
||||
border-radius: @fix_border-radius 0 0 0;
|
||||
|
@ -58,8 +62,8 @@
|
|||
&::before {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: .8rem;
|
||||
text-align: left;
|
||||
left: 0;
|
||||
text-align: center;
|
||||
margin-top: -(@icon-search_font-size / 2);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue