Skip to content

Commit

Permalink
feature(style) add inverted selection
Browse files Browse the repository at this point in the history
  • Loading branch information
jawahars16 committed Oct 3, 2020
1 parent 5146442 commit ab4c6cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
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

0 comments on commit ab4c6cb

Please sign in to comment.