Author: sevein
Date: Mon Aug 13 23:39:06 2012
New Revision: 12098
Log:
s/strong/span, drop bold style from active item and pubStatus, makes the UI
lighter
Modified:
trunk/css/graphic.css
trunk/lib/helper/QubitHelper.php
Modified: trunk/css/graphic.css
==============================================================================
--- trunk/css/graphic.css Mon Aug 13 23:30:37 2012 (r12097)
+++ trunk/css/graphic.css Mon Aug 13 23:39:06 2012 (r12098)
@@ -309,7 +309,6 @@
#treeview .active
{
- font-weight: bold;
background-color: #F1E6D4;
-webkit-border-radius: 2px 0 0 2px;
-moz-border-radius: 2px 0 0 2px;
@@ -387,12 +386,12 @@
left: 0px;
}
-#treeview strong
+#treeview span
{
margin-right: 4px;
}
-#treeview strong.publicationStatus
+#treeview .publicationStatus
{
color: #bbb;
}
Modified: trunk/lib/helper/QubitHelper.php
==============================================================================
--- trunk/lib/helper/QubitHelper.php Mon Aug 13 23:30:37 2012 (r12097)
+++ trunk/lib/helper/QubitHelper.php Mon Aug 13 23:39:06 2012 (r12098)
@@ -200,7 +200,7 @@
$node .= ' data-title="'.sfConfig::get('app_ui_label_term').'"';
}
- $node .= '
data-content="'.esc_entities(render_title($item->__toString())).'"';
+ $node .= ' data-content="'.esc_entities(render_title($item)).'"';
// Close tag
$node .= '>';
@@ -222,13 +222,13 @@
// Publication status
if ((null !== $status = $item->getPublicationStatus()) &&
QubitTerm::PUBLICATION_STATUS_DRAFT_ID == $status->statusId)
{
- $node .= '<strong
class="publicationStatus">('.$status->__toString().')</strong>';
+ $node .= '<span
class="publicationStatus">('.$status->__toString().')</span>';
}
// Level of description
if (null !== $levelOfDescription =
QubitTerm::getById($item->levelOfDescriptionId))
{
- $node .= '<strong
class="levelOfDescription">'.$levelOfDescription->getName().'</strong>';
+ $node .= '<span
class="levelOfDescription">'.$levelOfDescription->getName().'</span>';
}
// Title
--
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.