MDL-64099 message: Make collapsible headers bold

This commit is contained in:
Bas Brands
2018-11-27 10:51:04 +08:00
committed by Ryan Wyllie
parent 986d1a20f6
commit dfd6eec2b4
6 changed files with 23 additions and 4 deletions
@@ -1268,6 +1268,12 @@
text-decoration: none;
color: inherit;
}
.btn-link {
&:hover,
&:focus {
text-decoration: none;
}
}
.message {
p {
+4
View File
@@ -9180,6 +9180,10 @@ a.ygtvspacer:hover {
text-decoration: none;
color: inherit;
}
.message-drawer .btn-link:hover,
.message-drawer .btn-link:focus {
text-decoration: none;
}
.message-drawer .message p {
margin: 0;
}
@@ -35,6 +35,7 @@
adding ".in" to ".show"
adding .accordion-group to the main container div
adding expanded to the .accordion-group if required for toggle icons to work.
changing span.font-weight-bold to strong
Example context (json):
{}
@@ -59,7 +60,7 @@
<span class="expanded-icon-container">
{{#pix}} t/expanded, core {{/pix}}
</span>
{{$title}}{{/title}}
<strong>{{$title}}{{/title}}</strong>
<span class="hidden ml-1" data-region="section-total-count-container">
(<span data-region="section-total-count">{{count.total}}</span>)
</span>
@@ -79,4 +80,4 @@
data-parent="#message-drawer-view-overview-container"
{{/rootattributes}}
{{/ core_message/message_drawer_lazy_load_list }}
</div>
</div>