[Update] Config Window: Add Switchbox component. Adjust switchbox in main window's main functions.

This commit is contained in:
Sakamoto Shiina
2024-08-02 09:49:45 +09:00
parent 329fb36219
commit 112ace95d7
7 changed files with 88 additions and 10 deletions

View File

@@ -29,7 +29,6 @@ $default_loader_line_width: 0.2rem !default;
border-left: $loader_line_width solid transparent;
}
// @keyframes
@keyframes rotate_animation {
0% {
transform: translate($calc_translate, $calc_translate) rotate(0deg);
@@ -60,16 +59,12 @@ $toggle_control_size: $toggle_height - calc($toggle_gutter * 2);
position: relative;
height: 100%;
width: auto;
padding-left: $toggle_width;
.control {
position: absolute;
top: 0;
left: 0;
position: relative;
height: $toggle_height;
width: $toggle_width;
border-radius: $toggle_radius;
background-color: $toggle_background_color_off;
// transition: background-color $toggle_control_speed $toggle_control_ease;
&:after {
content: "";
position: absolute;
@@ -100,8 +95,4 @@ $toggle_control_size: $toggle_height - calc($toggle_gutter * 2);
}
}
}
}
.toggle_control {
@include toggle_control_styles;
}