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

Side by Side Diff: sky/framework/components/drawer_header.dart

Issue 1010493007: Make the status bar translucent (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | sky/framework/components/toolbar.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 import '../fn.dart'; 5 import '../fn.dart';
6 import '../theme/colors.dart'; 6 import '../theme/colors.dart';
7 import '../theme/view-configuration.dart';
7 8
8 class DrawerHeader extends Component { 9 class DrawerHeader extends Component {
9 static final Style _style = new Style(''' 10 static final Style _style = new Style('''
10 display: flex; 11 display: flex;
11 flex-direction: column; 12 flex-direction: column;
12 height: 140px; 13 height: ${140 + kStatusBarHeight}px;
13 -webkit-user-select: none; 14 -webkit-user-select: none;
14 background-color: ${BlueGrey[50]}; 15 background-color: ${BlueGrey[50]};
15 border-bottom: 1px solid #D1D9E1; 16 border-bottom: 1px solid #D1D9E1;
16 padding-bottom: 7px; 17 padding-bottom: 7px;
17 margin-bottom: 8px;''' 18 margin-bottom: 8px;'''
18 ); 19 );
19 20
20 static final Style _spacerStyle = new Style(''' 21 static final Style _spacerStyle = new Style('''
21 flex: 1''' 22 flex: 1'''
22 ); 23 );
(...skipping 18 matching lines...) Expand all
41 ), 42 ),
42 new Container( 43 new Container(
43 key: 'Label', 44 key: 'Label',
44 style: _labelStyle, 45 style: _labelStyle,
45 children: children 46 children: children
46 ) 47 )
47 ] 48 ]
48 ); 49 );
49 } 50 }
50 } 51 }
OLDNEW
« no previous file with comments | « no previous file | sky/framework/components/toolbar.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698