mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-18 22:58:18 +08:00
f4cd71fd47
* mock Element.scrollIntoView in jest setup Signed-off-by: Kerry Archibald <kerrya@element.io> * extract theme switcher from quick settings, add match system option, test Signed-off-by: Kerry Archibald <kerrya@element.io> * i18n Signed-off-by: Kerry Archibald <kerrya@element.io> * forgotten copyright Signed-off-by: Kerry Archibald <kerrya@element.io> * stylelint Signed-off-by: Kerry Archibald <kerrya@element.io> * remove old class Signed-off-by: Kerry Archibald <kerrya@element.io>
41 lines
1.0 KiB
SCSS
41 lines
1.0 KiB
SCSS
/*
|
|
Copyright 2022 The Matrix.org Foundation C.I.C.
|
|
|
|
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_QuickThemeSwitcher {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.mx_Dropdown {
|
|
min-width: 100px;
|
|
margin-left: auto;
|
|
height: min-content;
|
|
}
|
|
|
|
.mx_Dropdown_menu {
|
|
max-height: 70px;
|
|
}
|
|
}
|
|
|
|
.mx_QuickThemeSwitcher_heading {
|
|
font-weight: $font-semi-bold;
|
|
font-size: $font-12px;
|
|
line-height: $font-15px;
|
|
color: $secondary-content;
|
|
text-transform: uppercase;
|
|
display: inline-block;
|
|
margin: 0;
|
|
}
|