From owner-svn-doc-all@FreeBSD.ORG Wed Dec 12 21:32:26 2012 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 57AFA7F9; Wed, 12 Dec 2012 21:32:26 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 3BF138FC12; Wed, 12 Dec 2012 21:32:26 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBCLWQMV053759; Wed, 12 Dec 2012 21:32:26 GMT (envelope-from gjb@svn.freebsd.org) Received: (from gjb@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBCLWPIM053755; Wed, 12 Dec 2012 21:32:25 GMT (envelope-from gjb@svn.freebsd.org) Message-Id: <201212122132.qBCLWPIM053755@svn.freebsd.org> From: Glen Barber Date: Wed, 12 Dec 2012 21:32:25 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r40361 - in head: en_US.ISO8859-1/htdocs en_US.ISO8859-1/htdocs/layout/css share/xml X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2012 21:32:26 -0000 Author: gjb Date: Wed Dec 12 21:32:25 2012 New Revision: 40361 URL: http://svnweb.freebsd.org/changeset/doc/40361 Log: Per request of deb@, put the "Donate to FreeBSD" button in the default page header. The following changes were made: - Remove the Donate to FreeBSD button added a few days ago - Add stylesheet entries for the new button. Note this button is pure CSS, and does not use background images for the rounded boarders. - Move the 'Donate' and 'Contact' links from the header: o 'Donate' is now 'Hardware Donations' in the menu dropdown. o 'Contact' is now in the footer. o The 'Donate' link that existed in the menu dropdown is now 'Monetary Donations'. - The header2.donatebutton entity is now used for this button, so translation teams can modify localized header.l10n.ent for the button text. - Comment the header2.searchnav entity entries in header.ent for now, until I figure out what to do with them. This change should have zero UI regressions, and solves the problem of the previously added button pushing the 'New to FreeBSD' button down into the security text.[1] Requested by: deb Reported by: emaste[1], gavin[1] Modified: head/en_US.ISO8859-1/htdocs/index.xsl head/en_US.ISO8859-1/htdocs/layout/css/layout.css head/share/xml/header.ent head/share/xml/xhtml.xsl Modified: head/en_US.ISO8859-1/htdocs/index.xsl ============================================================================== --- head/en_US.ISO8859-1/htdocs/index.xsl Wed Dec 12 13:07:07 2012 (r40360) +++ head/en_US.ISO8859-1/htdocs/index.xsl Wed Dec 12 21:32:25 2012 (r40361) @@ -193,14 +193,6 @@
.
-
.
-
- -
-
.
-
.
@@ -344,5 +336,6 @@ permission of The FreeBSD Foundation. + &header2.word.contact; Modified: head/en_US.ISO8859-1/htdocs/layout/css/layout.css ============================================================================== --- head/en_US.ISO8859-1/htdocs/layout/css/layout.css Wed Dec 12 13:07:07 2012 (r40360) +++ head/en_US.ISO8859-1/htdocs/layout/css/layout.css Wed Dec 12 21:32:25 2012 (r40361) @@ -409,6 +409,43 @@ width: 150px; } +/* Donate Button */ + /* height and width details */ +.frontdonatetop div, .frontdonatetop, .frontdonatebot div, .frontdonatebot { + width: 20%; + height: 10px; + font-size: 1px; + text-align: center; +} + +.frontdonatecontent { + margin: 0; + padding: 0; + margin-top: -4px; + margin-bottom: -4px; + text-align: center; + font-size: 1.1em; + font-weight: bold; +} + +.frontdonatecontent a, .frontdonatecontent a:link, .frontdonatecontent a:visited, .frontdonatecontent a:hover, .frontdonatecontent a:active { + color: #990000; + text-decoration: none; +} + +.frontdonateroundbox { + margin-top: 10px; + padding: 0; + /*padding-right: 30px;*/ + width: 150px; + height: 25px; + background-color: white; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + -khtml-border-radius: 10px; + border-radius: 10px; +} + /* Get FreeBSD Box */ /* set background images for corners */ Modified: head/share/xml/header.ent ============================================================================== --- head/share/xml/header.ent Wed Dec 12 13:07:07 2012 (r40360) +++ head/share/xml/header.ent Wed Dec 12 21:32:25 2012 (r40361) @@ -37,6 +37,17 @@ + +
.
+ +
.
+
+'> + @@ -119,7 +130,8 @@ @@ -131,9 +143,9 @@ '> @@ -156,6 +168,7 @@
+ &header2.donatebutton; &header2.searchnav.label; &header2.searchnav; Modified: head/share/xml/xhtml.xsl ============================================================================== --- head/share/xml/xhtml.xsl Wed Dec 12 13:07:07 2012 (r40360) +++ head/share/xml/xhtml.xsl Wed Dec 12 21:32:25 2012 (r40361) @@ -63,6 +63,8 @@
+ &header2.donatebutton; + &header2.searchnav.label; &header2.searchnav;