Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: tracing/tracing/ui/base/heading.html

Issue 3002533002: Switch tracing to new flexbox. (Closed)
Patch Set: Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tracing/tracing/base/base.html ('k') | tracing/tracing/ui/base/list_and_associated_view.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright 2015 The Chromium Authors. All rights reserved. 3 Copyright 2015 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 7
8 <link rel='import' href='/tracing/ui/base/constants.html'> 8 <link rel='import' href='/tracing/ui/base/constants.html'>
9 9
10 <dom-module id='tr-ui-b-heading'> 10 <dom-module id='tr-ui-b-heading'>
(...skipping 10 matching lines...) Expand all
21 21
22 heading { 22 heading {
23 display: block; 23 display: block;
24 overflow-x: hidden; 24 overflow-x: hidden;
25 text-align: left; 25 text-align: left;
26 text-overflow: ellipsis; 26 text-overflow: ellipsis;
27 white-space: nowrap; 27 white-space: nowrap;
28 } 28 }
29 29
30 #arrow { 30 #arrow {
31 -webkit-flex: 0 0 auto; 31 flex: 0 0 auto;
32 font-family: sans-serif; 32 font-family: sans-serif;
33 margin-left: 5px; 33 margin-left: 5px;
34 margin-right: 5px; 34 margin-right: 5px;
35 width: 8px; 35 width: 8px;
36 } 36 }
37 37
38 #link, #heading_content { 38 #link, #heading_content {
39 display: none; 39 display: none;
40 } 40 }
41 </style> 41 </style>
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 this.$.link.style.display = 'inline-block'; 130 this.$.link.style.display = 'inline-block';
131 this.$.link.selection = this.selectionGenerator_; 131 this.$.link.selection = this.selectionGenerator_;
132 Polymer.dom(this.$.link).textContent = this.heading_; 132 Polymer.dom(this.$.link).textContent = this.heading_;
133 } else { 133 } else {
134 this.$.heading_content.style.display = 'inline-block'; 134 this.$.heading_content.style.display = 'inline-block';
135 Polymer.dom(this.$.heading_content).textContent = this.heading_; 135 Polymer.dom(this.$.heading_content).textContent = this.heading_;
136 } 136 }
137 } 137 }
138 }); 138 });
139 </script> 139 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/base/base.html ('k') | tracing/tracing/ui/base/list_and_associated_view.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698