mirror of https://github.com/vector-im/riot-web
84 lines
1.9 KiB
SCSS
84 lines
1.9 KiB
SCSS
/*
|
|
Copyright 2015, 2016 OpenMarket Ltd
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
.mx_SearchBar {
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.mx_SearchBar_input {
|
|
display: inline block;
|
|
border-radius: 3px 0px 0px 3px;
|
|
border: 1px solid $input-border-color;
|
|
font-size: 15px;
|
|
padding: 9px;
|
|
padding-left: 11px;
|
|
width: auto;
|
|
flex: 1 1 0;
|
|
}
|
|
|
|
.mx_SearchBar_searchButton {
|
|
cursor: pointer;
|
|
margin-right: 10px;
|
|
width: 37px;
|
|
height: 37px;
|
|
border-radius: 0px 3px 3px 0px;
|
|
background-color: $accent-color;
|
|
}
|
|
|
|
@keyframes pulsate {
|
|
0% { opacity: 1.0; }
|
|
50% { opacity: 0.1; }
|
|
100% { opacity: 1.0; }
|
|
}
|
|
|
|
.mx_SearchBar_searching img {
|
|
animation: pulsate 0.5s ease-out;
|
|
animation-iteration-count: infinite;
|
|
}
|
|
|
|
.mx_SearchBar_button {
|
|
display: inline;
|
|
border: 0px;
|
|
border-radius: 36px;
|
|
font-weight: 400;
|
|
font-size: 15px;
|
|
color: $accent-fg-color;
|
|
background-color: $accent-color;
|
|
width: auto;
|
|
margin: auto;
|
|
margin-left: 7px;
|
|
padding-top: 6px;
|
|
padding-bottom: 4px;
|
|
padding-left: 24px;
|
|
padding-right: 24px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mx_SearchBar_unselected {
|
|
background-color: $primary-bg-color;
|
|
color: $accent-color;
|
|
border: $accent-color 1px solid;
|
|
}
|
|
|
|
.mx_SearchBar_cancel {
|
|
padding-left: 14px;
|
|
padding-right: 14px;
|
|
cursor: pointer;
|
|
}
|