feat: Implement draggable Trendline Settings Panel with Shift+Click and TF layout fixes
This commit is contained in:
@ -217,3 +217,51 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
/* Trendline Settings Panel */
|
||||
#trendlineSettingsPanel input[type=range] {
|
||||
-webkit-appearance: none;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#trendlineSettingsPanel input[type=range]::-webkit-slider-thumb {
|
||||
-webkit-appearance: none;
|
||||
height: 12px;
|
||||
width: 12px;
|
||||
border-radius: 50%;
|
||||
background: #ffffff;
|
||||
cursor: pointer;
|
||||
border: 2px solid #1a2333;
|
||||
margin-top: -4px;
|
||||
}
|
||||
|
||||
#trendlineSettingsPanel input[type=range]::-webkit-slider-runnable-track {
|
||||
width: 100%;
|
||||
height: 4px;
|
||||
cursor: pointer;
|
||||
background: #2d3a4f;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.color-swatch {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
border: 1px solid transparent;
|
||||
transition: transform 0.1s, border-color 0.1s;
|
||||
}
|
||||
|
||||
.color-swatch:hover {
|
||||
transform: scale(1.1);
|
||||
border-color: #ffffff;
|
||||
}
|
||||
|
||||
.color-swatch.active {
|
||||
border-color: #ffffff;
|
||||
box-shadow: 0 0 0 1px #ffffff;
|
||||
}
|
||||
|
||||
.tl-thickness-btn[data-active="true"],
|
||||
.tl-style-btn[data-active="true"] {
|
||||
background-color: #2d3a4f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user