* Made workspace scrolling slower and more natural. * Fix workspace scrolling not working on single monitors: Fixes #8 * Fixed #15 and added configuration options to adjust workspace spacing and scrolling speed.
38 lines
1.1 KiB
SCSS
38 lines
1.1 KiB
SCSS
@import "../colors";
|
|
@import '../../variables';
|
|
|
|
.workspaces {
|
|
label {
|
|
font-size: 0.2em;
|
|
min-width: 4em;
|
|
min-height: 4em;
|
|
border-radius: 1.9rem * .6;
|
|
transition: 300ms * .5;
|
|
background-color: if($bar-buttons-monochrome, $bar-buttons-icon, $bar-buttons-workspaces-available);
|
|
color: if($bar-buttons-monochrome, $bar-buttons-icon, $bar-buttons-workspaces-available);
|
|
|
|
&.occupied {
|
|
background-color: if($bar-buttons-monochrome, $bar-buttons-icon, $bar-buttons-workspaces-occupied);
|
|
color: if($bar-buttons-monochrome, $bar-buttons-icon, $bar-buttons-workspaces-occupied);
|
|
min-width: 4em;
|
|
min-height: 4em;
|
|
}
|
|
|
|
&.active {
|
|
color: if($bar-buttons-monochrome, $bar-buttons-icon, $bar-buttons-workspaces-active);
|
|
background-color: if($bar-buttons-monochrome, $bar-buttons-icon, $bar-buttons-workspaces-active);
|
|
min-width: 12em;
|
|
min-height: 4em;
|
|
}
|
|
|
|
&.workspace-icon {
|
|
background-color: transparent;
|
|
min-width: 0em;
|
|
min-height: 0em;
|
|
border-radius: 0em;
|
|
transition: 300ms * .5;
|
|
font-size: 1em;
|
|
}
|
|
}
|
|
}
|