Author: david
Date: Fri Oct  7 09:55:06 2011
New Revision: 9960

Log:
Adjust print icon style to work for all current themes

Modified:
   trunk/apps/qubit/modules/physicalobject/templates/indexSuccess.php
   trunk/css/classic.css

Modified: trunk/apps/qubit/modules/physicalobject/templates/indexSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/physicalobject/templates/indexSuccess.php  Fri Oct 
 7 09:54:29 2011        (r9959)
+++ trunk/apps/qubit/modules/physicalobject/templates/indexSuccess.php  Fri Oct 
 7 09:55:06 2011        (r9960)
@@ -1,8 +1,8 @@
 <h1><?php echo __('View %1%', array('%1%' => 
sfConfig::get('app_ui_label_physicalobject'))) ?></h1>
 
-<h1 class="label">
+<h1 class="label printable">
   <?php echo render_title($resource) ?>
-  <?php echo link_to(image_tag('printer-icon.png', array('alt' => __('Print'), 
'id' => 'print-button')), array($resource, 'module' => 'physicalobject', 
'action' => 'boxList'), array('title' => __('Print'))) ?>
+  <?php echo link_to(image_tag('printer-icon.png', array('alt' => 
__('Print'))), array($resource, 'module' => 'physicalobject', 'action' => 
'boxList'), array('id' => 'print-button', 'title' => __('Print'))) ?>
 </h1>
 
 <div class="section">

Modified: trunk/css/classic.css
==============================================================================
--- trunk/css/classic.css       Fri Oct  7 09:54:29 2011        (r9959)
+++ trunk/css/classic.css       Fri Oct  7 09:55:06 2011        (r9960)
@@ -1005,3 +1005,16 @@
 .sidebar .alert-message.block-message {
   padding: 5px;
 }
+
+h1.printable
+{
+  position: relative;
+  padding-right: 25px;
+}
+
+#print-button
+{
+  position: absolute;
+  top: 2px;
+  right: 2px;
+}

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to