Skip to content

Commit

Permalink
💄 优化后台设置和菜单动画效果 #131
Browse files Browse the repository at this point in the history
  • Loading branch information
Licoy committed Apr 23, 2022
1 parent c617922 commit 86e4d02
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
6 changes: 3 additions & 3 deletions assets/dist/libs.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/dist/style.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/style/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ body.pre-mac pre {
line-height: @subHeight;

a {
transition: all .3s;
display: inline-block;
width: 100%;
}
Expand Down
2 changes: 1 addition & 1 deletion inc/fun/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ function pk_get_menu_obj_to_html($menus, &$out, $mobile = false, $dpath_cur = 1,
}
if (count($menu->children) > 0 && $dpath_cur < $max_dpath) {
$out .= '<ul ' . ($mobile ? 'id="menu-sub-' . $menu->ID . '"' : '') . ' class="sub-menu ' . ($mobile
? 'collapse' : 'animated bounceIn') . '">';
? 'collapse' : '') . '">';
pk_get_menu_obj_to_html($menu->children, $out, $mobile, $dpath_cur + 1, $max_dpath);
$out .= '</ul>';
}
Expand Down
2 changes: 1 addition & 1 deletion inc/seo.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php $titleConn = " " . pk_get_option("title_conn") . " " ?>
<?php $blogname = pk_get_option('web_title');
<?php $blogname = pk_get_option('web_title', get_bloginfo('title'));
$pkSeoPageInfo = ''; ?>
<?php global $other_page_title;
if(get_query_var('paged')){
Expand Down
4 changes: 3 additions & 1 deletion inc/setting/css/optionsframework.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@
width: 94%;
padding-right:2%;
}
#optionsframework-wrap .nav-tab-wrapper [id^=options-group-]{
margin-top:10px;
}
#optionsframework .section .explain {
max-width:38%;
float: left;
font-size: 12px;
line-height:16px;
Expand Down

0 comments on commit 86e4d02

Please sign in to comment.