diff --git a/css/okadmin.theme.css b/css/okadmin.theme.css index 0c35720..3d3ce03 100644 --- a/css/okadmin.theme.css +++ b/css/okadmin.theme.css @@ -23,6 +23,34 @@ color: #2D8CF0; } /**============================导航菜单的箭头 start============================*/ +#navBar .layui-nav-more { + top: 17px; + right: 20px; +} + +.layui-nav-itemed>a .layui-nav-more:before{ + right: -2px; + margin-top: -6px; +} +#navBar .layui-nav-more:before { + content: ''; + width: 0; + height: 0; + border-style: solid dashed dashed; + border-color: #fff transparent transparent; + overflow: hidden; + cursor: pointer; + /*transition: all .2s;*/ + -webkit-transition: all .2s; + position: absolute; + top: 50%; + /*top: 40%;*/ + /*right: 3px;*/ + /*margin-top: 20px;*/ + border-width: 6px; + border-top-color: rgba(255,255,255,.7); +} + #navBar.ok-arrow2 .layui-nav-item a span, #navBar.ok-arrow3 .layui-nav-item a span, #navBar.ok-arrow2 .layui-nav-item.layui-nav-itemed dd a span, @@ -54,7 +82,9 @@ #navBar.ok-arrow3 .layui-nav-item a span.layui-nav-more:before{ display: block; position: absolute; - top: 0; + border-style: none; + /*border-color: #fff transparent transparent;*/ + top: 5px; left: 0; height: 12px; line-height: 12px; @@ -67,7 +97,8 @@ content: "\e661"; } #navBar.ok-arrow2 .layui-nav-itemed > a > span.layui-nav-more:before{ - /*content: "\e6de";*/ + top: 20px; + content: "\e6de"; transform: rotate(180deg); } @@ -75,6 +106,7 @@ content: "\e767"; } #navBar.ok-arrow3 .layui-nav-itemed > a > span.layui-nav-more:before{ + top: 18px; content: "\e768"; } diff --git a/index.html b/index.html index 1ee57f9..2e33dbc 100644 --- a/index.html +++ b/index.html @@ -94,7 +94,7 @@