Skip to content

Commit

Permalink
Fix stylelint
Browse files Browse the repository at this point in the history
Retrigger actions

Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Mar 25, 2022
1 parent f805247 commit 6931d67
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion css/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@
justify-content: center;

cursor: pointer;

& * {
cursor: pointer;
}
Expand All @@ -180,12 +181,13 @@
transition: background-color 0.1s linear !important;
transition: border 0.1s linear;


color: var(--color-main-text);
background-color: var(--color-background-dark);

&:hover {
background-color: var(--color-primary-light-hover);
}

// Back to the default color for this button when active
// TODO: add ripple effect
&:active {
Expand All @@ -198,11 +200,13 @@

&:not(.primary) {
box-shadow: 0 0 0 2px var(--color-border-dark);

&:hover {
color: var(--color-main-text);
background-color: var(--color-background-dark);
box-shadow: 0 0 0 2px var(--color-primary-element);
}

&:active {
box-shadow: 0 0 0 2px var(--color-main-text);
}
Expand All @@ -223,9 +227,11 @@
box-shadow: none;
background-color: var(--color-primary-element);
color: var(--color-primary-text);

&:hover {
background-color: var(--color-primary-element-hover);
}

&:active {
background-color: var(--color-primary-element);
}
Expand Down

0 comments on commit 6931d67

Please sign in to comment.