mirror of
https://github.com/typecho/typecho.git
synced 2025-03-20 01:49:40 +01:00
修改提示信息出现位置
This commit is contained in:
parent
0e388726b4
commit
e136485218
@ -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 {
|
||||
|
@ -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; ?>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user