Ojan Vafai
a03a911e7c
Remove all uses of display:block and display:inline-block.
...
-Make display:flex, flex-direction: column, flex-shrink: 1 the default.
-Simplify StyleAdjuster::adjustStyleForAlignment to remove special cases we
won't need as we make flex the default and remove absolute positioning.
-Fix a bug this exposed in column flexboxes where we'd apply the wrong edge
of border/padding/margin.
-For now leave the default of align-items:stretch. The main change here is
that iframe/img will do width:auto the same as blocks (i.e. the width of
the parent). I think this is a good change, but we'll have to see how it feels
in practice.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/1061163002
2015-04-06 16:44:12 -07:00
Hixie
fd14a1d0f2
[Effen] s/Node/UINode/, s/Element/WrapperNode/, s/EventTarget/EventListenerNode/
...
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/1043283003
2015-04-01 09:46:28 -07:00
Adam Barth
362f8193ab
Improve Sky READMEs
...
TBR=ojan@chromium.org
Review URL: https://codereview.chromium.org/1037163002
2015-03-26 17:17:34 -07:00
Adam Barth
854f083f1b
Clean up examples directory
...
1) Merge input example into widgets example
2) Move single-file, non-fn examples into a "raw" directory
3) Rename stocks-fn and widgets-fn to stocks and widgets
R=ojan@chromium.org
Review URL: https://codereview.chromium.org/1005393006
2015-03-26 14:32:40 -07:00
Eric Seidel
d5a089fd40
Remove custom elements examples, they are no longer maintained
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/1022613002
2015-03-18 13:38:17 -07:00
Adam Barth
df9d48ac83
Make stocks-fn match the style for the Sky SDK
...
1) Add a pubspec.yaml.
2) Move all the code into a 'lib' directory.
3) Move the stock widgets out of the app's library.
TBR=eseidel@chromium.org
Review URL: https://codereview.chromium.org/1011023003
2015-03-17 15:08:53 -07:00
Eric Seidel
6987f50834
Move sky-*.sky into framework/elements
...
We're not actively developing these at the moment.
I could also just delete them, not sure if we're ready for that yet.
TBR=abarth@chromium.org
Review URL: https://codereview.chromium.org/999873002
2015-03-11 13:50:09 -07:00
Adam Barth
09538aed91
stocks and stocks-fn should share the stocks data
...
Previously, the two versions of this sample app had separate copies of the
stock data. This CL moves the common data to the common data directory so that
they can share. Also, I've switched the data files to be |dart| files rather
than |sky| files to make them easier to use from fn examples.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/980953002
2015-03-05 09:56:51 -08:00
Adam Barth
6d64856134
Implement quantum ink splashes
...
These aren't 100% correct, but they look somewhat reasonable.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/954023002
2015-02-24 15:41:52 -08:00
Adam Barth
b4385bcebe
Make the stock app demo list view prettier
...
This CL makes the list view in the stocks app more consistent with the material
spec by using a colored circle instead of color-coding the percentage change.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/932103004
2015-02-24 15:41:35 -08:00
Adam Barth
8462f94f22
Add a shadow to the sky-drawer
...
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/950353003
2015-02-24 11:33:26 -08:00
Adam Barth
0c2621411d
Make the stocks drawer look more realistic
...
The menu items don't quite make sense for this app, but they're closer in
visual styling.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/951413002
2015-02-24 10:48:23 -08:00
Adam Barth
5f50e4b60f
Factor sky-toolbar into a componet and use a proper material shadow
...
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/953903004
2015-02-24 10:47:01 -08:00
Adam Barth
adf02a0dc5
Add a search and menu button to stocks app
...
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/956463002
2015-02-23 22:14:26 -08:00
Adam Barth
b24baa7a2a
Add <sky-icon> to access material design widgets
...
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/947383002
2015-02-23 17:26:19 -08:00
Eric Seidel
4ca655c963
Add a box-shadow to the app-bar per material design
...
Also made the background a MD color.
R=abarth@chromium.org
BUG=
Review URL: https://codereview.chromium.org/951653004
2015-02-23 17:19:29 -08:00
Eric Seidel
71390b7ef1
Attempt to make the stocks example more more material-friendly.
...
http://www.google.com/design/spec/components/lists.html#lists-specs
http://www.google.com/design/spec/style/color.html#
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/930193004
2015-02-23 16:19:06 -08:00
Eric Seidel
377cd1bea7
Show the last sale price in the stocks app
...
TBR=abarth@chromium.org
Review URL: https://codereview.chromium.org/953593002
2015-02-23 14:51:22 -08:00
Eric Seidel
457c78f742
Make the stocks app slightly prettier.
...
I removed the green background and added display
of percent change (which is random for now).
I also display a random assortment of stocks every time
instead of always the top 100.
R=rafaelw@chromium.org
Review URL: https://codereview.chromium.org/950073002
2015-02-23 13:09:40 -08:00
Eric Seidel
e6a5e59e25
Wire in more-real stock data for stocks example.
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/954513003
2015-02-23 12:52:17 -08:00
Adam Barth
545f6abb02
Morph "appish" example into a "stocks" app
...
We'll flesh this example out over time to demo a bunch of our widgets.
TBR=eseidel@chromium.org
Review URL: https://codereview.chromium.org/954503002
2015-02-23 09:30:11 -08:00