From ab4daf4f58da90490dff9116bdf41f874055173c Mon Sep 17 00:00:00 2001 From: Scott Main Date: Fri, 30 Nov 2012 11:27:17 -0800 Subject: [PATCH] docs/css: break words that are too long to fit sidenav; add style for google javadocs Change-Id: I69f062c5e1ddeafdae75e8f2ec77226aac836e48 --- .../droiddoc/templates-sdk/assets/css/default.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/tools/droiddoc/templates-sdk/assets/css/default.css b/tools/droiddoc/templates-sdk/assets/css/default.css index 10d0cf686a..0ca65a7bf2 100644 --- a/tools/droiddoc/templates-sdk/assets/css/default.css +++ b/tools/droiddoc/templates-sdk/assets/css/default.css @@ -271,11 +271,14 @@ video.with-shadow { line-height: 15px; } #nav a { color: #555555; - text-decoration: none; } + text-decoration: none; + word-wrap:break-word; } #nav .nav-section-header { position: relative; margin-bottom: 1px; padding: 0 30px 0 0; } + #nav .nav-section-header-ref { + padding: 10px 0; } #nav li.selected a, #nav li.selected > .nav-section-header > a { color: #09C; } @@ -1529,6 +1532,7 @@ Buttons cursor: pointer; } .button, a.button { + display:inline-block; background-color: #09c; background-image: -webkit-gradient(linear, left top, left bottom, from(#2faddb), to(#09c)); background-image: -webkit-linear-gradient(top, #2faddb, #09c); @@ -3017,6 +3021,15 @@ h4.jd-details-title { margin:1.5em 0 .6em; padding:3px 95px 3px 3px; /* room for api-level */ } +body.google h4.jd-details-title { + background-color: #FFF; + padding-top:5px; + border-top: 1px solid #ccc; +} +body.google table.jd-sumtable th { + background-color: #FFF; + color:#000; +} h4.jd-tagtitle { margin:0;