Index: tracing/tracing/ui/base/tab_view.html |
diff --git a/tracing/tracing/ui/base/tab_view.html b/tracing/tracing/ui/base/tab_view.html |
index e1bc42f3e1e98e28e39668c1ca88f232bd1c7ba7..08a15c61d1e1eb8b34faa41a0a8ef5a2a5e20b2b 100644 |
--- a/tracing/tracing/ui/base/tab_view.html |
+++ b/tracing/tracing/ui/base/tab_view.html |
@@ -56,6 +56,10 @@ and limit users to having one option selected at a time. |
padding: 3px 10px 3px 10px; |
} |
+ #tabs tab label span { |
+ font-weight: bold; |
+ } |
+ |
#tabs input[type=radio]:checked ~ label { |
background-color: white; |
border: 1px solid #8e8e8e; |
@@ -74,7 +78,12 @@ and limit users to having one option selected at a time. |
<input type=radio name=tabs id$=[[computeRadioId_(item)]] |
on-change='onTabChanged_' |
checked$='[[isChecked_(item)]]' /> |
- <label for$=[[computeRadioId_(item)]]>[[item.tabLabel]]</label> |
+ <label for$=[[computeRadioId_(item)]]> |
+ <template is=dom-if if=[[item.tabIcon]]> |
+ <span style$='[[item.tabIcon.style]]'>[[item.tabIcon.text]]</span> |
+ </template> |
+ [[item.tabLabel]] |
+ </label> |
</tab> |
</template> |
</div> |