frontend: secondary-hover -> hover-bg-secondary
This commit is contained in:
parent
4ea61b2c89
commit
f9541c50a7
4 changed files with 4 additions and 8 deletions
|
@ -1,4 +1,5 @@
|
||||||
ul {
|
ul {
|
||||||
|
list-style-type: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,12 +17,7 @@ body {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
.hover-bg-secondary {
|
||||||
list-style-type: none;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
.secondary-hover {
|
|
||||||
&:hover {
|
&:hover {
|
||||||
@extend .no-underline;
|
@extend .no-underline;
|
||||||
@extend .p-3;
|
@extend .p-3;
|
||||||
|
|
|
@ -32,7 +32,7 @@ export function Group({ groupName, getItems }: Props) {
|
||||||
return (
|
return (
|
||||||
<li
|
<li
|
||||||
className={classnames(
|
className={classnames(
|
||||||
"flex flex-row p-3 secondary-hover w-full",
|
"flex flex-row p-3 hover-bg-secondary w-full",
|
||||||
classes,
|
classes,
|
||||||
)}
|
)}
|
||||||
key={key}
|
key={key}
|
||||||
|
|
|
@ -12,7 +12,7 @@ const ACTIVE_CLASSNAMES = [
|
||||||
const INACTIVE_CLASSNAMES = [
|
const INACTIVE_CLASSNAMES = [
|
||||||
...BASE_CLASSNAMES,
|
...BASE_CLASSNAMES,
|
||||||
"text-accent",
|
"text-accent",
|
||||||
"secondary-hover",
|
"hover-bg-secondary",
|
||||||
].join(" ");
|
].join(" ");
|
||||||
|
|
||||||
type Item = { text: string; href: string };
|
type Item = { text: string; href: string };
|
||||||
|
|
Loading…
Reference in a new issue