2021-10-20 22:58:27 +08:00
|
|
|
/*
|
|
|
|
Copyright 2021 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_ThemeChoicePanel {
|
|
|
|
color: $primary-content;
|
|
|
|
|
|
|
|
> .mx_ThemeSelectors {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
margin-top: 4px;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
|
2021-11-04 20:57:38 +08:00
|
|
|
> .mx_StyledRadioButton {
|
2021-10-20 22:58:27 +08:00
|
|
|
padding: $font-16px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-radius: 10px;
|
|
|
|
width: 180px;
|
|
|
|
|
2022-06-15 02:17:10 +08:00
|
|
|
background: $quinary-content;
|
2021-10-20 22:58:27 +08:00
|
|
|
opacity: 0.4;
|
|
|
|
|
|
|
|
flex-shrink: 1;
|
|
|
|
flex-grow: 0;
|
|
|
|
|
|
|
|
margin-right: 15px;
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
|
|
> span {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-04 20:57:38 +08:00
|
|
|
> .mx_StyledRadioButton_enabled {
|
2021-10-20 22:58:27 +08:00
|
|
|
opacity: 1;
|
|
|
|
|
2022-07-27 21:39:29 +08:00
|
|
|
/* These colors need to be hardcoded because they don't change with the theme */
|
2021-10-20 22:58:27 +08:00
|
|
|
&.mx_ThemeSelector_light {
|
|
|
|
background-color: #f3f8fd;
|
|
|
|
color: #2e2f32;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_ThemeSelector_dark {
|
2022-07-27 21:39:29 +08:00
|
|
|
/* 5% lightened version of 181b21 */
|
2021-10-20 22:58:27 +08:00
|
|
|
background-color: #25282e;
|
|
|
|
color: #f3f8fd;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|