diff --git a/src/demo-app/button/button-demo.html b/src/demo-app/button/button-demo.html index befde24849f..fd19c7f5e57 100644 --- a/src/demo-app/button/button-demo.html +++ b/src/demo-app/button/button-demo.html @@ -1,60 +1,61 @@ -
+
+
-
+
-
+
link link - check circle + check circle - check circle + check circle -
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- isDisabled: {{isDisabled}} - + isDisabled: {{isDisabled}} +
off -
- +
+ diff --git a/src/demo-app/button/button-demo.scss b/src/demo-app/button/button-demo.scss index 8e87fbfdefe..7e2ab618088 100644 --- a/src/demo-app/button/button-demo.scss +++ b/src/demo-app/button/button-demo.scss @@ -1,19 +1,13 @@ -// Helps fonts on OSX looks more consistent with other systems -// Isn't currently in button styles due to performance concerns -* { - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -button, a, { - margin: 8px; - text-transform: uppercase; -} - - -section { - background-color: #f7f7f7; - margin: 8px; +.demo-button { + button, a { + margin: 8px; + text-transform: uppercase; + } + + section { + background-color: #f7f7f7; + margin: 8px; + } } diff --git a/src/demo-app/card/card-demo.html b/src/demo-app/card/card-demo.html index 5005af74202..a577da8565b 100644 --- a/src/demo-app/card/card-demo.html +++ b/src/demo-app/card/card-demo.html @@ -1,4 +1,4 @@ -
+
Card with title @@ -40,11 +40,11 @@ - + Easily customizable -
\ No newline at end of file +
diff --git a/src/demo-app/card/card-demo.scss b/src/demo-app/card/card-demo.scss index c3fe5a4f3ad..7e462aa9917 100644 --- a/src/demo-app/card/card-demo.scss +++ b/src/demo-app/card/card-demo.scss @@ -1,22 +1,22 @@ -md-card { - margin: 0 16px 16px 0; - width: 350px; -} - -.card-container { +.demo-card-container { display: flex; flex-flow: column nowrap; + + md-card { + margin: 0 16px 16px 0; + width: 350px; + } + + img { + background-color: gray; + } } -.blue { +.demo-card-blue { background-color: #B0BECC; -} -.blue md-card-actions { - display: flex; - flex-direction: column; -} - -img { - background-color: gray; + md-card-actions { + display: flex; + flex-direction: column; + } } diff --git a/src/demo-app/demo-app.html b/src/demo-app/demo-app.html index dcf174e09ae..b160e6247fa 100644 --- a/src/demo-app/demo-app.html +++ b/src/demo-app/demo-app.html @@ -1,15 +1,17 @@ -

Angular Material2 Demos

- - -
- +
+

Angular Material2 Demos

+ + +
+ +
diff --git a/src/demo-app/demo-app.scss b/src/demo-app/demo-app.scss index 03466bc4b90..f23099e1cde 100644 --- a/src/demo-app/demo-app.scss +++ b/src/demo-app/demo-app.scss @@ -1,3 +1,14 @@ +.demo-root { + font-family: Roboto, 'Helvetica Neue', sans-serif; + padding: 20px; + + // Helps fonts on OSX looks more consistent with other systems + // Isn't currently in button styles due to performance concerns + * { + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + } +} .demo-content { padding: 15px; diff --git a/src/demo-app/progress-circle/progress-circle-demo.html b/src/demo-app/progress-circle/progress-circle-demo.html index 333025b0ab3..7efd5fc1069 100644 --- a/src/demo-app/progress-circle/progress-circle-demo.html +++ b/src/demo-app/progress-circle/progress-circle-demo.html @@ -1,5 +1,5 @@

Determinate

-
+
@@ -13,7 +13,7 @@

Indeterminate

-
+
diff --git a/src/demo-app/progress-circle/progress-circle-demo.scss b/src/demo-app/progress-circle/progress-circle-demo.scss index f93b650636e..1e6177d6350 100644 --- a/src/demo-app/progress-circle/progress-circle-demo.scss +++ b/src/demo-app/progress-circle/progress-circle-demo.scss @@ -1,4 +1,4 @@ -.demo-progress-circle-container { +.demo-progress-circle { width: 100%; md-progress-circle, @@ -6,4 +6,4 @@ display: inline-block; } -} \ No newline at end of file +} diff --git a/src/demo-app/sidenav/sidenav-demo.html b/src/demo-app/sidenav/sidenav-demo.html index c4e437544ce..3835438303d 100644 --- a/src/demo-app/sidenav/sidenav-demo.html +++ b/src/demo-app/sidenav/sidenav-demo.html @@ -1,4 +1,4 @@ - + Start Side Drawer
@@ -19,7 +19,7 @@
-
+

My Content

diff --git a/src/demo-app/sidenav/sidenav-demo.scss b/src/demo-app/sidenav/sidenav-demo.scss index bf65da97248..47813d80273 100644 --- a/src/demo-app/sidenav/sidenav-demo.scss +++ b/src/demo-app/sidenav/sidenav-demo.scss @@ -1,8 +1,11 @@ - -md-sidenav-layout { +.demo-sidenav-layout { border: 3px solid black; md-sidenav { padding: 10px; } } + +.demo-sidenav-content { + padding: 15px; +}