mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
remove the awesome hover effect for now
This commit is contained in:
@@ -10,21 +10,6 @@ exports.show = ->
|
||||
|
||||
Chrome.addPane 'main', tabs.replace '<%= editor %>', edit
|
||||
|
||||
# awesome hover effect
|
||||
if false
|
||||
$('#tabs ul li:not(".active") a').mousemove (e) ->
|
||||
originalBG = $(this).css("background-color")
|
||||
x = e.pageX - @offsetLeft
|
||||
y = e.pageY - @offsetTop
|
||||
xy = x + " " + y
|
||||
|
||||
bgWebKit = "-webkit-gradient(radial, #{xy}, 0, #{xy}, 100, from(rgba(255,255,255,0.8)), to(rgba(255,255,255,0.0))), #{originalBG}"
|
||||
|
||||
$(this).css background: bgWebKit
|
||||
|
||||
$('#tabs ul li:not(".active") a').mouseleave (e) ->
|
||||
$(this).removeAttr 'style'
|
||||
|
||||
# events
|
||||
$('#tabs ul li:not(.add) a').live 'click', ->
|
||||
$('#tabs ul .active').removeClass()
|
||||
|
||||
Reference in New Issue
Block a user