From 360240097a7c1614e555d817695b623cfd5d8333 Mon Sep 17 00:00:00 2001 From: Scott Main Date: Mon, 24 Oct 2011 16:45:58 -0700 Subject: docs: add new style for adding "deprecated" messages to dev guides Change-Id: I0d690a6c0880343919114370331b7c2756b6a50e --- .../templates-sdk/assets/android-developer-docs.css | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/droiddoc/templates-sdk/assets/android-developer-docs.css b/tools/droiddoc/templates-sdk/assets/android-developer-docs.css index 61074dd..4e759da 100644 --- a/tools/droiddoc/templates-sdk/assets/android-developer-docs.css +++ b/tools/droiddoc/templates-sdk/assets/android-developer-docs.css @@ -381,6 +381,21 @@ div.api-level a { color:#999; } +div#deprecatedSticker { + display:none; + z-index:99; + position:fixed; + right:15px; + top:114px; + margin:0; + padding:1em; + background:#FFF; + border:1px solid #dddd00; + box-shadow:-5px 5px 10px #ccc; + -moz-box-shadow:-5px 5px 10px #ccc; + -webkit-box-shadow:-5px 5px 10px #ccc; +} + div#naMessage { display:none; width:555px; @@ -395,7 +410,6 @@ div#naMessage div { margin:50px 0; padding:4em 4em 3em; background:#FFF; - background:rgba(255,255,255,1); border:1px solid #dddd00; box-shadow:-10px 10px 40px #888; -moz-box-shadow:-10px 10px 40px #888; -- cgit v1.1