Implemented the ability to change workspaces by scrolling or clicking on the workspace module. (#12)
* Updated README to add instructions on Notifications. * Resolves #8 - Implemented scrolling and clicking to change workspaces. * Remove the hover effect on workspaces as its no longer applicable.
This commit is contained in:
@@ -2,20 +2,23 @@
|
||||
@import '../../variables';
|
||||
|
||||
.workspaces {
|
||||
button {
|
||||
margin: 0rem 0.5rem * .5;
|
||||
|
||||
&:not(:first-child) {
|
||||
margin-left: 0.7em;
|
||||
}
|
||||
}
|
||||
|
||||
label {
|
||||
font-size: 0.2em;
|
||||
min-width: 4em;
|
||||
min-height: 4em;
|
||||
border-radius: 1.9rem * .6;
|
||||
margin: 0rem 0.5rem * .5;
|
||||
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);
|
||||
|
||||
&:not(:first-child) {
|
||||
margin-left: 4.5em;
|
||||
}
|
||||
|
||||
&.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);
|
||||
@@ -35,8 +38,6 @@
|
||||
min-width: 0em;
|
||||
min-height: 0em;
|
||||
border-radius: 0em;
|
||||
margin: 0rem 1rem * .5;
|
||||
transition: 300ms * .5;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user