changeset 171:f9357455ac96 feature_75

* More layout for embedded Javadoc pages
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Wed, 02 Feb 2011 12:00:42 +0000
parents c1e9f2dab1d5
children ccfa5126279e
files public/themes/soundsoftware/stylesheets/application.css vendor/plugins/embedded/app/views/embedded/index.rhtml
diffstat 2 files changed, 20 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/public/themes/soundsoftware/stylesheets/application.css	Tue Feb 01 16:43:25 2011 +0000
+++ b/public/themes/soundsoftware/stylesheets/application.css	Wed Feb 02 12:00:42 2011 +0000
@@ -141,9 +141,22 @@
 #top-menu a.administration { background-image: url(../images/wrench.png); }
 #top-menu a.help { background-image: url(../../../images/help.png); }
 
-/* for Javadoc in Embedded form: */
+/* for Javadoc in Embedded context: */
 
-.TableHeadingColor { background-color: #fdf7e4; color: #3e442c }
-.TableSubHeadingColor { background-color: #fdfaf0; color: #3e442c }
-.TableRowColor { background-color: #fdfbf5; color: #000000 }
-.NavBarCell1 { background-color:#ffe69b; color:#000000 }
+.TableHeadingColor { background-color: #fdf7e4; color: #3e442c; border: 0px solid #fff; }
+.TableHeadingColor th { background-color: #fdf7e4; color: #3e442c; border: 1px solid #a9b680; }
+.TableHeadingColor th font { font-size: 1.4em; color: #3e442c; }
+.TableSubHeadingColor { background-color: #fdfaf0; color: #3e442c; border: 0px solid #fff; }
+.TableSubHeadingColor th { background-color: #fdfaf0; color: #3e442c; border: 1px solid #a9b680; }
+.TableRowColor { background-color: #fdfbf5; color: #000000; border: 0; }
+.TableRowColor td { background-color: #fdfbf5; color: #000000; border: 0; }
+.NavBarCell1 { background-color: #ffe69b; color:#000000 }
+.embedded table { border: 0px solid #fff; }
+.embedded h3 { margin-top: 0.5em; }
+.embedded hr { color: #a9b680; background-color: #a9b680 }
+.embedded center { text-align: left; } /* haha */
+
+/* Special hack to hide the FRAMES | NO FRAMES links -- they don't
+   work in this context -- and right-align the All Classes link */
+.embedded .NavBarCell2 a[target=_top] { width: 0px; visibility: hidden; }
+.embedded .NavBarCell2 + .NavBarCell2 { text-align: right; }
--- a/vendor/plugins/embedded/app/views/embedded/index.rhtml	Tue Feb 01 16:43:25 2011 +0000
+++ b/vendor/plugins/embedded/app/views/embedded/index.rhtml	Wed Feb 02 12:00:42 2011 +0000
@@ -1,5 +1,7 @@
 <!-- Embedded page -->
+<div class="embedded">
 <%= @content %>
+</div>
 <!-- Embedded page end -->
 
 <% html_title(@title) if @title %>