lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sar...@apache.org
Subject svn commit: r1637499 - in /lucene/cms/branches/solr_6058/content/solr: assets/styles/base.css features.mdtext
Date Sat, 08 Nov 2014 01:19:15 GMT
Author: sarowe
Date: Sat Nov  8 01:19:15 2014
New Revision: 1637499

URL: http://svn.apache.org/r1637499
Log:
SOLR-6058: make detailed feature button text wrap within the button border, rather than breaking
the border when the text has to wrap; move the solr ref guide badge in buttons closer to the
left side

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=1637499&r1=1637498&r2=1637499&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 Sat Nov  8 01:19:15
2014
@@ -913,6 +913,23 @@ img.float-right {
     list-style-type: none;
 }
 
+.wrappable-btn {
+  border: 1px solid #d1d3d4;
+  background-color: inherit;
+  text-transform: uppercase;
+  color: #000;
+  padding: 0.25em 0.65em 0.15em 0.46em;
+  font-weight: 500;
+  margin: 0;
+  display: inline-block;
+  vertical-align: middle;
+}
+.wrappable-btn:hover, .wrappable-btn:focus {
+  color: #ff833d;
+  background: inherit;
+}
+
+
 .ref-guide-badge {
   background-color: #D9411E;
   color: #fff;
@@ -923,9 +940,10 @@ img.float-right {
   font-weight: 500;
   vertical-align: middle;
   padding: 1px 2px;
-  margin-bottom: 4px;
+  margin-bottom: 0.15em;
   margin-right: 4px;
+  margin-left: -4px;
 }
-.btn1:hover .ref-guide-badge, .btn1:focus .ref-guide-badge {
+.wrappable-btn:hover .ref-guide-badge, .wrappable-btn:focus .ref-guide-badge {
   background-color: #ff833d;
 }
\ No newline at end of file

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=1637499&r1=1637498&r2=1637499&view=diff
==============================================================================
--- lucene/cms/branches/solr_6058/content/solr/features.mdtext (original)
+++ lucene/cms/branches/solr_6058/content/solr/features.mdtext Sat Nov  8 01:19:15 2014
@@ -329,7 +329,7 @@ Title: Features
     </div>
     <div class="row">
       <div class="centered">
-        <a class="btn1" href="https://cwiki.apache.org/confluence/display/solr/Documents%2C+Fields%2C+and+Schema+Design"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> Docs, Fields
&amp; Schema Design</a>
+        <a class="wrappable-btn" href="https://cwiki.apache.org/confluence/display/solr/Documents%2C+Fields%2C+and+Schema+Design"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> Docs, Fields
&amp; Schema Design</a>
       <div>
     </div>
   </ul>
@@ -416,7 +416,7 @@ Title: Features
     </div>
     <div class="row">
       <div class="centered">
-        <a class="btn1" href="https://cwiki.apache.org/confluence/display/solr/Searching"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> Searching</a>
+        <a class="wrappable-btn" href="https://cwiki.apache.org/confluence/display/solr/Searching"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> Searching</a>
       <div>
     </div>
   </ul>
@@ -476,7 +476,7 @@ Title: Features
     </div>
     <div class="row">
       <div class="centered">
-        <a class="btn1" href="https://cwiki.apache.org/confluence/display/solr/Faceting"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> Faceting</a>
+        <a class="wrappable-btn" href="https://cwiki.apache.org/confluence/display/solr/Faceting"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> Faceting</a>
       <div>
     </div>
   </ul>
@@ -504,7 +504,8 @@ Title: Features
         <li>Typeahead, autocomplete, auto-suggest, whatever you call it, Solr supports
powerful and extensible mechanisms for providing suggestions to users as they type in their
queries
         </li>
         <div class="centered">
-          <a class="btn1" href="https://cwiki.apache.org/confluence/display/solr/Suggester"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> Suggester</a>
+          <a class="wrappable-btn" href="https://cwiki.apache.org/confluence/display/solr/Suggester"
+            ><span class="ref-guide-badge">Solr<br />Ref<br />Guide</span>
Suggester</a>
         </div>
         <br />
       </div>
@@ -512,7 +513,8 @@ Title: Features
         <li>Integrated Carrot<sup>2</sup> features enable dynamic search
results clustering
         </li>
         <div class="centered">
-          <a class="btn1" href="https://cwiki.apache.org/confluence/display/solr/Result+Clustering"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> Result Clustering</a>
+          <a class="wrappable-btn" href="https://cwiki.apache.org/confluence/display/solr/Result+Clustering"
+            ><span class="ref-guide-badge">Solr<br />Ref<br />Guide</span>
Result Clustering</a>
         </div>
       </div>
     </div>
@@ -521,14 +523,16 @@ Title: Features
         <li>Spelling suggestions are a breeze to enable to help users correct their
queries for better results
         </li>
         <div class="centered">
-          <a class="btn1" href="https://cwiki.apache.org/confluence/display/solr/Spell+Checking"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> Spell Checking</a>
+          <a class="wrappable-btn" href="https://cwiki.apache.org/confluence/display/solr/Spell+Checking"
+            ><span class="ref-guide-badge">Solr<br />Ref<br />Guide</span>
Spell Checking</a>
         </div>
       </div>
       <div class="small-6 columns">
         <li>Configurable hit highlighting helps users focus in on exactly where matches
occur
         </li>
         <div class="centered">
-          <a class="btn1" href="https://cwiki.apache.org/confluence/display/solr/Highlighting"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> Highlighting</a>
+          <a class="wrappable-btn" href="https://cwiki.apache.org/confluence/display/solr/Highlighting"
+            ><span class="ref-guide-badge">Solr<br />Ref<br />Guide</span>
Highlighting</a>
         </div>
       </div>
     </div>
@@ -574,7 +578,7 @@ Title: Features
     </div>
     <div class="row">
       <div class="centered">
-        <a class="btn1" href="http://wiki.apache.org/solr/HowToContribute">How to contribute</a>
+        <a class="wrappable-btn" href="http://wiki.apache.org/solr/HowToContribute">How
to contribute</a>
       <div>
     </div>
   </ul>
@@ -619,7 +623,7 @@ Title: Features
     </div>
     <div class="row">
       <div class="centered">
-        <a class="btn1" href="https://cwiki.apache.org/confluence/display/solr/The+Stats+Component"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> The Stats Component</a>
+        <a class="wrappable-btn" href="https://cwiki.apache.org/confluence/display/solr/The+Stats+Component"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> The Stats Component</a>
       <div>
     </div>
   </ul>
@@ -665,7 +669,7 @@ Title: Features
     </div>
     <div class="row">
       <div class="centered">
-        <a class="btn1" href="https://cwiki.apache.org/confluence/display/solr/Spatial+Search"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> Spatial Search</a>
+        <a class="wrappable-btn" href="https://cwiki.apache.org/confluence/display/solr/Spatial+Search"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> Spatial Search</a>
       <div>
     </div>
   </ul>
@@ -710,7 +714,7 @@ Title: Features
     </div>
     <div class="row">
       <div class="centered">
-        <a class="btn1" href="https://cwiki.apache.org/confluence/display/solr/Indexing+and+Basic+Data+Operations"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> Indexing &amp;
Basic Data Operations</a>
+        <a class="wrappable-btn" href="https://cwiki.apache.org/confluence/display/solr/Indexing+and+Basic+Data+Operations"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> Indexing &amp;
Basic Data Operations</a>
       <div>
     </div>
   </ul>
@@ -766,7 +770,7 @@ Title: Features
     </div>
     <div class="row">
       <div class="centered">
-        <a class="btn1" href="https://cwiki.apache.org/confluence/display/solr/The+Well-Configured+Solr+Instance"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> The Well-Configured
Solr Instance</a>
+        <a class="wrappable-btn" href="https://cwiki.apache.org/confluence/display/solr/The+Well-Configured+Solr+Instance"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> The Well-Configured
Solr Instance</a>
       <div>
     </div>
   </ul>
@@ -822,7 +826,7 @@ Title: Features
     <!-- TODO: LINK TO SOLR CLOUD TUTORIAL -->
     <div class="row">
       <div class="centered">
-        <a class="btn1" href="https://cwiki.apache.org/confluence/display/solr/SolrCloud"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> SolrCloud</a>
+        <a class="wrappable-btn" href="https://cwiki.apache.org/confluence/display/solr/SolrCloud"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> SolrCloud</a>
       <div>
     </div>
   </ul>
@@ -887,7 +891,7 @@ Title: Features
     </div>
     <div class="row">
       <div class="centered">
-        <a class="btn1" href="https://cwiki.apache.org/confluence/display/solr/Using+the+Solr+Administration+User+Interface"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> Using the Solr
Admin UI</a>
+        <a class="wrappable-btn" href="https://cwiki.apache.org/confluence/display/solr/Using+the+Solr+Administration+User+Interface"><span
class="ref-guide-badge">Solr<br />Ref<br />Guide</span> Using the Solr
Admin UI</a>
       <div>
     </div>
   </ul>



Mime
View raw message