Move LanguageSelector to views
It's too simple to be called a structure.
This commit is contained in:
parent
3503562162
commit
9f5f552be1
4 changed files with 2 additions and 2 deletions
46
res/css/views/auth/_LanguageSelector.scss
Normal file
46
res/css/views/auth/_LanguageSelector.scss
Normal file
|
@ -0,0 +1,46 @@
|
|||
/*
|
||||
Copyright 2019 New Vector 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_Auth_language {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mx_Auth_language .mx_Dropdown_input {
|
||||
border: none;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: $authpage-lang-color;
|
||||
}
|
||||
|
||||
/* TODO: Consider using this new arrow for all dropdowns */
|
||||
.mx_Auth_language .mx_Dropdown_arrow {
|
||||
width: 10px;
|
||||
height: 6px;
|
||||
border: none;
|
||||
right: 6px;
|
||||
}
|
||||
|
||||
.mx_Auth_language .mx_Dropdown_arrow::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
mask: url('$(res)/img/feather-icons/dropdown-arrow.svg');
|
||||
mask-repeat: no-repeat;
|
||||
background: $authpage-lang-color;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue