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

Side by Side Diff: sky/examples/fn/widgets/floating_action_button.dart

Issue 975203002: Remove box shadow on floating action button until ganesh fixes its bug (Closed) Base URL: https://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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 part of widgets; 1 part of widgets;
2 2
3 class FloatingActionButton extends StyleComponent { 3 class FloatingActionButton extends StyleComponent {
4
5 // TODO(rafaelw): Ganesh has problems with box shadows
6 // box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
7
4 static final Style _style = new Style(''' 8 static final Style _style = new Style('''
5 position: absolute; 9 position: absolute;
6 display: flex; 10 display: flex;
7 justify-content: center; 11 justify-content: center;
8 align-items: center; 12 align-items: center;
9 bottom: 16px; 13 bottom: 16px;
10 right: 16px; 14 right: 16px;
11 width: 56px; 15 width: 56px;
12 height: 56px; 16 height: 56px;
13 background-color: #F44336; 17 background-color: #F44336;
14 color: white; 18 color: white;
15 border-radius: 28px; 19 border-radius: 28px;'''
16 box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);'''
17 ); 20 );
18 21
19 Style get style => _style; 22 Style get style => _style;
20 23
21 FloatingActionButton({ Object key, Node content }) : super(key: key, content: content); 24 FloatingActionButton({ Object key, Node content }) : super(key: key, content: content);
22 } 25 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698