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

101 lines
2.0 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;
right: 0;
height: @layout-header-height;
display: block !important;
a.button {
min-width: auto;
padding: 0 .5rem;
display: block;
&: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%;
}
form {
display: none;
}
a.icon {
&:before {
&:extend(.font-icon-class);
margin: 0;
}
&.reset:before {
content: @fa-var-trash-alt;
}
&.options:before {
content: @fa-var-angle-down;
}
}
&.active a.button.search {
color: @color-searchbar-icon-active;
}
&.open {
z-index: 10;
left: 0 !important;
right: 0 !important;
.input-group {
display: flex;
}
form {
display: flex;
}
a.button.filter,
a.button.search {
display: none;
}
}
}
.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;
}
}
}