You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
roundcubemail/skins/elastic/styles/widgets/searchbar.less

78 lines
1.6 KiB
Plaintext

/**
* Roundcube webmail styles for the Elastic skin
*
* Copyright (c) 2017, The Roundcube Dev Team
*
* The contents are subject to the Creative Commons Attribution-ShareAlike
* License. It is allowed to copy, distribute, transmit and to adapt the work
* by keeping credits to the original authors in the README.md file.
* See http://creativecommons.org/licenses/by-sa/3.0/ for details.
*/
/*** Searchbar and searchfilterbar widgets ***/
.searchbar {
position: absolute;
background-color: @color-layout-header-background;
z-index: 10;
right: 0;
height: @layout-header-height;
display: block !important;
a.button {
min-width: auto;
padding: 0 .5rem;
&:before {
line-height: @layout-header-height;
}
}
.input-group {
margin-top: calc(@layout-header-height/2 - 2.25rem/2);
display: none;
padding: 0 .5rem;
}
.input-group-addon {
padding: .5rem;
font-size: 80%;
}
a.icon {
&:before {
&:extend(.font-icon-class);
margin: 0;
}
&.reset:before {
content: @fa-var-trash;
}
&.options:before {
content: @fa-var-angle-down;
}
}
&.active a.button.search {
color: @color-searchbar-icon-active;
}
}
.searchfilterbar {
right: @layout-touch-icon-width;
&.active a.button.filter {
color: @color-searchbar-icon-active;
}
}
html.ie11 {
.searchbar {
a.button.filter:before,
a.button.search:before {
line-height: 3.2;
font-size: 1.25rem;
}
}
}