You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2012/02/22 19:36:24 UTC

svn commit: r1292440 - in /lucene/cms/trunk: content/core/ content/css/ content/solr/ templates/

Author: markrmiller
Date: Wed Feb 22 18:36:24 2012
New Revision: 1292440

URL: http://svn.apache.org/viewvc?rev=1292440&view=rev
Log:
LUCENE-3819: Christians suggestions

Modified:
    lucene/cms/trunk/content/core/downloads.mdtext
    lucene/cms/trunk/content/core/index.mdtext
    lucene/cms/trunk/content/css/global.css
    lucene/cms/trunk/content/solr/downloads.mdtext
    lucene/cms/trunk/content/solr/index.mdtext
    lucene/cms/trunk/templates/core-sidebar.html
    lucene/cms/trunk/templates/mirrors-core-redir.html
    lucene/cms/trunk/templates/mirrors-solr-redir.html
    lucene/cms/trunk/templates/sidenav.mdtext
    lucene/cms/trunk/templates/solr-sidebar.html

Modified: lucene/cms/trunk/content/core/downloads.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/core/downloads.mdtext?rev=1292440&r1=1292439&r2=1292440&view=diff
==============================================================================
--- lucene/cms/trunk/content/core/downloads.mdtext (original)
+++ lucene/cms/trunk/content/core/downloads.mdtext Wed Feb 22 18:36:24 2012
@@ -1,10 +1,5 @@
 ## Downloads
 
-<div class="button">
-  <a href="mirrors-core-redir.html">Download</a>
-  <div class="flap top">Click to begin</div>
-  <div class="flap bottom">of Apache Lucene</div>
-</div>
 
 Official releases are usually created when the [developers](whoweare.html) feel there are
             sufficient changes, improvements and bug fixes to warrant a release.

Modified: lucene/cms/trunk/content/core/index.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/core/index.mdtext?rev=1292440&r1=1292439&r2=1292440&view=diff
==============================================================================
--- lucene/cms/trunk/content/core/index.mdtext (original)
+++ lucene/cms/trunk/content/core/index.mdtext Wed Feb 22 18:36:24 2012
@@ -1,12 +1,5 @@
 Title: Apache Lucene Core
 
-<div class="button">
-  <a href="mirrors-core-redir.html">Download</a>
-  <div class="flap top">Click to begin</div>
-  <div class="flap bottom">of Apache Lucene</div>
-</div>
-
-
 Apache Lucene(TM) is a high-performance, full-featured text search engine library written entirely in Java. It is a technology suitable for nearly any application that requires full-text search, especially cross-platform.
 
 Apache Lucene is an open source project available for free download. Please use the links on the right to access Lucene.
\ No newline at end of file

Modified: lucene/cms/trunk/content/css/global.css
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/css/global.css?rev=1292440&r1=1292439&r2=1292440&view=diff
==============================================================================
--- lucene/cms/trunk/content/css/global.css (original)
+++ lucene/cms/trunk/content/css/global.css Wed Feb 22 18:36:24 2012
@@ -949,13 +949,13 @@ code.inline{
 }
 
 
-.button {
+.button-wrapper {
 	width: 200px;
-        margin-top: 30px;
+  margin-top: 30px;
 	margin-bottom: 40px;
 }
 
-.button a {
+.button-red a {
 	border: 2px solid black;
 	z-index: 1;
 	position: relative;
@@ -970,7 +970,7 @@ code.inline{
 	text-align: center;
 	text-transform: uppercase;
 	/*GRADIENT*/
-	background: #D60000; /* Old browsers */
+	background: #E60000; /* Old browsers */
 	background: -moz-linear-gradient(top, #FAA0A0 0%, #E60000 100%);
 	/* FF3.6+ */
 	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #FC5353),
@@ -986,7 +986,47 @@ code.inline{
 		endColorstr='#E60000', GradientType=0 ); /* IE6-9 */
 }
 
-.button a,.flap {
+.button-green a {
+	border: 2px solid black;
+	z-index: 1;
+	position: relative;
+	display: block;
+	height: 50px;
+	width: 200px;
+	/*TYPE*/
+	color: black;
+	font: 24px/50px Helvetica, Verdana, sans-serif;
+        font-weight: bold;
+	text-decoration: none;
+	text-align: center;
+	text-transform: uppercase;
+	/*GRADIENT*/
+	background: #14A800; /* Old browsers */
+	background: -moz-linear-gradient(top, #89FA7A 0%, #1AA807 100%);
+	/* FF3.6+ */
+	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #89FA7A),
+		color-stop(100%, #1AA807) ); /* Chrome,Safari4+ */
+	background: -webkit-linear-gradient(top, #89FA7A 0%, #1AA807 100%);
+	/* Chrome10+,Safari5.1+ */
+	background: -o-linear-gradient(top, #89FA7A 0%, #1AA807 100%);
+	/* Opera 11.10+ */
+	background: -ms-linear-gradient(top, #89FA7A 0%, #1AA807 100%);
+	/* IE10+ */
+	background: linear-gradient(top, #89FA7A 0%, #1AA807 100%); /* W3C */
+	filter: progid:DXImageTransform.Microsoft.gradient(  startColorstr='#14A800',
+		endColorstr='#1AA807', GradientType=0 ); /* IE6-9 */
+}
+
+.button-red a,.flap {
+	-webkit-border-radius: 10px;
+	-moz-border-radius: 10px;
+	border-radius: 10px;
+	-webkit-box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
+	-moz-box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
+	box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
+}
+
+.button-green a,.flap {
 	-webkit-border-radius: 10px;
 	-moz-border-radius: 10px;
 	border-radius: 10px;
@@ -1017,17 +1057,26 @@ code.inline{
 }
 
 /*HOVER*/
-.button:hover .bottom {
+.button-red:hover .bottom {
+	margin: -10px 0 0 10px;
+}
+
+.button-green:hover .bottom {
 	margin: -10px 0 0 10px;
 }
 
-.button:hover .top {
+.button-red:hover .top {
+	margin: -80px 0 0 10px;
+	line-height: 35px;
+}
+
+.button-green:hover .top {
 	margin: -80px 0 0 10px;
 	line-height: 35px;
 }
 
 /*ACTIVE*/
-.button a:active {
+.button-red a:active {
 	background: #D60000; /* Old browsers */
 	background: -moz-linear-gradient(top, #D60000 36%, #009ec3 100%);
 	/* FF3.6+ */
@@ -1044,10 +1093,35 @@ code.inline{
 		endColorstr='#009ec3', GradientType=0 ); /* IE6-9 */
 }
 
-.button:active .bottom {
+.button-green a:active {
+	background: #14A800; /* Old browsers */
+	background: -moz-linear-gradient(top, #D60000 36%, #14A800 100%);
+	/* FF3.6+ */
+	background: -webkit-gradient(linear, left top, left bottom, color-stop(36%, #D60000),
+		color-stop(100%, #14A800) ); /* Chrome,Safari4+ */
+	background: -webkit-linear-gradient(top, #D60000 36%, #14A800 100%);
+	/* Chrome10+,Safari5.1+ */
+	background: -o-linear-gradient(top, #D60000 36%, #14A800 100%);
+	/* Opera 11.10+ */
+	background: -ms-linear-gradient(top, #D60000 36%, #14A800 100%);
+	/* IE10+ */
+	background: linear-gradient(top, #D60000 36%, #14A800 100%); /* W3C */
+	filter: progid:DXImageTransform.Microsoft.gradient(  startColorstr='#D60000',
+		endColorstr='#14A800', GradientType=0 ); /* IE6-9 */
+}
+
+.button-red:active .bottom {
 	margin: -20px 0 0 10px;
 }
 
-.button:active .top {
+.button-green:active .bottom {
+	margin: -20px 0 0 10px;
+}
+
+.button-red:active .top {
+	margin: -70px 0 0 10px;
+}
+
+.button-green:active .top {
 	margin: -70px 0 0 10px;
 }
\ No newline at end of file

Modified: lucene/cms/trunk/content/solr/downloads.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/solr/downloads.mdtext?rev=1292440&r1=1292439&r2=1292440&view=diff
==============================================================================
--- lucene/cms/trunk/content/solr/downloads.mdtext (original)
+++ lucene/cms/trunk/content/solr/downloads.mdtext Wed Feb 22 18:36:24 2012
@@ -1,11 +1,5 @@
 ## Downloads
 
-<div class="button">
-  <a href="mirrors-solr-redir.html">Download</a>
-  <div class="flap top">Click to begin</div>
-  <div class="flap bottom">of Apache Solr</div>
-</div>
-
 Official releases are usually created when the [developers](../whoweare.html) feel there are
             sufficient changes, improvements and bug fixes to warrant a release.
             Due to the voluntary nature of Solr, no releases are scheduled in advance.

Modified: lucene/cms/trunk/content/solr/index.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/solr/index.mdtext?rev=1292440&r1=1292439&r2=1292440&view=diff
==============================================================================
--- lucene/cms/trunk/content/solr/index.mdtext (original)
+++ lucene/cms/trunk/content/solr/index.mdtext Wed Feb 22 18:36:24 2012
@@ -1,11 +1,5 @@
 Title: Apache Solr
 
-<div class="button">
-  <a href="mirrors-solr-redir.html">Download</a>
-  <div class="flap top">Click to begin</div>
-  <div class="flap bottom">of Apache Solr</div>
-</div>
-
 Solr is the popular, blazing fast open source enterprise search platform from the Apache Lucene project. Its major features include powerful full-text search, hit highlighting, faceted search, dynamic clustering, database integration, rich document (e.g., Word, PDF) handling, and geospatial search. Solr is highly scalable, providing distributed search and index replication, and it powers the search and navigation features of many of the world's largest internet sites.
 
 Solr is written in Java and runs as a standalone full-text search server within a servlet container such as Tomcat. Solr uses the Lucene Java search library at its core for full-text indexing and search, and has REST-like HTTP/XML and JSON APIs that make it easy to use from virtually any programming language. Solr's powerful external configuration allows it to be tailored to almost any type of application without Java coding, and it has an extensive plugin architecture when more advanced customization is required.

Modified: lucene/cms/trunk/templates/core-sidebar.html
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/templates/core-sidebar.html?rev=1292440&r1=1292439&r2=1292440&view=diff
==============================================================================
--- lucene/cms/trunk/templates/core-sidebar.html (original)
+++ lucene/cms/trunk/templates/core-sidebar.html Wed Feb 22 18:36:24 2012
@@ -1,5 +1,12 @@
 {% block coreside %}
 <div id="sidebar">
+  <div class="button-wrapper">
+    <div class="button-green">
+      <a href="mirrors-core-redir.html">Download</a>
+      <div class="flap top">Click to begin</div>
+      <div class="flap bottom">of Apache Lucene</div>
+    </div>
+  </div>
   {% filter markdown %}{% include "corenav.mdtext" %}{% endfilter %}
   <div class="status">
     {% if svn %}

Modified: lucene/cms/trunk/templates/mirrors-core-redir.html
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/templates/mirrors-core-redir.html?rev=1292440&r1=1292439&r2=1292440&view=diff
==============================================================================
--- lucene/cms/trunk/templates/mirrors-core-redir.html (original)
+++ lucene/cms/trunk/templates/mirrors-core-redir.html Wed Feb 22 18:36:24 2012
@@ -21,11 +21,6 @@
   {% include "core-nav.html" %}
 {% endblock %}
 
-{% block news %}
-{% endblock %}
 {% block asfboiler %}{% endblock %}
-{% block sidebar %}
-    {% include "core-sidebar.html" %}
-{% endblock %}
 {% block privacy %}<a href="../privacy.html">Privacy Policy</a>{% endblock %}
 {% endextends %}
\ No newline at end of file

Modified: lucene/cms/trunk/templates/mirrors-solr-redir.html
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/templates/mirrors-solr-redir.html?rev=1292440&r1=1292439&r2=1292440&view=diff
==============================================================================
--- lucene/cms/trunk/templates/mirrors-solr-redir.html (original)
+++ lucene/cms/trunk/templates/mirrors-solr-redir.html Wed Feb 22 18:36:24 2012
@@ -25,11 +25,6 @@
   {% include "solr-nav.html" %}
 {% endblock %}
 
-{% block news %}
-{% endblock %}
 {% block asfboiler %}{% endblock %}
-{% block sidebar %}
-    {% include "solr-sidebar.html" %}
-{% endblock %}
 {% block privacy %}<a href="../privacy.html">Privacy Policy</a>{% endblock %}
 {% endextends %}
\ No newline at end of file

Modified: lucene/cms/trunk/templates/sidenav.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/templates/sidenav.mdtext?rev=1292440&r1=1292439&r2=1292440&view=diff
==============================================================================
--- lucene/cms/trunk/templates/sidenav.mdtext (original)
+++ lucene/cms/trunk/templates/sidenav.mdtext Wed Feb 22 18:36:24 2012
@@ -1,5 +1,17 @@
 
-# User Resources
+  <div class="button-green">
+    <a href="core/mirrors-core-redir.html">Download</a>
+    <div class="flap top">Click to begin</div>
+    <div class="flap bottom">of Apache Lucene</div>
+  </div>
+  
+  <div class="button-red">
+    <a href="solr/mirrors-solr-redir.html">Download</a>
+    <div class="flap top">Click to begin</div>
+    <div class="flap bottom">of Apache Solr</div>
+  </div>
+
+# Projects
   - [Lucene Core (Java)](./core/)
   - [Solr](./solr/)
   - [PyLucene](./pylucene/)

Modified: lucene/cms/trunk/templates/solr-sidebar.html
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/templates/solr-sidebar.html?rev=1292440&r1=1292439&r2=1292440&view=diff
==============================================================================
--- lucene/cms/trunk/templates/solr-sidebar.html (original)
+++ lucene/cms/trunk/templates/solr-sidebar.html Wed Feb 22 18:36:24 2012
@@ -1,5 +1,12 @@
 {% block solrside %}
 <div id="sidebar">
+  <div class="button-wrapper">
+    <div class="button-red">
+     <a href="mirrors-solr-redir.html">Download</a>
+      <div class="flap top">Click to begin</div>
+      <div class="flap bottom">of Apache Solr</div>
+    </div>
+  </div>  
   <span class="sidenav">{% filter markdown %}{% include "solrnav.mdtext" %}{% endfilter %}
     <div class="status">
       <div id="svn">