diff --git a/src/_h5ai/client/css/inc/general.less b/src/_h5ai/client/css/inc/general.less index 95aec630..2e69b556 100644 --- a/src/_h5ai/client/css/inc/general.less +++ b/src/_h5ai/client/css/inc/general.less @@ -1,15 +1,15 @@ @col: rgb(85,85,85); @col-back: #eeeeee; -@col-hover: rgb(29,119,194); +@col-hover: #42a5f5; @col-border: rgba(0,0,0,0.05); @col-border-strong: rgba(0,0,0,0.15); @col-border-stronger: rgba(0,0,0,0.3); @col-error: rgb(204,51,51); -@col-link: rgb(29,119,194); -@col-link-hover: rgb(29,119,194); +@col-link: #42a5f5; +@col-link-hover: #42a5f5; @col-widget-back: rgb(245,245,245); @col-widget-back-highlight: rgba(255,255,255,0.8); diff --git a/src/_h5ai/client/css/inc/view.less b/src/_h5ai/client/css/inc/view.less index ba1dc488..3bc85701 100644 --- a/src/_h5ai/client/css/inc/view.less +++ b/src/_h5ai/client/css/inc/view.less @@ -24,6 +24,7 @@ margin: 0 auto; a, a:active, a:visited { + display: block; color: inherit; cursor: pointer; text-decoration: none; @@ -44,10 +45,6 @@ white-space: nowrap; background: #fff; - a, a:active, a:visited { - display: block; - } - &:hover, &.hover { color: @item-col-hover; background: @item-background-col-hover; diff --git a/src/_h5ai/client/js/inc/ext/select.js b/src/_h5ai/client/js/inc/ext/select.js index 5baba025..7d0b5745 100644 --- a/src/_h5ai/client/js/inc/ext/select.js +++ b/src/_h5ai/client/js/inc/ext/select.js @@ -104,6 +104,8 @@ modulejs.define('ext/select', ['_', '$', 'core/settings', 'core/resource', 'core function selectionStart(event) { + window.console.log(event); + var $window = $(window); var viewRight = $window.scrollLeft() + $window.width(); var viewBottom = $window.scrollTop() + $window.height(); @@ -197,7 +199,8 @@ modulejs.define('ext/select', ['_', '$', 'core/settings', 'core/resource', 'core event.sub('location.changed', onLocationChanged); event.sub('location.refreshed', onLocationRefreshed); - $document + // $document + $('#content') .on('mousedown', '.noSelection', noSelection) .on('mousedown', '.noSelectionUnlessCtrl,input,select,a', noSelectionUnlessCtrl) .on('mousedown', selectionStart);