diff options
author | smain@google.com <smain@google.com> | 2014-06-16 19:24:25 -0700 |
---|---|---|
committer | smain@google.com <smain@google.com> | 2014-06-16 19:25:14 -0700 |
commit | 95948b88ec17e5b0f5b9cdcc43b08989cec2a34a (patch) | |
tree | ad7baf819b1712188820aecb3bac38b782cc7f9d /tools/droiddoc/templates-sdk/assets/css/default.css | |
parent | 908a05a1ee87bdf6d4f27355d0a0d648ab8f8da0 (diff) | |
download | build-95948b88ec17e5b0f5b9cdcc43b08989cec2a34a.zip build-95948b88ec17e5b0f5b9cdcc43b08989cec2a34a.tar.gz build-95948b88ec17e5b0f5b9cdcc43b08989cec2a34a.tar.bz2 |
add script and style for toggling which IDE instructions to show.
Change-Id: Ief094a4f58c7ebb4625948d6639fed713adcc0c7
Diffstat (limited to 'tools/droiddoc/templates-sdk/assets/css/default.css')
-rw-r--r-- | tools/droiddoc/templates-sdk/assets/css/default.css | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/droiddoc/templates-sdk/assets/css/default.css b/tools/droiddoc/templates-sdk/assets/css/default.css index 8a76c54..1c45596 100644 --- a/tools/droiddoc/templates-sdk/assets/css/default.css +++ b/tools/droiddoc/templates-sdk/assets/css/default.css @@ -2989,6 +2989,34 @@ a.header-toggle { } +/* for IDE instruction toggle (Studio/Eclipse/Other) */ +select.ide { + background: transparent; + border: 1px solid #bbb; + border-left: 0; + border-right: 0; + margin: 10px 0; + padding: 10px 0; + color:#666; +} +select.ide, +select.ide option { + font-family: inherit; + font-size:16px; + font-weight:500; +} +/* hide all except eclipse by default */ +.select-ide.studio, +.select-ide.other { + display:none; +} +/* ... unless eclipse also includes one of the others */ +.select-ide.eclipse.studio, +.select-ide.eclipse.other { + display:block; +} + + /* ----------------------------------------------- good/bad example containers */ |