You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2014/10/28 18:38:39 UTC

svn commit: r1634931 - in /lucene/cms/branches/solr_6058/content/solr: assets/styles/base.css features.mdtext

Author: sarowe
Date: Tue Oct 28 17:38:39 2014
New Revision: 1634931

URL: http://svn.apache.org/r1634931
Log:
SOLR-6058: go to the right place when clicking the down arrow to the top two features sections; rename anchors to reflect the content

Modified:
    lucene/cms/branches/solr_6058/content/solr/assets/styles/base.css
    lucene/cms/branches/solr_6058/content/solr/features.mdtext

Modified: lucene/cms/branches/solr_6058/content/solr/assets/styles/base.css
URL: http://svn.apache.org/viewvc/lucene/cms/branches/solr_6058/content/solr/assets/styles/base.css?rev=1634931&r1=1634930&r2=1634931&view=diff
==============================================================================
--- lucene/cms/branches/solr_6058/content/solr/assets/styles/base.css (original)
+++ lucene/cms/branches/solr_6058/content/solr/assets/styles/base.css Tue Oct 28 17:38:39 2014
@@ -38,6 +38,14 @@ code, pre {
   z-index: -1000;
 }
 
+.offset-small {
+  position: relative;
+  top: -56px;
+  padding-top: 56px;
+  margin-bottom: -56px;
+  z-index: -1000;
+}
+
 a.btn, button {
   border: 1px solid #d1d3d4;
   background-color:inherit;

Modified: lucene/cms/branches/solr_6058/content/solr/features.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/branches/solr_6058/content/solr/features.mdtext?rev=1634931&r1=1634930&r2=1634931&view=diff
==============================================================================
--- lucene/cms/branches/solr_6058/content/solr/features.mdtext (original)
+++ lucene/cms/branches/solr_6058/content/solr/features.mdtext Tue Oct 28 17:38:39 2014
@@ -10,12 +10,12 @@ Title: Features
         Solr is a standalone enterprise search server with a REST-like API. You put 
         documents in it (called "indexing") via JSON, XML, CSV or binary over HTTP. You query it via HTTP GET and receive JSON, XML, CSV or binary results.
       </p>
-      <div class="down-arrow"><a data-scroll href="#anchor-1"><i class="fa fa-angle-down fa-2x red"></i></a></div>
+      <div class="down-arrow"><a data-scroll href="#top"><i class="fa fa-angle-down fa-2x red"></i></a></div>
     </div>
   </div>
 </section>
 
-<section class="gray col-4" id="anchor-1">
+<section class="gray col-4 offset-small" id="top">
   <div class="row">
     <ul class="small-block-grid-1 medium-block-grid-3">
       <li>
@@ -115,12 +115,12 @@ Title: Features
       <p>
         Solr uses the Lucene&trade; search library and extends it.
       </p>
-      <div class="down-arrow"><a data-scroll href="#anchor-2"><i class="fa fa-angle-down fa-2x red"></i></a></div>
+      <div class="down-arrow"><a data-scroll href="#more"><i class="fa fa-angle-down fa-2x red"></i></a></div>
     </div>
   </div>
 </section>
 
-<section class="gray col-4" id="anchor-2">
+<section class="gray col-4 offset-small" id="more">
   <div class="row">
     <ul class="small-block-grid-2 medium-block-grid-3">
       <li>
@@ -291,12 +291,12 @@ Title: Features
       <p>
         Defines the field types, analysis processes and fields of documents
       </p>
-      <div class="down-arrow"><a data-scroll href="#anchor-3"><i class="fa fa-angle-down fa-2x red"></i></a></div>
+      <div class="down-arrow"><a data-scroll href="#schema"><i class="fa fa-angle-down fa-2x red"></i></a></div>
     </div>
   </div>
 </section>
 
-<section class="gray list" id="anchor-3">
+<section class="gray list" id="schema">
   <ul>
     <div class="row">
       <div class="small-6 columns">
@@ -353,12 +353,12 @@ Title: Features
         HTTP interface with configurable response formats.
         (XML/XSLT, JSON, Python, Ruby, PHP, Velocity, CSV, binary)
       </p>
-      <div class="down-arrow"><a data-scroll href="#anchor-4"><i class="fa fa-angle-down fa-2x red"></i></a></div>
+      <div class="down-arrow"><a data-scroll href="#query"><i class="fa fa-angle-down fa-2x red"></i></a></div>
     </div>
   </div>
 </section>
 
-<section class="gray list" id="anchor-4">
+<section class="gray list" id="query">
   <ul>
     <div class="row">
       <div class="small-6 columns">
@@ -410,12 +410,12 @@ Title: Features
         HTTP interface with configurable response formats.
         (XML/XSLT, JSON, Python, Ruby, PHP, Velocity, CSV, binary)
       </p>
-      <div class="down-arrow"><a data-scroll href="#anchor-5"><i class="fa fa-angle-down fa-2x red"></i></a></div>
+      <div class="down-arrow"><a data-scroll href="#core"><i class="fa fa-angle-down fa-2x red"></i></a></div>
     </div>
   </div>
 </section>
 
-<section class="gray list" id="anchor-5">
+<section class="gray list" id="core">
   <ul>
     <div class="row">
       <div class="small-6 columns">
@@ -467,12 +467,12 @@ Title: Features
         HTTP interface with configurable response formats.
         (XML/XSLT, JSON, Python, Ruby, PHP, Velocity, CSV, binary)
       </p>
-      <div class="down-arrow"><a data-scroll href="#anchor-6"><i class="fa fa-angle-down fa-2x red"></i></a></div>
+      <div class="down-arrow"><a data-scroll href="#caching"><i class="fa fa-angle-down fa-2x red"></i></a></div>
     </div>
   </div>
 </section>
 
-<section class="gray list">
+<section class="gray list" id="caching">
   <ul>
     <div class="row">
       <div class="small-6 columns">
@@ -515,12 +515,12 @@ Title: Features
         HTTP interface with configurable response formats.
         (XML/XSLT, JSON, Python, Ruby, PHP, Velocity, CSV, binary)
       </p>
-      <div class="down-arrow"><a data-scroll href="#anchor-7"><i class="fa fa-angle-down fa-2x red"></i></a></div>
+      <div class="down-arrow"><a data-scroll href="#solrcloud"><i class="fa fa-angle-down fa-2x red"></i></a></div>
     </div>
   </div>
 </section>
 
-<section class="gray list" id="anchor-7">
+<section class="gray list" id="solrcloud">
   <ul>
     <div class="row">
       <div class="small-6 columns">
@@ -567,12 +567,12 @@ Title: Features
         HTTP interface with configurable response formats.
         (XML/XSLT, JSON, Python, Ruby, PHP, Velocity, CSV, binary)
       </p>
-      <div class="down-arrow"><a data-scroll href="#anchor-8"><i class="fa fa-angle-down fa-2x red"></i></a></div>
+      <div class="down-arrow"><a data-scroll href="#admin-ui"><i class="fa fa-angle-down fa-2x red"></i></a></div>
     </div>
   </div>
 </section>
 
-<section class="gray list" id="anchor-8">
+<section class="gray list" id="admin-ui">
   <ul>
     <div class="row">
       <div class="small-6 columns">