Browse Source

css fix.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
29077460db
  1. 19
      apps/basic/web/css/site.css
  2. 7
      framework/yii/debug/assets/main.css
  3. 12
      framework/yii/debug/views/default/view.php

19
apps/basic/web/css/site.css

@ -1,19 +1,20 @@
body { body {
padding-top: 70px; padding-top: 70px;
} }
.footer { .footer {
border-top: 1px solid #ddd; border-top: 1px solid #ddd;
margin-top: 30px; margin-top: 30px;
padding-top: 15px; padding-top: 15px;
padding-bottom: 30px; padding-bottom: 30px;
} }
.jumbotron { .jumbotron {
text-align: center; text-align: center;
background-color: transparent; background-color: transparent;
} }
.jumbotron .btn { .jumbotron .btn {
font-size: 21px; font-size: 21px;
padding: 14px 24px; padding: 14px 24px;
} }

7
framework/yii/debug/assets/main.css

@ -139,5 +139,10 @@ ul.trace {
} }
.callout { .callout {
margin: 0 0 10px 0; margin: 0 0 10px 0;
padding: 5px 10px; padding: 5px;
}
.list-group .glyphicon {
float: right;
margin-right: -15px;
} }

12
framework/yii/debug/views/default/view.php

@ -28,15 +28,17 @@ $this->title = 'Yii Debugger';
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-2"> <div class="col-lg-2">
<ul class="nav nav-pills nav-stacked"> <div class="list-group affix-top">
<?php <?php
foreach ($panels as $id => $panel) { foreach ($panels as $id => $panel) {
$link = Html::a(Html::encode($panel->getName()), array('view', 'tag' => $tag, 'panel' => $id)); $label = '<i class="glyphicon glyphicon-chevron-right"></i>' . Html::encode($panel->getName());
echo Html::tag('li', $link, array('class' => $panel === $activePanel ? 'active' : null)); echo Html::a($label, array('view', 'tag' => $tag, 'panel' => $id), array(
'class' => $panel === $activePanel ? 'list-group-item active' : 'list-group-item',
));
} }
?> ?>
</ul> </div>
</div><!--/span--> </div>
<div class="col-lg-10"> <div class="col-lg-10">
<div class="callout callout-danger"> <div class="callout callout-danger">
<?php <?php

Loading…
Cancel
Save