Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature(style) - added inverted selection style for current file under cursor #299

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions css/query.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,8 @@

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

.file::before, .file-link::before {
Expand Down
2 changes: 2 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ a:hover, a:active {

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

.cut-file {
Expand Down