Changeset 3034

Show
Ignore:
Timestamp:
07/10/2008 01:02:53 PM (5 months ago)
Author:
Geert
Message:

Adding CSS classes back in the Profiler views, undoing r3033. PugFish? pointed out that people can create their own table extensions in Profiler which the general "#kohana-profiler table" would mess up then.

Location:
trunk/system/views
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/views/kohana_profiler.php

    r3033 r3034  
    1515        font: inherit; 
    1616} 
    17 #kohana-profiler p 
     17#kohana-profiler .kp-meta 
    1818{ 
    1919        margin: 0 0 10px; 
     
    3333} 
    3434?> 
    35 <p>Profiler executed in <?php echo number_format($execution_time, 3) ?>s</p> 
     35<p class="kp-meta">Profiler executed in <?php echo number_format($execution_time, 3) ?>s</p> 
    3636</div> 
  • trunk/system/views/kohana_profiler_table.css

    r3033 r3034  
    1 #kohana-profiler table 
     1#kohana-profiler .kp-table 
    22{ 
    33        font-size: 1.0em; 
     
    1010        margin-bottom: 10px; 
    1111} 
    12 #kohana-profiler table td 
     12#kohana-profiler .kp-table td 
    1313{ 
    1414        background-color: #FFFFFF; 
     
    1717        vertical-align: top; 
    1818} 
    19 #kohana-profiler table .kp-title td 
     19#kohana-profiler .kp-table .kp-title td 
    2020{ 
    2121        font-weight: bold; 
    2222        background-color: inherit; 
    2323} 
    24 #kohana-profiler table .kp-altrow td 
     24#kohana-profiler .kp-table .kp-altrow td 
    2525{ 
    2626        background-color: #F7FBFF; 
    2727} 
    28 #kohana-profiler table .kp-totalrow td 
     28#kohana-profiler .kp-table .kp-totalrow td 
    2929{ 
    3030        background-color: #FAFAFA; 
     
    3232        font-weight: bold; 
    3333} 
    34 #kohana-profiler table .kp-column 
     34#kohana-profiler .kp-table .kp-column 
    3535{ 
    3636        width: 100px; 
     
    3838        text-align: center; 
    3939} 
    40 #kohana-profiler table .kp-data, #kohana-profiler table .kp-name 
     40#kohana-profiler .kp-table .kp-data, #kohana-profiler .kp-table .kp-name 
    4141{ 
    4242        background-color: #FAFAFB; 
    4343        vertical-align: top; 
    4444} 
    45 #kohana-profiler table .kp-name 
     45#kohana-profiler .kp-table .kp-name 
    4646{ 
    4747        width: 200px; 
    4848        border-right: 1px solid #E5EFF8; 
    4949} 
    50 #kohana-profiler table .kp-altrow .kp-data, #kohana-profiler table .kp-altrow .kp-name 
     50#kohana-profiler .kp-table .kp-altrow .kp-data, #kohana-profiler .kp-table .kp-altrow .kp-name 
    5151{ 
    5252        background-color: #F6F8FB; 
  • trunk/system/views/kohana_profiler_table.php

    r3033 r3034  
    1 <table> 
     1<table class="kp-table"> 
    22<?php 
    33foreach ($rows as $row):