Import upstream theme changes
This commit is contained in:
parent
d3b8966db4
commit
00753d20a9
2 changed files with 21 additions and 18 deletions
|
@ -97,7 +97,10 @@
|
||||||
|
|
||||||
if( $submenu.length > 0 ) {
|
if( $submenu.length > 0 ) {
|
||||||
|
|
||||||
var $flyin = $submenu.clone().css( 'opacity', 0 ).insertAfter( self.$menu ),
|
var $flyin = $submenu.clone().css({
|
||||||
|
opacity: 0,
|
||||||
|
margin: 0
|
||||||
|
}).insertAfter( self.$menu ),
|
||||||
onAnimationEndFn = function() {
|
onAnimationEndFn = function() {
|
||||||
self.$menu.off( self.animEndEventName ).removeClass( self.options.animationClasses.classout ).addClass( 'dl-subview' );
|
self.$menu.off( self.animEndEventName ).removeClass( self.options.animationClasses.classout ).addClass( 'dl-subview' );
|
||||||
$item.addClass( 'dl-subviewopen' ).parents( '.dl-subviewopen:first' ).removeClass( 'dl-subviewopen' ).addClass( 'dl-subview' );
|
$item.addClass( 'dl-subviewopen' ).parents( '.dl-subviewopen:first' ).removeClass( 'dl-subviewopen' ).addClass( 'dl-subview' );
|
||||||
|
|
|
@ -93,11 +93,11 @@
|
||||||
color: @white;
|
color: @white;
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
.dl-back > a {
|
&.dl-back > a {
|
||||||
padding-left: 30px;
|
padding-left: 30px;
|
||||||
background: rgba(0,0,0,0.2);
|
background: rgba(0,0,0,0.2);
|
||||||
}
|
}
|
||||||
.dl-back:after,
|
&.dl-back:after,
|
||||||
> a:not(:only-child):after {
|
> a:not(:only-child):after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -108,7 +108,7 @@
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
content: "\f105";
|
content: "\f105";
|
||||||
}
|
}
|
||||||
.dl-back:after {
|
&.dl-back:after {
|
||||||
left: 10px;
|
left: 10px;
|
||||||
color: rgba(212,204,198,0.5);
|
color: rgba(212,204,198,0.5);
|
||||||
-webkit-transform: rotate(180deg);
|
-webkit-transform: rotate(180deg);
|
||||||
|
|
Loading…
Reference in a new issue