61 lines
1.1 KiB
SCSS
61 lines
1.1 KiB
SCSS
// Copyright 2021 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
.GradientDial {
|
|
&__container {
|
|
height: 100%;
|
|
@include position-absolute-center;
|
|
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;
|
|
inset-inline-start: 50%;
|
|
position: absolute;
|
|
top: 50%;
|
|
transform-origin: center;
|
|
width: 4px;
|
|
}
|
|
}
|
|
|
|
&__knob {
|
|
@include color-bubble(30px);
|
|
box-shadow: 0 0 4px $color-black-alpha-20;
|
|
cursor: move;
|
|
margin-inline-start: -20px;
|
|
margin-top: -20px;
|
|
padding: 2px;
|
|
position: absolute;
|
|
z-index: $z-index-base;
|
|
|
|
&--selected {
|
|
border-color: $color-gray-75;
|
|
|
|
@include dark-theme {
|
|
border-color: $color-white;
|
|
}
|
|
}
|
|
|
|
&:focus {
|
|
outline: none;
|
|
}
|
|
|
|
@include keyboard-mode {
|
|
&:focus {
|
|
border-color: $color-ultramarine;
|
|
outline: none;
|
|
}
|
|
}
|
|
}
|
|
}
|