Browse Source

debugger minmax wip

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
c82cbf56a5
  1. 3
      framework/yii/debug/panels/ConfigPanel.php
  2. 37
      framework/yii/debug/views/default/toolbar.css
  3. 2
      framework/yii/debug/views/default/toolbar.php

3
framework/yii/debug/panels/ConfigPanel.php

File diff suppressed because one or more lines are too long

37
framework/yii/debug/views/default/toolbar.css

@ -113,3 +113,40 @@
#yii-debug-toolbar .badge-inverse[href] {
background-color: #1a1a1a;
}
#yii-debug-toolbar-minimize,
#yii-debug-toolbar-maximize {
cursor: pointer;
position: absolute;
right: 0;
width: 20px;
height: 30px;
font-size: 25px;
font-weight: 100;
line-height: 28px;
color: #ffffff;
text-align: center;
background: #222222;
border: 3px solid #ffffff;
-webkit-border-radius: 12px;
-moz-border-radius: 12px;
border-radius: 12px;
opacity: 0.5;
filter: alpha(opacity=50);
}
#yii-debug-toolbar-maximize {
cursor: pointer;
position: absolute;
right: 100px;
}
#yii-debug-toolbar-minimize:hover,
#yii-debug-toolbar-minimize:focus,
#yii-debug-toolbar-maximize:hover,
#yii-debug-toolbar-maximize:focus {
color: #ffffff;
text-decoration: none;
opacity: 0.9;
filter: alpha(opacity=90);
}

2
framework/yii/debug/views/default/toolbar.php

@ -13,4 +13,6 @@ use yii\helpers\Html;
<?php foreach ($panels as $panel): ?>
<?php echo $panel->getSummary(); ?>
<?php endforeach; ?>
<div id="yii-debug-toolbar-minimize"></div>
</div>
<div id="yii-debug-toolbar-maximize"></div>

Loading…
Cancel
Save