Author: simonetripodi
Date: Sat Mar 17 19:56:14 2012
New Revision: 1301986
URL: http://svn.apache.org/viewvc?rev=1301986&view=rev
Log:
[MSKINS-26] hard coded style with padding-top for body - patch provided by
Bruno P. Kinoshita
Modified:
maven/skins/trunk/maven-fluido-skin/pom.xml
maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm
maven/skins/trunk/maven-fluido-skin/src/main/resources/css/maven-theme.css
Modified: maven/skins/trunk/maven-fluido-skin/pom.xml
URL:
http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/pom.xml?rev=1301986&r1=1301985&r2=1301986&view=diff
==============================================================================
--- maven/skins/trunk/maven-fluido-skin/pom.xml (original)
+++ maven/skins/trunk/maven-fluido-skin/pom.xml Sat Mar 17 19:56:14 2012
@@ -47,6 +47,10 @@
<contributors>
<!-- in alphabetical order -->
<contributor>
+ <name>Bruno P. Kinoshita</name>
+ <email>brunodepaulak AT yahoo DOT com DOT br</email>
+ </contributor>
+ <contributor>
<name>Carlos Villaronga</name>
<email>cvillaronga AT gmail DOT com</email>
</contributor>
Modified:
maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm
URL:
http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm?rev=1301986&r1=1301985&r2=1301986&view=diff
==============================================================================
---
maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm
(original)
+++
maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm
Sat Mar 17 19:56:14 2012
@@ -680,14 +680,6 @@
<link rel="stylesheet"
href="$relativePath/css/apache-maven-fluido.min.css" />
<link rel="stylesheet" href="$relativePath/css/site.css" />
<link rel="stylesheet" href="$relativePath/css/print.css" media="print" />
- #if ( $decoration.custom.getChild( 'fluidoSkin' )
- && $decoration.custom.getChild( 'fluidoSkin' ).getChild(
'topBarEnabled' )
- && 'true' == $decoration.custom.getChild( 'fluidoSkin'
).getChild( 'topBarEnabled' ).getValue() )
- #set( $topBarEnabled = true )
- <style>body{padding-top: 60px;}</style>
- #else
- <style>body{padding-top: 20px;}</style>
- #end
#prjProfile()
@@ -722,7 +714,14 @@
$headContent
#googleAnalytics( $decoration.googleAnalyticsAccountId )
</head>
- <body>
+ #if ( $decoration.custom.getChild( 'fluidoSkin' )
+ && $decoration.custom.getChild( 'fluidoSkin' ).getChild(
'topBarEnabled' )
+ && 'true' == $decoration.custom.getChild( 'fluidoSkin'
).getChild( 'topBarEnabled' ).getValue() )
+ #set( $topBarEnabled = true )
+ <body class="topBarEnabled">
+ #else
+ <body class="topBarDisabled">
+ #end
#forkMeOnGitHub()
#set ( $sideBarEnabled = true )
Modified:
maven/skins/trunk/maven-fluido-skin/src/main/resources/css/maven-theme.css
URL:
http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/src/main/resources/css/maven-theme.css?rev=1301986&r1=1301985&r2=1301986&view=diff
==============================================================================
--- maven/skins/trunk/maven-fluido-skin/src/main/resources/css/maven-theme.css
(original)
+++ maven/skins/trunk/maven-fluido-skin/src/main/resources/css/maven-theme.css
Sat Mar 17 19:56:14 2012
@@ -44,6 +44,9 @@ li.collapsed{list-style-image: url('../i
.search{background-image:
url(http://www.google.com/cse/intl/en/images/google_custom_search_watermark.gif);
background-attachment: initial; background-origin: initial; background-clip:
initial; background-color: rgb(255, 255, 255); background-position: 0% 50%;
background-repeat: no-repeat no-repeat; }
+body.topBarEnabled{padding-top: 60px;}
+body.topBarDisabled{padding-top: 20px;}
+
/* Tweaks to the bootstrap theme
--------------------------------- */