From 314b3ec55cf60aef44ae3382346c72f99468c330 Mon Sep 17 00:00:00 2001 From: ChanMyeong Date: Mon, 12 Nov 2012 07:40:39 +0000 Subject: [PATCH] Site edit tree node UI enhancement. git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12185 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/menu/tpl/css/sitemap.css | 2 +- modules/menu/tpl/css/themes/default/style.css | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/menu/tpl/css/sitemap.css b/modules/menu/tpl/css/sitemap.css index 1959475dd..d9aa0c1ac 100644 --- a/modules/menu/tpl/css/sitemap.css +++ b/modules/menu/tpl/css/sitemap.css @@ -38,7 +38,7 @@ body>.x{max-width:none !important} .mapi>ul>li>a:focus, .mapi>ul>li>a.jstree-clicked, .mapi>ul>li>a.jstree-hovered{text-shadow:none} -.mapi>ul>li>ul{margin-top:3px;padding:7px 0} +.mapi>ul>li>ul{margin:3px 0 0 18px;padding:7px 0} .mapi>ul>li>ul>li{margin-left:0} /* li>a */ .mapi li>a{border:0 !important;padding:0 8px !important;margin:0 60px 1px 0;border-radius:3px;position:relative;z-index:2;height:23px;line-height:23px;-webkit-transition:.3s;-moz-transition:.3s;-o-transition:.3s} diff --git a/modules/menu/tpl/css/themes/default/style.css b/modules/menu/tpl/css/themes/default/style.css index 319473843..94e852348 100644 --- a/modules/menu/tpl/css/themes/default/style.css +++ b/modules/menu/tpl/css/themes/default/style.css @@ -16,6 +16,8 @@ .jstree-default>ul>li, .jstree-default li.jstree-last{background:transparent} .jstree-default>ul>li>ins{background-position:-54px -36px !important;vertical-align:baseline !important} +.jstree-default>ul>li.jstree-open>ins{background-position:-72px 0 !important} +.jstree-default>ul>li.jstree-closed>ins{background-position:-54px 0 !important} .jstree-default .jstree-hovered{background:#666;color:#fff;} .jstree-default .jstree-clicked{background:#000;color:#fff}