Skip to content

Commit fbefe38

Browse files
committed
Added inverted selection style for current file under cursor
1 parent 5146442 commit fbefe38

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

css/query.css

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,8 @@
9999

100100
/* текущий файл под курсором */
101101
.current-file {
102-
background-color: var(--color-transparent);
103-
color: white;
104-
}
105-
/* делаем иконки под курсом белыми */
106-
.current-file a {
107-
color: white;
102+
background-color: rgba(255, 255, 255, 1);
103+
filter: invert(1); /* Inverted color for current file selection. */
108104
}
109105

110106
.file::before, .file-link::before {

css/style.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ a:hover, a:active {
165165

166166
.current-file {
167167
box-shadow: 0 0 0 1px var(--color-transparent) inset;
168+
background-color: rgba(255, 255, 255, 1);
169+
filter: invert(1); /* Inverted color for current file selection. */
168170
}
169171

170172
.cut-file {

0 commit comments

Comments
 (0)