mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-02 11:59:16 +08:00
菜单优化
This commit is contained in:
parent
09c50b1899
commit
1e6c92cf0a
@ -446,14 +446,14 @@ ul {margin-top:0;}
|
||||
/**
|
||||
* mini小icon
|
||||
*/
|
||||
.menu-mini-container-tips{position:absolute;left:68px;top:0;padding:0 10px;width:auto;height:35px;line-height:35px;text-align:center;color:#fff;background-color:#4884ff;-webkit-box-shadow:0 0 5px rgba(0,0,0,.2);-moz-box-shadow:0 0 5px rgba(0,0,0,.2);box-shadow:0 0 5px rgba(0,0,0,.2);font-weight:700;display:none}
|
||||
.menu-mini-container-tips{position:absolute;left:63px;top:0;padding:0 10px;width:auto;height:35px;line-height:35px;text-align:center;color:#fff;background-color:#4884ff;-webkit-box-shadow:0 0 5px rgba(0,0,0,.2);-moz-box-shadow:0 0 5px rgba(0,0,0,.2);box-shadow:0 0 5px rgba(0,0,0,.2);font-weight:700;display:none}
|
||||
.menu-mini-container-tips span{font-size:12px}
|
||||
.menu-mini-container-tips .mui-mbar-tab-tip,.menu-mini-container-popup .mui-mbar-tab-tip{position:absolute;width:16px;height:16px;line-height:16px;text-align:center;font-size:16px;font-family:"\5b8b\4f53";top:10px;left:-8px;z-index:0;color:#4884ff}
|
||||
|
||||
/**
|
||||
* mini子菜单
|
||||
*/
|
||||
.menu-mini-container-popup{background:#36373c;position:absolute;left:68px;top:0;min-width:120px;height:auto;display:none}
|
||||
.menu-mini-container-popup{background:#36373c;position:absolute;left:63px;top:0;min-width:120px;height:auto;display:none}
|
||||
.menu-mini-container-popup ul{margin:0;padding:0}
|
||||
.menu-mini-container-popup ul li{line-height:35px;list-style-type:none}
|
||||
.menu-mini-container-popup ul li a{padding:0 10px;display:block;color:#fff}
|
||||
|
@ -142,7 +142,7 @@ $(function()
|
||||
$(document).on('mouseenter', '.menu-mini-container-popup', function()
|
||||
{
|
||||
$(this).attr('data-is-leave', 1);
|
||||
}).
|
||||
});
|
||||
$(document).on('mouseleave', '.menu-mini-container-popup', function()
|
||||
{
|
||||
$(this).attr('data-is-leave', 0);
|
||||
|
Loading…
Reference in New Issue
Block a user