Author: rfscholte Date: Sat Dec 24 13:01:19 2011 New Revision: 1222966 URL: http://svn.apache.org/viewvc?rev=1222966&view=rev Log: Fix MSKINS-10: Suppress line wrapping in navigation caused by spaces or hyphens. Resolution: use text-indent
Added: maven/skins/trunk/maven-stylus-skin/src/it/mskins-10/ maven/skins/trunk/maven-stylus-skin/src/it/mskins-10/pom.xml maven/skins/trunk/maven-stylus-skin/src/it/mskins-10/src/ maven/skins/trunk/maven-stylus-skin/src/it/mskins-10/src/site/ maven/skins/trunk/maven-stylus-skin/src/it/mskins-10/src/site/site.xml Modified: maven/skins/trunk/maven-stylus-skin/src/main/resources/css/maven-base.css Added: maven/skins/trunk/maven-stylus-skin/src/it/mskins-10/pom.xml URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-stylus-skin/src/it/mskins-10/pom.xml?rev=1222966&view=auto ============================================================================== --- maven/skins/trunk/maven-stylus-skin/src/it/mskins-10/pom.xml (added) +++ maven/skins/trunk/maven-stylus-skin/src/it/mskins-10/pom.xml Sat Dec 24 13:01:19 2011 @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <groupId>org.apache.maven.skins.its</groupId> + <artifactId>mskins-10</artifactId> + <version>1.0-SNAPSHOT</version> + + <properties> + <skinName>@project.name@</skinName> + <skinDescription>@project.description@</skinDescription> + <skinGroupId>@project.groupId@</skinGroupId> + <skinArtifactId>@project.artifactId@</skinArtifactId> + <skinVersion>@project.version@</skinVersion> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <version>3.0</version> + </plugin> + </plugins> + </build> + + <reporting> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-project-info-reports-plugin</artifactId> + <version>2.4</version> + <configuration> + <dependencyDetailsEnabled>false</dependencyDetailsEnabled> + <dependencyLocationsEnabled>false</dependencyLocationsEnabled> + </configuration> + </plugin> + </plugins> + </reporting> + +</project> \ No newline at end of file Added: maven/skins/trunk/maven-stylus-skin/src/it/mskins-10/src/site/site.xml URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-stylus-skin/src/it/mskins-10/src/site/site.xml?rev=1222966&view=auto ============================================================================== --- maven/skins/trunk/maven-stylus-skin/src/it/mskins-10/src/site/site.xml (added) +++ maven/skins/trunk/maven-stylus-skin/src/it/mskins-10/src/site/site.xml Sat Dec 24 13:01:19 2011 @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + --> + +<project xmlns="http://maven.apache.org/DECORATION/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/DECORATION/1.1.0 http://maven.apache.org/xsd/decoration-1.1.0.xsd" + name="${skinName}"> + + <skin> + <groupId>${skinGroupId}</groupId> + <artifactId>${skinArtifactId}</artifactId> + <version>${skinVersion}</version> + </skin> + + <body> + <menu> + <item name="Suppress line wrapping in navigation caused by spaces or hyphens" href="./"/> + </menu> + + <menu ref="reports"/> + </body> +</project> \ No newline at end of file Modified: maven/skins/trunk/maven-stylus-skin/src/main/resources/css/maven-base.css URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-stylus-skin/src/main/resources/css/maven-base.css?rev=1222966&r1=1222965&r2=1222966&view=diff ============================================================================== --- maven/skins/trunk/maven-stylus-skin/src/main/resources/css/maven-base.css (original) +++ maven/skins/trunk/maven-stylus-skin/src/main/resources/css/maven-base.css Sat Dec 24 13:01:19 2011 @@ -52,7 +52,7 @@ div.clear hr{ width: 170px; float:left; overflow: auto; - padding-bottom: 2px; /* IE-9 scrollbar-fix */ + padding-bottom: 3px; /* IE-9 scrollbar-fix */ } #bodyColumn { margin-right: 1.5em; @@ -90,6 +90,10 @@ div.clear hr{ #navcolumn li.collapsed { background-image: url(../images/collapsed.gif); } +#navcolumn li.none { + text-indent: -1em; + margin-left: 1em; +} #poweredBy { text-align: center; }