mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 19:51:42 +09:00
GNB UI. up/down arrow indicator added.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12423 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d216429ebf
commit
ded52c132d
5 changed files with 8 additions and 4 deletions
|
|
@ -22,7 +22,7 @@
|
|||
<div class="body <!--@if($_COOKIE['__xe_admin_gnb_status'] == 'close')-->wide<!--@end-->">
|
||||
<!-- GNB -->
|
||||
<nav class="gnb <!--@if($_COOKIE['__xe_admin_gnb_status'] == 'open')-->open<!--@end-->" id="gnb">
|
||||
<a href="#gnbNav"><i class="x_icon-align-justify x_icon-white"></i><b></b> 메뉴열기/닫기</a>
|
||||
<a href="#gnbNav"><i class="x_icon-align-justify x_icon-white"></i><b></b> Menu Open/Close</a>
|
||||
<ul id="gnbNav" class="ex"|cond="$_COOKIE['__xe_admin_gnb_ex_status'] == 'open'">
|
||||
<!--@foreach($gnbUrlList AS $key=>$value)-->
|
||||
<!--@if(strstr($value['menu_name_key'], 'configuration'))-->
|
||||
|
|
|
|||
|
|
@ -291,8 +291,11 @@ body>.x,
|
|||
.x>.body>.gnb>ul>li.open,
|
||||
.x>.body>.gnb>ul>li.active{border-bottom:0;padding:0 0 1px 0}
|
||||
/* li>a */
|
||||
.x>.body>.gnb>ul>li>a{padding:8px 5px 8px 10px;background:#f1f1f1;background:-webkit-gradient(linear,left top,left bottom,from(#F1F1F1),to(#E8E8E8));background:-moz-linear-gradient(top,#F1F1F1,#E8E8E8);background:-o-linear-gradient(top,#F1F1F1,#E8E8E8)}
|
||||
.x>.body>.gnb>ul>li>a{position:relative;padding:8px 5px 8px 10px;background:#f1f1f1;background:-webkit-gradient(linear,left top,left bottom,from(#F1F1F1),to(#E8E8E8));background:-moz-linear-gradient(top,#F1F1F1,#E8E8E8);background:-o-linear-gradient(top,#F1F1F1,#E8E8E8)}
|
||||
.x>.body>.gnb>ul>li>a>i{display:inline-block;width:14px;height:14px;margin:-4px 4px 0 0;vertical-align:middle;opacity:.75;filter:alpha(opacity=75)}
|
||||
.x>.body>.gnb>ul>li>a>b{position:absolute;width:0;height:0;top:50%;right:10px;margin:-2px 0 0 0;border:4px solid transparent;border-top-color:#999}
|
||||
.x>.body>.gnb>ul>li.open>a>b{border-top:0;border-bottom-color:#fff}
|
||||
.x>.body.wide>.gnb>ul>li>a>b{display:none}
|
||||
.x>.body>.gnb>ul>li[data-index="1"]>a>i{background-position:-384px -144px}
|
||||
.x>.body>.gnb>ul>li[data-index="2"]>a>i{background-position:0 -24px}
|
||||
.x>.body>.gnb>ul>li[data-index="3"]>a>i{background-position:-168px 0}
|
||||
|
|
|
|||
2
modules/admin/tpl/css/admin.min.css
vendored
2
modules/admin/tpl/css/admin.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -117,6 +117,7 @@ jQuery(function($){
|
|||
|
||||
// Add icon
|
||||
$xGnb_li.find('>a').prepend('<i />');
|
||||
$xGnb_li.find('>ul').prev('a').append('<b />');
|
||||
// Active Submenu Copy
|
||||
$xGnb_li.each(function(index){
|
||||
$(this).attr('data-index', index+1);
|
||||
|
|
|
|||
2
modules/admin/tpl/js/admin.min.js
vendored
2
modules/admin/tpl/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue