mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
6cf9166c4a
It's become obvious that these random floating points everywhere are unwieldy. Now they're all in one place with some fairly logical variable names which will help out in design->implementation phase.
49 lines
1.3 KiB
SCSS
49 lines
1.3 KiB
SCSS
/*
|
|
Copyright 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_DirectorySearchBox {
|
|
display: flex;
|
|
padding-left: 9px;
|
|
padding-right: 9px;
|
|
}
|
|
|
|
.mx_DirectorySearchBox_joinButton {
|
|
display: table-cell;
|
|
padding: 3px;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
background-color: $plinth-bg-color;
|
|
border-radius: 3px;
|
|
background-image: url('$(res)/img/icon-return.svg');
|
|
background-position: 8px 70%;
|
|
background-repeat: no-repeat;
|
|
text-indent: 18px;
|
|
font-weight: 600;
|
|
font-size: $font-12px;
|
|
user-select: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mx_DirectorySearchBox_clear {
|
|
background-color: $warning-color;
|
|
mask: url('$(res)/img/cancel.svg');
|
|
mask-repeat: no-repeat;
|
|
mask-position: center;
|
|
mask-size: 10px;
|
|
width: 15px;
|
|
height: 15px;
|
|
cursor: pointer;
|
|
}
|