2024-11-25 12:09:03 -05:00
|
|
|
@use 'sass:color';
|
|
|
|
@use '../../style/colors';
|
2023-11-28 16:29:17 -05:00
|
|
|
|
2024-11-25 13:15:13 -05:00
|
|
|
.settings {
|
|
|
|
padding: 0.5rem;
|
|
|
|
|
|
|
|
.button {
|
|
|
|
background-color: colors.$window_bg_color;
|
|
|
|
border: 0.1rem solid color.adjust(colors.$window_bg_color, $lightness: -3%);
|
|
|
|
border-radius: 0.7rem;
|
|
|
|
padding: 0.3rem;
|
|
|
|
|
|
|
|
&.toggled {
|
|
|
|
background-color: colors.$accent-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-28 16:29:17 -05:00
|
|
|
.osk {
|
2024-07-24 11:45:28 -04:00
|
|
|
padding-top: 4px;
|
|
|
|
|
2024-11-25 21:17:36 -05:00
|
|
|
&.hidden {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
2024-07-24 11:45:28 -04:00
|
|
|
.side {
|
|
|
|
.key {
|
|
|
|
&:active label {
|
2024-11-25 12:09:03 -05:00
|
|
|
background-color: colors.$accent-color;
|
2024-07-24 11:45:28 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
2024-11-25 12:09:03 -05:00
|
|
|
background-color: colors.$window_bg_color;
|
2024-11-26 20:34:57 -05:00
|
|
|
border-radius: 6px;
|
2024-07-24 11:45:28 -04:00
|
|
|
min-height: 3rem;
|
|
|
|
|
2024-11-25 17:26:48 -05:00
|
|
|
transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
|
2023-11-19 15:00:29 -05:00
|
|
|
|
2024-11-26 20:34:57 -05:00
|
|
|
box-shadow: 2px 1px 2px colors.$accent-color;
|
|
|
|
|
|
|
|
padding: 4px;
|
2024-11-25 22:06:02 -05:00
|
|
|
|
|
|
|
margin: 4px 4px 4px 4px;
|
2024-11-25 21:29:45 -05:00
|
|
|
|
|
|
|
&.active {
|
|
|
|
box-shadow: 0 0 0 white;
|
2024-11-25 22:06:02 -05:00
|
|
|
margin: 6px 4px 2px 4px;
|
2024-11-25 21:29:45 -05:00
|
|
|
background-color: color.adjust(colors.$window_bg_color, $lightness: -3%);
|
|
|
|
}
|
|
|
|
|
2024-07-24 11:45:28 -04:00
|
|
|
&.normal,
|
|
|
|
&.Super {
|
|
|
|
min-width: 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.Tab,
|
|
|
|
&.Backspace {
|
|
|
|
min-width: 7rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.Enter,
|
|
|
|
&.Caps {
|
|
|
|
min-width: 8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.Shift {
|
|
|
|
min-width: 9rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.Space {
|
|
|
|
min-width: 20rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.PrtSc,
|
|
|
|
&.AltGr {
|
|
|
|
min-width: 3.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.altgr {
|
|
|
|
border: 0.08rem solid blue;
|
|
|
|
}
|
|
|
|
}
|
2023-11-19 15:00:29 -05:00
|
|
|
}
|
|
|
|
|
2024-07-24 11:45:28 -04:00
|
|
|
&.right-side {
|
2024-11-26 19:25:02 -05:00
|
|
|
border-radius: 0 10px 0 0;
|
|
|
|
|
2024-07-24 11:45:28 -04:00
|
|
|
.key .mod {
|
|
|
|
&.Ctrl {
|
|
|
|
min-width: 2.4rem;
|
|
|
|
}
|
|
|
|
}
|
2023-11-19 15:00:29 -05:00
|
|
|
}
|
|
|
|
|
2024-07-24 11:45:28 -04:00
|
|
|
&.left-side {
|
2024-11-26 19:25:02 -05:00
|
|
|
border-radius: 10px 0 0 0;
|
|
|
|
|
2024-07-24 11:45:28 -04:00
|
|
|
.key .mod {
|
|
|
|
&.Alt {
|
|
|
|
min-width: 3rem;
|
|
|
|
}
|
2023-11-19 15:00:29 -05:00
|
|
|
|
2024-07-24 11:45:28 -04:00
|
|
|
&.Ctrl {
|
|
|
|
min-width: 4rem;
|
|
|
|
}
|
|
|
|
}
|
2023-11-19 15:00:29 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|