修改提示信息出现位置

This commit is contained in:
joyqi 2013-10-12 22:03:32 +08:00
parent 0e388726b4
commit e136485218
3 changed files with 15 additions and 15 deletions

View File

@ -423,21 +423,21 @@ button.primary:active, button.primary.active {
/** 增加顶部消息样式 by 70 */
.popup {
border-top: none;
border-width: 0 0 1px 0;
position: relative;
z-index: 10;
text-align: center;
font-weight: bold;
display: none;
-moz-border-radius-topleft: 0;
-moz-border-radius-topright: 0;
-webkit-border-top-left-radius: 0;
-webkit-border-top-right-radius: 0;
-moz-border-radius: 0;
-moz-border-radius: 0;
-webkit-border-radius: 0;
-webkit-border-radius: 0;
/* hope IE support border radius, God save me! */
border-top-left-radius: 0;
border-top-right-radius: 0;
border-radius: 0;
border-radius: 0;
}
.popup ul {

View File

@ -11,3 +11,10 @@
<a class="exit" href="<?php $options->logoutUrl(); ?>"><?php _e('登出'); ?></a>
</div>
</div>
<?php if($notice->have() && in_array($notice->noticeType, array('success', 'notice', 'error'))): ?>
<div class="message <?php $notice->noticeType(); ?> popup">
<ul>
<?php $notice->lists(); ?>
</ul>
</div>
<?php endif; ?>

View File

@ -1,11 +1,4 @@
<?php if(!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php if($notice->have() && in_array($notice->noticeType, array('success', 'notice', 'error'))): ?>
<div class="message <?php $notice->noticeType(); ?> popup">
<ul>
<?php $notice->lists(); ?>
</ul>
</div>
<?php endif; ?>
<div class="col-group">
<div class="typecho-page-title col-mb-12">
<h2><?php echo $menu->title; ?><?php
@ -14,4 +7,4 @@
}
?></h2>
</div>
</div>
</div>