From ffca6417a8d6219d58356dca32c20332a0b38db2 Mon Sep 17 00:00:00 2001 From: ClemDee Date: Mon, 3 Jun 2019 11:12:26 +0200 Subject: [PATCH] Add path feedback on hover --- www/drive/app-drive.less | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/www/drive/app-drive.less b/www/drive/app-drive.less index 3554306e8..421950730 100644 --- a/www/drive/app-drive.less +++ b/www/drive/app-drive.less @@ -874,17 +874,24 @@ font-size: @colortheme_app-font-size; padding: 0 5px; border: 0; - background: darken(@colortheme_drive-bg, 10%); + background: darken(@colortheme_drive-bg, 7%); color: @colortheme_drive-color; box-sizing: border-box; transition: all 0.15s; &.cp-app-drive-path-separator { color: #ccc; } - &.cp-app-drive-path-lickable { - cursor: pointer; - &:hover { - background: darken(@colortheme_drive-bg, 15%); + &:hover { + &:not(.cp-app-drive-path-separator) { + background-color: darken(@colortheme_drive-bg, 15%); + text-decoration: underline; + cursor: pointer; + } + & ~ .cp-app-drive-path-element { + background-color: darken(@colortheme_drive-bg, 15%); + } + & ~ .cp-app-drive-path-element:not(.cp-app-drive-path-separator) { + text-decoration: underline; } } }