From 0ae7f941845a527d9c4a3799fc620938fe7c45bb Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 28 Feb 2017 10:50:52 +0100 Subject: [PATCH] Remove the pointer and text underline on icon:hover in drive --- www/drive/file.css | 7 +++++-- www/drive/file.less | 5 +++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/www/drive/file.css b/www/drive/file.css index 7c907d3ed..0013e063c 100644 --- a/www/drive/file.css +++ b/www/drive/file.css @@ -54,7 +54,6 @@ ul { } li { padding: 0px 5px; - cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -102,6 +101,7 @@ span.fa-folder-open { color: #000; } #tree li { + /*cursor: pointer;*/ cursor: auto; } #tree li:hover > span.element { @@ -214,11 +214,14 @@ span.fa-folder-open { margin-left: 10px; float: right; } +#content li { + cursor: default; +} #content li:not(.header) *:not(input) { /*pointer-events: none;*/ } #content li:not(.header):hover .name { - text-decoration: underline; + /*text-decoration: underline;*/ } #content div.grid { padding: 20px; diff --git a/www/drive/file.less b/www/drive/file.less index 95a410666..d3f49709a 100644 --- a/www/drive/file.less +++ b/www/drive/file.less @@ -80,7 +80,6 @@ ul { li { padding: 0px 5px; - cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -135,6 +134,7 @@ span { padding: 10px 0px; color: @tree-fg; li { + /*cursor: pointer;*/ cursor: auto; &:hover > span.element { text-decoration: underline; @@ -255,13 +255,14 @@ span { } } li { + cursor: default; &:not(.header) { *:not(input) { /*pointer-events: none;*/ } &:hover { .name { - text-decoration: underline; + /*text-decoration: underline;*/ } } }