* Optimize page style.
This commit is contained in:
@@ -3,7 +3,10 @@
|
||||
<script>$('#mainMenu #<?php echo $tab;?>').addClass('btn-active-text')</script>
|
||||
<?php endif;?>
|
||||
<?php if($app->rawMethod == 'api'):?>
|
||||
<style>.api-tip-icon.icon-help:before {margin-top: 10px; margin-left: -14px; font-size: 12px;}</style>
|
||||
<style>
|
||||
.api-tip-icon.icon-help:before {margin-top: 8px; margin-left: -4px;}
|
||||
[lang^=zh] .api-tip-icon.icon-help:before {margin-left: -10px;}
|
||||
</style>
|
||||
<div id='mainMenu' class='clearfix menu-secondary'>
|
||||
<div class="btn-toolbar pull-left">
|
||||
<?php
|
||||
|
||||
@@ -215,7 +215,7 @@ $(function()
|
||||
var $item = '<a href="' + link + '" style="position: relative" data-has-children="' + hasChild + '" title="' + item.name + '" data-id="' + item.id + '" class="' + libClass + '" data-type="' + item.type + '" data-action="' + item.hasAction + '">';
|
||||
|
||||
$item += '<div class="text h-full w-full flex-start overflow-hidden">';
|
||||
if(libClass == 'lib' && (item.type == 'execution' && item.hasAction)) $item += '<div class="img-lib" style="background-image:url(static/svg/' + imgObj[item.type || 'lib'] + '.svg)"></div>';
|
||||
if((libClass == 'lib' && item.type != 'execution') || (item.type == 'execution' && item.hasAction)) $item += '<div class="img-lib" style="background-image:url(static/svg/' + imgObj[item.type || 'lib'] + '.svg)"></div>';
|
||||
$item += '<div class="tree-text">';
|
||||
$item += item.name;
|
||||
$item += '</div>';
|
||||
|
||||
Reference in New Issue
Block a user