2021-06-02 00:25:00 +00:00
|
|
|
// Copyright 2021 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2021-05-28 16:15:17 +00:00
|
|
|
.GradientDial {
|
|
|
|
&__container {
|
|
|
|
height: 100%;
|
2023-04-20 17:03:43 +00:00
|
|
|
@include position-absolute-center;
|
2021-05-28 16:15:17 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__bar {
|
|
|
|
&--container {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--node {
|
|
|
|
background: $color-white;
|
|
|
|
border: 1px solid $color-black-alpha-20;
|
|
|
|
height: 100%;
|
|
|
|
height: 1000px;
|
2023-04-20 17:03:43 +00:00
|
|
|
inset-inline-start: 50%;
|
2021-05-28 16:15:17 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
transform-origin: center;
|
|
|
|
width: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__knob {
|
2023-04-14 17:12:54 +00:00
|
|
|
@include color-bubble(42px);
|
2021-05-28 16:15:17 +00:00
|
|
|
box-shadow: 0 0 4px $color-black-alpha-20;
|
|
|
|
cursor: move;
|
2023-04-20 17:03:43 +00:00
|
|
|
margin-inline-start: -20px;
|
2021-05-28 16:15:17 +00:00
|
|
|
margin-top: -20px;
|
|
|
|
padding: 2px;
|
|
|
|
position: absolute;
|
2021-12-01 23:13:09 +00:00
|
|
|
z-index: $z-index-base;
|
2021-05-28 16:15:17 +00:00
|
|
|
|
|
|
|
&--selected {
|
|
|
|
border-color: $color-gray-75;
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
border-color: $color-white;
|
|
|
|
}
|
|
|
|
}
|
2021-06-02 18:39:30 +00:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
border-color: $color-ultramarine;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
2021-05-28 16:15:17 +00:00
|
|
|
}
|
|
|
|
}
|