新增 nav 导航菜单浅色背景主题
This commit is contained in:
parent
ff40f49df4
commit
30a3996413
@ -1112,7 +1112,6 @@ body .layui-table-tips .layui-layer-content{background: none; padding: 0; box-sh
|
|||||||
.layui-dropdown:before{content:""; position: absolute; width: 100%; height: 6px; left: 0; top: -6px;}
|
.layui-dropdown:before{content:""; position: absolute; width: 100%; height: 6px; left: 0; top: -6px;}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/** 导航菜单 **/
|
/** 导航菜单 **/
|
||||||
.layui-nav{position: relative; padding: 0 20px; background-color: #393D49; color: #fff; border-radius: 2px; font-size: 0; box-sizing: border-box;}
|
.layui-nav{position: relative; padding: 0 20px; background-color: #393D49; color: #fff; border-radius: 2px; font-size: 0; box-sizing: border-box;}
|
||||||
.layui-nav *{font-size: 14px;}
|
.layui-nav *{font-size: 14px;}
|
||||||
@ -1133,7 +1132,7 @@ body .layui-table-tips .layui-layer-content{background: none; padding: 0; box-sh
|
|||||||
.layui-nav-itemed > a .layui-nav-more{transform: rotate(180deg);}
|
.layui-nav-itemed > a .layui-nav-more{transform: rotate(180deg);}
|
||||||
|
|
||||||
|
|
||||||
.layui-nav-child{display: none; position: absolute; left: 0; top: 65px; min-width: 100%; line-height: 36px; padding: 5px 0; box-shadow: 0 2px 4px rgba(0,0,0,.12); border: 1px solid #eee; background-color: #fff; z-index: 100; border-radius: 2px; white-space: nowrap;}
|
.layui-nav-child{display: none; position: absolute; left: 0; top: 65px; min-width: 100%; line-height: 36px; padding: 5px 0; box-shadow: 0 2px 4px rgba(0,0,0,.12); border: 1px solid #eee; background-color: #fff; z-index: 100; border-radius: 2px; white-space: nowrap; box-sizing: border-box;}
|
||||||
.layui-nav .layui-nav-child a{color: #5F5F5F; color: rgba(0,0,0,.8);}
|
.layui-nav .layui-nav-child a{color: #5F5F5F; color: rgba(0,0,0,.8);}
|
||||||
.layui-nav .layui-nav-child a:hover{background-color: #F6F6F6; color: rgba(0,0,0,.8);}
|
.layui-nav .layui-nav-child a:hover{background-color: #F6F6F6; color: rgba(0,0,0,.8);}
|
||||||
.layui-nav-child dd{margin: 1px 0; position: relative;}
|
.layui-nav-child dd{margin: 1px 0; position: relative;}
|
||||||
@ -1172,6 +1171,21 @@ body .layui-table-tips .layui-layer-content{background: none; padding: 0; box-sh
|
|||||||
|
|
||||||
/* 侧边 */.layui-nav-side{position: fixed; top: 0; bottom: 0; left: 0; overflow-x: hidden; z-index: 999;}
|
/* 侧边 */.layui-nav-side{position: fixed; top: 0; bottom: 0; left: 0; overflow-x: hidden; z-index: 999;}
|
||||||
|
|
||||||
|
/* 导航浅色背景 */
|
||||||
|
.layui-nav.layui-bg-gray .layui-nav-item a,
|
||||||
|
.layui-nav-tree.layui-bg-gray a{color: rgba(0,0,0,.8);}
|
||||||
|
.layui-nav-tree.layui-bg-gray{padding: 6px 0;}
|
||||||
|
.layui-nav-tree.layui-bg-gray .layui-nav-itemed>a{color: #000 !important;}
|
||||||
|
.layui-nav.layui-bg-gray .layui-this a{color: #5FB878;}
|
||||||
|
.layui-nav-tree.layui-bg-gray .layui-nav-itemed>.layui-nav-child{padding-left: 11px; background: none!important;}
|
||||||
|
.layui-nav-tree.layui-bg-gray .layui-nav-item>a{padding-top: 0; padding-bottom: 0;}
|
||||||
|
.layui-nav-tree.layui-bg-gray .layui-nav-item>a .layui-nav-more{padding: 0;}
|
||||||
|
.layui-nav-tree.layui-bg-gray .layui-this,
|
||||||
|
.layui-nav-tree.layui-bg-gray .layui-this>a,
|
||||||
|
.layui-nav-tree.layui-bg-gray .layui-nav-child dd.layui-this,
|
||||||
|
.layui-nav-tree.layui-bg-gray .layui-nav-child dd.layui-this a{background: none!important; color: #5FB878!important; font-weight: 700;}
|
||||||
|
.layui-nav-tree.layui-bg-gray .layui-nav-bar{background-color: #5FB878;}
|
||||||
|
|
||||||
|
|
||||||
/** 面包屑 **/
|
/** 面包屑 **/
|
||||||
.layui-breadcrumb{visibility: hidden; font-size: 0;}
|
.layui-breadcrumb{visibility: hidden; font-size: 0;}
|
||||||
|
Loading…
Reference in New Issue
Block a user