2020-04-16 09:31:40 +00:00
|
|
|
/*
|
|
|
|
Copyright 2020 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.
|
|
|
|
*/
|
|
|
|
|
2020-04-22 16:31:49 +00:00
|
|
|
.mx_AppearanceUserSettingsTab_fontSlider,
|
2020-04-21 11:03:32 +00:00
|
|
|
.mx_AppearanceUserSettingsTab_themeSection .mx_Field,
|
|
|
|
.mx_AppearanceUserSettingsTab_fontScaling .mx_Field {
|
2020-04-16 09:31:40 +00:00
|
|
|
@mixin mx_Settings_fullWidthField;
|
2020-04-16 11:09:36 +00:00
|
|
|
}
|
2020-04-22 16:31:49 +00:00
|
|
|
|
|
|
|
.mx_AppearanceUserSettingsTab_fontSlider {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
2020-04-23 10:22:51 +00:00
|
|
|
padding: 15px;
|
2020-04-23 10:33:28 +00:00
|
|
|
background: $font-slider-bg-color;
|
2020-04-22 16:31:49 +00:00
|
|
|
border-radius: 10px;
|
2020-04-23 09:58:00 +00:00
|
|
|
font-size: 10px;
|
2020-04-23 10:49:54 +00:00
|
|
|
margin-top: 24px;
|
|
|
|
margin-bottom: 24px;
|
2020-04-22 16:31:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppearanceUserSettingsTab_fontSlider_smallText {
|
|
|
|
font-size: 15px;
|
2020-04-23 10:22:51 +00:00
|
|
|
padding-right: 20px;
|
|
|
|
padding-left: 5px;
|
2020-04-22 16:31:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppearanceUserSettingsTab_fontSlider_largeText {
|
|
|
|
font-size: 18px;
|
2020-04-23 10:22:51 +00:00
|
|
|
padding-left: 20px;
|
|
|
|
padding-right: 5px;
|
2020-04-22 16:31:49 +00:00
|
|
|
}
|
2020-06-08 17:17:02 +00:00
|
|
|
|
|
|
|
.mx_AppearanceUserSettingsTab_themeSection {
|
|
|
|
$radio-bg-color: $input-darker-bg-color;
|
|
|
|
|
|
|
|
> .mx_ThemeSelectors {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
margin-top: 23px;
|
|
|
|
|
|
|
|
> .mx_RadioButton {
|
|
|
|
padding: $font-16px;
|
|
|
|
border-radius: 10px;
|
|
|
|
background: rgba($radio-bg-color, 0.2);
|
|
|
|
width: 180px;
|
|
|
|
flex-shrink: 1;
|
|
|
|
flex-grow: 0;
|
|
|
|
margin-right: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .mx_RadioButton:not([disabled]) {
|
|
|
|
// These need to be hardcoded because they don't change with the theme
|
|
|
|
&.mx_ThemeSelector_light {
|
|
|
|
background-color: #f3f8fd;
|
|
|
|
color: #2e2f32;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_ThemeSelector_dark {
|
|
|
|
background-color: #181b21;
|
|
|
|
|
|
|
|
> input > div {
|
|
|
|
border-color: $input-darker-bg-color;
|
|
|
|
> div {
|
|
|
|
border-color: $input-darker-bg-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_ThemeSelector_black {
|
|
|
|
background-color: #000000;
|
|
|
|
|
|
|
|
> input > div {
|
|
|
|
border-color: $input-darker-bg-color;
|
|
|
|
> div {
|
|
|
|
border-color: $input-darker-bg-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SettingsTab_customFontSizeField {
|
|
|
|
margin-left: calc($font-16px + 10px);
|
|
|
|
}
|