style submenu popup on firefox
This commit is contained in:
parent
76ef0cb28d
commit
80c9d5091f
@ -30,9 +30,9 @@ class Locomotive.Views.ApplicationView extends Backbone.View
|
||||
$('#submenu ul li.hoverable').each ->
|
||||
timer = null
|
||||
link = $(@)
|
||||
popup = link.find('.popup').removeClass('popup').addClass('submenu-popup').css(
|
||||
top: link.offset().top + link.height() - 1
|
||||
left: link.offset().left
|
||||
(popup = link.find('.popup')).removeClass('popup').addClass('submenu-popup').css(
|
||||
top: link.offset().top + link.height() - 2
|
||||
left: link.offset().left - parseInt(popup.css('padding-left'))
|
||||
).bind('show', ->
|
||||
link.find('a').addClass('hover') & popup.show()
|
||||
).bind('hide', ->
|
||||
|
@ -3,6 +3,8 @@
|
||||
.CodeMirror {
|
||||
@include default-input-style;
|
||||
|
||||
margin-top: 13px;
|
||||
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
|
||||
|
@ -169,13 +169,17 @@
|
||||
min-width: 250px;
|
||||
z-index: 999;
|
||||
|
||||
overflow: hidden;
|
||||
|
||||
padding: 0px 12px 12px 12px;
|
||||
|
||||
background: transparent;
|
||||
|
||||
.wrapper {
|
||||
|
||||
background: #fff;
|
||||
|
||||
@include box-shadow(rgba(0, 0, 0, 0.5) 0px 8px 10px 0px);
|
||||
@include box-shadow(rgba(0, 0, 0, 0.5) 0px 0px 8px 0px);
|
||||
@include border-radius(16px);
|
||||
@include border-top-left-radius(0px);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user