Skip to content

Commit 38238f9

Browse files
committed
Fix hover on table rows
1 parent 6b22e94 commit 38238f9

File tree

8 files changed

+14
-59
lines changed

8 files changed

+14
-59
lines changed

Minimal.css

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3512,6 +3512,7 @@ body.minimal-focus-mode.show-view-header .view-content {
35123512

35133513
.row-alt {
35143514
--table-row-alt-background: var(--background-table-rows);
3515+
--table-row-alt-background-hover: var(--background-table-rows);
35153516
--table-edge-cell-padding-first: 8px;
35163517
--table-edge-cell-padding-last: 8px;
35173518
}
@@ -3619,24 +3620,8 @@ body.minimal-focus-mode.show-view-header .view-content {
36193620

36203621
/* Highlight rows on hover */
36213622
.row-hover {
3622-
--table-row-background-hover:
3623-
hsla(
3624-
var(--accent-h),
3625-
50%,
3626-
80%,
3627-
20%
3628-
);
3629-
}
3630-
3631-
.theme-dark.row-hover,
3632-
.theme-dark .row-hover {
3633-
--table-row-background-hover:
3634-
hsla(
3635-
var(--accent-h),
3636-
30%,
3637-
40%,
3638-
20%
3639-
);
3623+
--table-row-background-hover: var(--hl1);
3624+
--table-row-alt-background-hover: var(--hl1);
36403625
}
36413626

36423627
/* Dark mode images */

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Minimal",
3-
"version": "7.7.3",
3+
"version": "7.7.4",
44
"minAppVersion": "1.6.1",
55
"author": "@kepano",
66
"authorUrl": "https://twitter.com/kepano",

src/css/main.css

Lines changed: 3 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/main.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/main.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/main.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/scss/features/helpers-tables.scss

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
}
1515
.row-alt {
1616
--table-row-alt-background: var(--background-table-rows);
17+
--table-row-alt-background-hover: var(--background-table-rows);
1718
--table-edge-cell-padding-first: 8px;
1819
--table-edge-cell-padding-last: 8px;
1920
}
@@ -127,23 +128,7 @@
127128

128129
/* Highlight rows on hover */
129130
.row-hover {
130-
--table-row-background-hover:
131-
hsla(
132-
var(--accent-h),
133-
50%,
134-
80%,
135-
20%
136-
);
137-
}
138-
139-
.theme-dark.row-hover,
140-
.theme-dark .row-hover {
141-
--table-row-background-hover:
142-
hsla(
143-
var(--accent-h),
144-
30%,
145-
40%,
146-
20%
147-
);
131+
--table-row-background-hover: var(--hl1);
132+
--table-row-alt-background-hover: var(--hl1);
148133
}
149134

theme.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)