mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-30 06:55:16 -04:00
Change link color. Update selection target.
This commit is contained in:
parent
2870906c09
commit
c4f7a85baf
3 changed files with 8 additions and 8 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue