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

Side by Side Diff: dashboard/dashboard/pinpoint/elements/navigation-bar.html

Issue 2995833002: Switch dashboard to new flexbox. (Closed)
Patch Set: Created 3 years, 4 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright 2017 The Chromium Authors. All rights reserved. 3 Copyright 2017 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="/components/iron-icons/iron-icons.html"> 8 <link rel="import" href="/components/iron-icons/iron-icons.html">
9 9
10 <link rel="import" href="/dashboard/static/simple_xhr.html"> 10 <link rel="import" href="/dashboard/static/simple_xhr.html">
(...skipping 13 matching lines...) Expand all
24 font-size: 100%; 24 font-size: 100%;
25 font: inherit; 25 font: inherit;
26 vertical-align: baseline; 26 vertical-align: baseline;
27 z-index: 1000; 27 z-index: 1000;
28 margin-left: -10px; /* Ignore body's padding left. */ 28 margin-left: -10px; /* Ignore body's padding left. */
29 padding-right: 20px; /* Ignore body's padding right. */ 29 padding-right: 20px; /* Ignore body's padding right. */
30 } 30 }
31 31
32 #navbar > ul { 32 #navbar > ul {
33 display: flex; 33 display: flex;
34 display: -webkit-flex;
35 width: 100%; 34 width: 100%;
36 background-color: #2D2D2D; 35 background-color: #2D2D2D;
37 border-bottom: black; 36 border-bottom: black;
38 margin-bottom: 6px; 37 margin-bottom: 6px;
39 } 38 }
40 39
41 #navbar li { 40 #navbar li {
42 padding: 6px 10px; 41 padding: 6px 10px;
43 } 42 }
44 43
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 if ('display_username' in response) { 109 if ('display_username' in response) {
111 this.displayUsername = response.display_username; 110 this.displayUsername = response.display_username;
112 } else { 111 } else {
113 this.displayUsername = 'Sign in'; 112 this.displayUsername = 'Sign in';
114 } 113 }
115 }.bind(this)); 114 }.bind(this));
116 } 115 }
117 }); 116 });
118 </script> 117 </script>
119 </dom-module> 118 </dom-module>
OLDNEW
« no previous file with comments | « dashboard/dashboard/pinpoint/elements/main-page.html ('k') | dashboard/dashboard/static/base.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698