Commit Graph

730 Commits

Author SHA1 Message Date
Dirk Dougherty f5ffd4a40c Clean up core css changes brought in with samples css.
Change-Id: I0920695be4f6ed7085508a4451c13bc7d9e65d9a
2013-08-19 12:26:07 -07:00
Dirk Dougherty 4f7e515940 doc change: Samples browsing: basic support in templates and js/css.
Change-Id: Ie2323f5323c624420c90c8c782b840f183238f7c
2013-08-19 11:28:59 -07:00
Scott Main 52dd206715 fix two bugs in site script.
1. Fix URL path check for reference docs to initalize api level and sidenav.
Previously, this condition was never true, so the sidenav would not be initialized
under default conditions and the reference drag bar would not appear.
2. Fix the recent change to the 'scroll into view' script so that it works
properly in a multi-pane sidenav (reference docs) by again making the offset
measurement relative to the parent container (but much better than was done before).

Change-Id: I2a31ed59d772346651c2432f0ed26530983c49ff
2013-08-15 12:22:28 -07:00
Scott Main 3b90aff04c add fixed size to training icons (and remove whitespaces)
Change-Id: Iad8b597b9f181833d9f1d63e128abb49486fa543
2013-08-01 18:21:31 -07:00
Scott Main c774a31235 Merge "fix sidebar autoscroll when the selected doc is not visible. bug: 9676913" into jb-mr2-docs 2013-07-31 01:14:34 +00:00
Scott Main bc72957e92 fix sidebar autoscroll when the selected doc is not visible.
bug: 9676913

This was not working for third generation list items. Switching
the position measurement to be relative to the entire page rather than
the parent container fixes it. I then added 125px to account for
the site header and set the threshold and placement of scrolled items
to be at 80% the nav height.

Change-Id: Idda1896d11069e56325ba830ed745dae9e0fc483
2013-07-30 18:00:51 -07:00
Scott Main 5eccda8d6b add 'wide' version of design/develop cross-link buttons.
Primarily for training pages, which have a wider TOC box

Change-Id: I29644596e72e43432f7bd00fd6a5aabf7e3a6bb7
2013-07-30 14:56:45 -07:00
Joe Fernandez 3c1da3e2c9 DO NOT MERGE
cherrypick from jb-mr2-ub-dev
docs: small fix for NDK download table

Change-Id: Ib014e0310960cf10566a6d04aee2acb81346a20c
2013-07-25 18:21:00 -07:00
Dirk Dougherty 48e3f1d6e4 Add new table rows for legacy ndk downloads.
Change-Id: If8ebc459415a22719d351d87a55ddeb4ddb6b3ba
2013-07-25 15:54:26 -07:00
Scott Main 5430d20dda fix the api level filter (wasn't greying out APIs on page load)
Change-Id: Iaafe8c0652856eaff6725491f21581969e94f430
2013-07-23 20:48:54 -07:00
Scott Main 701a07fd33 remove margin changes for paragraphs in collapse container
Change-Id: I5ee51699cb473334e1c3cfb520c8145466eea265
2013-07-23 12:41:25 -07:00
Scott Main 98a2a71f9e edit code-caption style margin
Change-Id: I63c58015ca9037621c5d4c3929620ebd2203f5ad
2013-07-17 13:15:04 -07:00
Scott Main e80ddbe976 fix design/develop boxes float
Change-Id: Id6de3e74667f5cc485290509919e0f5cce689505
2013-07-12 19:22:24 -07:00
Scott Main 27403b8036 add style to add nexus 4 frame to screenshots
Change-Id: I1e96cbd755c4c6f88c807160b9a86b77a5ebed74
2013-07-10 16:36:05 -07:00
Dirk Dougherty 8c01be686c am ccc15faf: am 56811475: am 5386532e: Merge "Doc change: Move butterbar css to template assets." into jb-mr1.1-ub-dev
* commit 'ccc15faf56ad46f973800cb6bd41b4634b9192a0':
  Doc change: Move butterbar css to template assets.
2013-07-08 17:33:58 -07:00
Dirk Dougherty 5386532e03 Merge "Doc change: Move butterbar css to template assets." into jb-mr1.1-ub-dev 2013-07-09 00:28:40 +00:00
Dirk Dougherty 4c2dfcfd6d Doc change: Move butterbar css to template assets.
Change-Id: Ifa116fe304150c7c663b8088e00349ffdc69017c
2013-07-08 16:05:05 -07:00
Scott Main 7672ccb3d7 am fb2bb3d8: am 51852a3f: am 8c0f5b3a: enable download box style for qv sidebox
* commit 'fb2bb3d867fcdd3add7e30d1cbb6b956d3fce89e':
  enable download box style for qv sidebox
2013-07-08 15:28:53 -07:00
Scott Main 8c0f5b3aef enable download box style for qv sidebox
Change-Id: I209e9971d886e45498aab0b4d43241ded5285f24
2013-07-08 15:12:02 -07:00
Scott Main cef39240fb align sidebox with content body
Change-Id: Id6cd8cdd1b21b8ceda2a6931bb69f096c0d6deb1
2013-06-19 20:29:47 -07:00
Scott Main d19c2c82c1 update design/develop link icons to 2x for high res display
Change-Id: I09560c395088e0f8d835199a6eb4267af50bddaa
2013-06-19 18:48:27 -07:00
Scott Main aaf7664d88 add style for links to Design docs from developer docs
Change-Id: I0f7e561c98277fb1b6b9c0b95a2ed7eef890c6db
2013-06-19 18:39:16 -07:00
Scott Main d7026f7a5f add new script to toggle visibility of nested list items.
call hideNestedItems(), giving it the parent list to toggle and the <a> element that performs the toggle

Change-Id: I6f1ee74b957f88c23550145c6ed057d8e7797c99
2013-06-17 15:09:57 -07:00
Clay Murphy 49d8686488 docs: Adding styles needed by devices/tech/dalvik/dalvik-bytecode.html
Bug: 8905394

Change-Id: I3a89f9da01d92efd2ea6d9900305ea16a0316d63
2013-06-05 12:06:06 -07:00
Dirk Dougherty f7787853ff am 246089b1: am 87ef69ef: am 686f55a5: am 5b146f22: am e5862e8a: Doc change: css for distribute links.
* commit '246089b15a168ff6e632b23b24f2904faa90fd1b':
  Doc change: css for distribute links.
2013-05-15 05:32:02 -07:00
Dirk Dougherty 686f55a596 am 5b146f22: am e5862e8a: Doc change: css for distribute links.
* commit '5b146f227a3dfaa62b8e40f3a2b7a21991c09a4a':
  Doc change: css for distribute links.
2013-05-15 04:25:47 -07:00
Dirk Dougherty e5862e8a1e Doc change: css for distribute links.
Change-Id: Ifc74ea3f6099484b9c7549f8e8684dda4aeaf96f
2013-05-15 02:20:53 -07:00
Scott Main 054ad87bb5 am 34198387: am 216c09a0: am 382b121c: am 3d2121f0: am 0b2db169: add \'go-link\' style for "next" style arrows w/o the javascript effects
* commit '34198387201affd9409ad78a918c988e6a92036c':
  add 'go-link' style for "next" style arrows w/o the javascript effects
2013-05-15 01:31:21 -07:00
Scott Main 382b121c0c am 3d2121f0: am 0b2db169: add \'go-link\' style for "next" style arrows w/o the javascript effects
* commit '3d2121f0c951c6e6b621bd892da5836f005f00e1':
  add 'go-link' style for "next" style arrows w/o the javascript effects
2013-05-15 01:25:00 -07:00
Scott Main 0b2db169cb add 'go-link' style for "next" style arrows w/o the javascript effects
Change-Id: I2950579b2657bdacfe038790668959d607a60277
2013-05-15 01:15:50 -07:00
Scott Main ae2394a85f am 7a36c073: am 50eb3c47: am 9bfcd733: adjustments to developer notice style
* commit '7a36c07308e8883023186bf2165ea675bf183969':
  adjustments to developer notice style
2013-05-14 11:08:18 -07:00
Scott Main 9bfcd733cf adjustments to developer notice style
Change-Id: Id5ffd85524afc79c005dc3884e442e777fe54b5f
2013-05-14 09:33:19 -07:00
Scott Main 8234604834 am 5ea9ac16: am 85739fc5: am e1b9d41f: Merge "add styles for crosslink from design to develop docs" into jb-mr1.1-ub-dev
* commit '5ea9ac1696bc2e92f037eda9bd27492bfcf0af50':
  add styles for crosslink from design to develop docs
2013-05-13 23:30:24 -07:00
Scott Main e1b9d41f0b Merge "add styles for crosslink from design to develop docs" into jb-mr1.1-ub-dev 2013-05-14 01:54:48 +00:00
Scott Main d2af6d2284 add styles for crosslink from design to develop docs
Change-Id: Ia6ad4f03cec5a26fd9b7585be05f46efa2eeca7e
2013-05-13 18:47:03 -07:00
Robert Ly a59f1b2590 am 6ec4a2c6: am 3d86e283: am 3fe8acbc: am 4c9a8dc2: am d458f0a9: fix links
* commit '6ec4a2c6836c1e0b83613ab033f29503b22977bf':
  fix links
2013-05-08 16:21:03 -07:00
Robert Ly d458f0a91f fix links
Change-Id: Ied393fa6ba3c2e9240dd8d2af9633252015a098b
2013-05-08 14:59:46 -07:00
Robert Ly 37a14b15e9 am cbac1239: am c80298b0: am 557528a1: am 3f5fee62: am c942e879: fix sac search
* commit 'cbac12396a0b4081f579d6eb8342bbb5b68bdbfc':
  fix sac search
2013-05-07 13:38:08 -07:00
Robert Ly c942e8799e fix sac search
Change-Id: If34b834f5c7bca09bc59feb3f9eeb1a004209e23
2013-05-07 12:09:01 -07:00
Dirk Dougherty 3e792a6488 am 0abb321f: am 3256dac3: am 4338eac1: am 665021a4: am 0b026ce6: Update cs file to use devsite-compatible lowercase lang ids.
* commit '0abb321f49f84dd53dccdc13cf219b60c15882a1':
  Update cs file to use devsite-compatible lowercase lang ids.
2013-05-06 18:56:42 -07:00
Dirk Dougherty 0b026ce6eb Update cs file to use devsite-compatible lowercase lang ids.
Change-Id: Ie20e5977464199648fd91515ebe71c250162c0ee
2013-05-04 13:13:21 -07:00
Scott Main 2b3b140904 am 6873be9e: am 5d2265cb: am ed5ea12b: am f09c7628: am 0e76e7e4: provide search suggestions for api guides, training, etc. also: - demote deprecated APIs in suggestions - focus search bar with / and exit search with ESC
* commit '6873be9eaa509380a54ec13c50d137608e124b51':
  provide search suggestions for api guides, training, etc. also:  - demote deprecated APIs in suggestions  - focus search bar with / and exit search with ESC
2013-05-02 10:54:09 -07:00
Scott Main 0e76e7e4dd provide search suggestions for api guides, training, etc.
also:
 - demote deprecated APIs in suggestions
 - focus search bar with / and exit search with ESC

Change-Id: I78818d76375d63b9eb42922d6c20ebbea30c353b
2013-05-02 10:38:45 -07:00
Scott Main 9a720b759e am 499dc52c: am 8e1d22bc: am 55d6070a: am 78568286: am 8aa725e6: re-add styles for xml definition lists. used in manifest reference pages and was lost during switch to DAC2
* commit '499dc52cb073d98d2168a75ff312db5e3cee49dd':
  re-add styles for xml definition lists. used in manifest reference pages and was lost during switch to DAC2
2013-04-25 11:24:08 -07:00
Scott Main 8aa725e694 re-add styles for xml definition lists.
used in manifest reference pages and was lost during switch to DAC2

Change-Id: I0fcaebc37fe1665bfced4b109945c9dbf6389818
2013-04-25 11:12:51 -07:00
Chad Jones b6c2e6b60c Merge commit '3359ffe4' into jb-mr2-dev 2013-04-19 20:24:07 -07:00
Robert Ly 8b4f4f6bb3 Merge "sac template fixes" into jb-mr1.1-docs 2013-04-19 21:21:47 +00:00
Robert Ly dbfc4bbc95 sac template fixes
Change-Id: I9e3c6b60c1fab71c53408f34d388653e85e6ba30
2013-04-18 11:35:16 -07:00
Dirk Dougherty 9b855f672b am b676ec7b: am 6cdbe88d: am f23bdf78: am 1e1244bf: am a32f1bb4: am 547d9e93: Doc change: css for checklist more resources blocks.
* commit 'b676ec7b1e2e0764de85547a4b91294d16d32a3b':
  Doc change: css for checklist more resources blocks.
2013-04-15 20:45:47 -07:00
Dirk Dougherty a32f1bb4e4 am 547d9e93: Doc change: css for checklist more resources blocks.
* commit '547d9e93b21e62f1153aaac49c22b1f648b4fef5':
  Doc change: css for checklist more resources blocks.
2013-04-15 20:30:00 -07:00