2020-04-16 11:33:23 +02: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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_fontSlider {
|
|
|
|
position: relative;
|
|
|
|
margin: 0px;
|
2020-04-16 13:09:36 +02:00
|
|
|
|
2020-04-16 11:33:23 +02:00
|
|
|
@mixin mx_Settings_fullWidthField;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_fontSlider_dotContainer {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_fontSlider_bar {
|
|
|
|
display: flex;
|
|
|
|
box-sizing: border-box;
|
|
|
|
position: absolute;
|
|
|
|
height: 1rem;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0 1.1rem;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_fontSlider_bar > hr {
|
|
|
|
width: 100%;
|
|
|
|
border: 0.2rem solid $fontSlider-background-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_fontSlider_selection {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
width: calc(100% - 2.2rem);
|
|
|
|
height: 1rem;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_fontSlider_selectionDot {
|
|
|
|
transition: left 0.25s;
|
|
|
|
position: absolute;
|
|
|
|
width: 1.1rem;
|
|
|
|
height: 1.1rem;
|
|
|
|
background-color: $fontSlider-selection-color;
|
|
|
|
border-radius: 50%;
|
|
|
|
box-shadow: 0 0 6px lightgrey;
|
|
|
|
z-index: 10;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_fontSlider_selection > hr {
|
|
|
|
transition: width 0.25s;
|
|
|
|
margin: 0;
|
|
|
|
border: 0.2rem solid $fontSlider-selection-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_fontSlider_dot {
|
|
|
|
transition: background-color 0.2s ease-in;
|
|
|
|
height: 1rem;
|
|
|
|
width: 1rem;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: $fontSlider-background-color;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
z-index: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_fontSlider_dotActive {
|
|
|
|
background-color: $fontSlider-selection-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_fontSlider_dotValue {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
color: $fontSlider-background-color;
|
2020-04-16 13:09:36 +02:00
|
|
|
}
|