summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsmain@google.com <smain@google.com>2014-06-24 10:29:50 -0700
committersmain@google.com <smain@google.com>2014-06-24 11:58:16 -0700
commitcfb92aa963f2fee3251c393bc6dcff9b194af3e1 (patch)
tree0006e32db90afa596a192d98510b20f8878a7e63
parentabf34118c3bf14bd4acfde657b3ef8b1fb913bea (diff)
downloadbuild-cfb92aa963f2fee3251c393bc6dcff9b194af3e1.zip
build-cfb92aa963f2fee3251c393bc6dcff9b194af3e1.tar.gz
build-cfb92aa963f2fee3251c393bc6dcff9b194af3e1.tar.bz2
add a smaller version of the device frame for wear
Change-Id: I91ead3f689844c5cf4b6862f38c686263f7d5cbf
-rw-r--r--tools/droiddoc/templates-sdk/assets/css/default.css17
-rw-r--r--tools/droiddoc/templates-sdk/assets/images/styles/device_wear_square_small.pngbin0 -> 21525 bytes
-rw-r--r--tools/droiddoc/templates-sdk/components/masthead.cs1
3 files changed, 18 insertions, 0 deletions
diff --git a/tools/droiddoc/templates-sdk/assets/css/default.css b/tools/droiddoc/templates-sdk/assets/css/default.css
index e3363fb..094fdc4 100644
--- a/tools/droiddoc/templates-sdk/assets/css/default.css
+++ b/tools/droiddoc/templates-sdk/assets/css/default.css
@@ -927,6 +927,15 @@ scroll top left;
overflow:hidden;
}
+.framed-wear-square-small {
+ background: transparent url(../images/styles/device_wear_square_small.png) no-repeat scroll top left;
+ background-size: 169px 200px;
+ height:147px;
+ width:147px;
+ padding:27px 11px;
+ overflow:hidden;
+}
+
#jd-content
.framed-wear-square img {
height:222px;
@@ -935,6 +944,14 @@ scroll top left;
margin:0;
}
+#jd-content
+.framed-wear-square-small img {
+ height:147px;
+ width: 147px;
+ padding:0;
+ margin:0;
+}
+
diff --git a/tools/droiddoc/templates-sdk/assets/images/styles/device_wear_square_small.png b/tools/droiddoc/templates-sdk/assets/images/styles/device_wear_square_small.png
new file mode 100644
index 0000000..e7e1540
--- /dev/null
+++ b/tools/droiddoc/templates-sdk/assets/images/styles/device_wear_square_small.png
Binary files differ
diff --git a/tools/droiddoc/templates-sdk/components/masthead.cs b/tools/droiddoc/templates-sdk/components/masthead.cs
index 386a244..43194ad 100644
--- a/tools/droiddoc/templates-sdk/components/masthead.cs
+++ b/tools/droiddoc/templates-sdk/components/masthead.cs
@@ -67,6 +67,7 @@
<li class="design">
<ul>
<li><a href="<?cs var:toroot ?>design/index.html">Get Started</a></li>
+ <li><a href="<?cs var:toroot ?>design/devices.html">Devices</a></li>
<li><a href="<?cs var:toroot ?>design/style/index.html">Style</a></li>
<li><a href="<?cs var:toroot ?>design/patterns/index.html">Patterns</a></li>
<li><a href="<?cs var:toroot ?>design/building-blocks/index.html">Building Blocks</a></li>