Permalink
Browse files

Centers headings and checkboxes for index config form.

  • Loading branch information...
1 parent a74b77c commit 4b33003f55bbeb7b87a85e457df80a37895d4b0c Jeremy Boggs committed May 2, 2012
Showing with 8 additions and 5 deletions.
  1. +7 −4 _sass/solr_search.scss
  2. +1 −1 views/shared/css/solr_search.css
@@ -248,10 +248,6 @@ ul.facets, ul.facets ul {
font-weight: bold;
}
- td, th {
- width: 25%;
- }
-
table {
margin:0;
padding:0;
@@ -270,8 +266,15 @@ ul.facets, ul.facets ul {
font-weight: bold;
}
+ th,td {
+ text-align:center;
+ }
th:first-child {
padding-left: 2em;
+ text-align:left;
+ }
+ td:first-child {
+ text-align:left;
}
}
@@ -1 +1 @@
-#solr_search{border:1px solid #aaa;border-radius:4px 4px 0 0;font-size:1.2em;padding:0.666em;text-align:left}#solr_search input#solrq,#solr_search .solr_search{border-radius:8px}#solr_search input#solrq{width:475px;box-shadow:0 1px 3px rgba(44,11,0,0.3),0 0 7px rgba(88,88,88,0.4) inset;font-size:16px;height:30px;margin-left:15px;padding:4px 8px}.solr_search{-moz-transition:background 200ms ease-in-out 0s;background:-webkit-gradient(linear, left top, left bottom, from(#fffcfa), to(#aaa7a2));background:-moz-linear-gradient(top, #fffcfa, #aaa7a2);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcfa', endColorstr='#aaa7a2');border:1px solid #79673f;-webkit-box-shadow:0 1px 3px rgba(44,11,0,0.3);-moz-box-shadow:0 1px 3px rgba(44,11,0,0.3);box-shadow:0 1px 3px rgba(44,11,0,0.3);color:#332211;font-size:16px;font-weight:bold;height:40px;line-height:34px;margin-left:10px;text-shadow:0 1px 0 #fff;vertical-align:middle;width:90px}#appliedParams{background-color:#f0f0f0;border-bottom:1px solid #aaa;border-left:1px solid #aaa;border-radius:0 0 4px 4px;border-right:1px solid #aaa;margin-bottom:1.5em;padding:1em 0.66em 0 1em}#appliedParams h3{color:#555;display:block;float:left;font-size:15px;font-style:italic;font-weight:300;overflow:visible;padding:4px;margin:0;position:relative}.facet-fields tbody tr:nth-child(2n+1){background-color:#eee}.appliedFilter{background:none repeat scroll 0 0 #e2edfe;border:1px solid #c4dafe;border-radius:15px 15px 15px 15px;display:inline-block;margin-bottom:0.66em;margin-right:0.33em;padding:3px 3px 3px 1.5em;position:relative}.appliedFilter .btnRemove{background:url("img/remove.gif") no-repeat scroll center center transparent;border-bottom:medium none;border-left:1px solid #d0daea;display:block;height:100%;outline:medium none;position:absolute;right:0;text-indent:-99999px;top:0;width:32px}.filterName{padding-right:14px;background:url("img/separator.gif") no-repeat scroll right center transparent}.filterValue{padding-right:37px}.resultLine{background:none repeat scroll 0 0 #f5f5f5;clear:both;margin:10px 0;overflow:hidden;padding:8px 11px 8px 8px}.resultLine .results{float:left;width:100px;margin-top:8px}.resultLine span{float:left;line-height:0 20px}#solr_results .hd{background-color:#eef5fb;border-top:1px solid #a4c6ef;float:none;min-height:48px;padding-left:10px;width:100%}#solr_results .metadata{margin:0.382em 0 0;width:80%}#solr_results dt{float:left;line-height:14px;margin:0 8px 8 10px;text-align:right;width:137px}.details .metadata dt{font-weight:bold}.hide,.print{height:1px;left:-1000em;position:absolute;top:-1000em;width:1px}#results{float:left;width:60%}.solr_result_doc dt{float:left;width:125px;font-weight:bold;text-align:right;margin-right:25px}.solr_facets{float:left;width:30%}.solr_facets li{list-style:none}.solr_results{float:left;width:70%}.item{width:100%}.fn{width:80%;float:left}.fc{float:left;text-align:right;width:15%}ul.facets,ul.facets ul{list-style-type:none}.solr_sort>h4{display:inline}.solr_sort_form{float:right}#sort-label label{display:inline}.solr_highlight>em{font-weight:bold}#facets-form .ui-state-focus{-moz-box-shadow:none !important;-webkit-box-shadow:none !important;box-shadow:none !important;outline:none !important}#facets-form .ui-accordion-header a{padding-left:1.6em !important}#facets-form h3{font-size:15px;font-weight:bold;margin:0}#facets-form h3 .ui-icon{opacity:0.5}#facets-form legend{width:100%}#facets-form .form-row{display:block}#facets-form tr.fieldset{font-weight:bold}#facets-form td,#facets-form th{width:25%}#facets-form table{margin:0;padding:0}#facets-form table,#facets-form tr{border:none}#facets-form .ui-accordion,#facets-form .ui-accordion-content{padding:1em 0 !important}#facets-form td.element{padding-left:2em;font-weight:bold}#facets-form th:first-child{padding-left:2em}.solrsearch.config dt{margin-top:2em;height:2em}.solrsearch.config dt label{width:500px}.solrsearch.config dd input,.solrsearch.config dd select{width:200px}.solr_facets h3{cursor:pointer}
+#solr_search{border:1px solid #aaa;border-radius:4px 4px 0 0;font-size:1.2em;padding:0.666em;text-align:left}#solr_search input#solrq,#solr_search .solr_search{border-radius:8px}#solr_search input#solrq{width:475px;box-shadow:0 1px 3px rgba(44,11,0,0.3),0 0 7px rgba(88,88,88,0.4) inset;font-size:16px;height:30px;margin-left:15px;padding:4px 8px}.solr_search{-moz-transition:background 200ms ease-in-out 0s;background:-webkit-gradient(linear, left top, left bottom, from(#fffcfa), to(#aaa7a2));background:-moz-linear-gradient(top, #fffcfa, #aaa7a2);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcfa', endColorstr='#aaa7a2');border:1px solid #79673f;-webkit-box-shadow:0 1px 3px rgba(44,11,0,0.3);-moz-box-shadow:0 1px 3px rgba(44,11,0,0.3);box-shadow:0 1px 3px rgba(44,11,0,0.3);color:#332211;font-size:16px;font-weight:bold;height:40px;line-height:34px;margin-left:10px;text-shadow:0 1px 0 #fff;vertical-align:middle;width:90px}#appliedParams{background-color:#f0f0f0;border-bottom:1px solid #aaa;border-left:1px solid #aaa;border-radius:0 0 4px 4px;border-right:1px solid #aaa;margin-bottom:1.5em;padding:1em 0.66em 0 1em}#appliedParams h3{color:#555;display:block;float:left;font-size:15px;font-style:italic;font-weight:300;overflow:visible;padding:4px;margin:0;position:relative}.facet-fields tbody tr:nth-child(2n+1){background-color:#eee}.appliedFilter{background:none repeat scroll 0 0 #e2edfe;border:1px solid #c4dafe;border-radius:15px 15px 15px 15px;display:inline-block;margin-bottom:0.66em;margin-right:0.33em;padding:3px 3px 3px 1.5em;position:relative}.appliedFilter .btnRemove{background:url("img/remove.gif") no-repeat scroll center center transparent;border-bottom:medium none;border-left:1px solid #d0daea;display:block;height:100%;outline:medium none;position:absolute;right:0;text-indent:-99999px;top:0;width:32px}.filterName{padding-right:14px;background:url("img/separator.gif") no-repeat scroll right center transparent}.filterValue{padding-right:37px}.resultLine{background:none repeat scroll 0 0 #f5f5f5;clear:both;margin:10px 0;overflow:hidden;padding:8px 11px 8px 8px}.resultLine .results{float:left;width:100px;margin-top:8px}.resultLine span{float:left;line-height:0 20px}#solr_results .hd{background-color:#eef5fb;border-top:1px solid #a4c6ef;float:none;min-height:48px;padding-left:10px;width:100%}#solr_results .metadata{margin:0.382em 0 0;width:80%}#solr_results dt{float:left;line-height:14px;margin:0 8px 8 10px;text-align:right;width:137px}.details .metadata dt{font-weight:bold}.hide,.print{height:1px;left:-1000em;position:absolute;top:-1000em;width:1px}#results{float:left;width:60%}.solr_result_doc dt{float:left;width:125px;font-weight:bold;text-align:right;margin-right:25px}.solr_facets{float:left;width:30%}.solr_facets li{list-style:none}.solr_results{float:left;width:70%}.item{width:100%}.fn{width:80%;float:left}.fc{float:left;text-align:right;width:15%}ul.facets,ul.facets ul{list-style-type:none}.solr_sort>h4{display:inline}.solr_sort_form{float:right}#sort-label label{display:inline}.solr_highlight>em{font-weight:bold}#facets-form .ui-state-focus{-moz-box-shadow:none !important;-webkit-box-shadow:none !important;box-shadow:none !important;outline:none !important}#facets-form .ui-accordion-header a{padding-left:1.6em !important}#facets-form h3{font-size:15px;font-weight:bold;margin:0}#facets-form h3 .ui-icon{opacity:0.5}#facets-form legend{width:100%}#facets-form .form-row{display:block}#facets-form tr.fieldset{font-weight:bold}#facets-form table{margin:0;padding:0}#facets-form table,#facets-form tr{border:none}#facets-form .ui-accordion,#facets-form .ui-accordion-content{padding:1em 0 !important}#facets-form td.element{padding-left:2em;font-weight:bold}#facets-form th,#facets-form td{text-align:center}#facets-form th:first-child{padding-left:2em;text-align:left}#facets-form td:first-child{text-align:left}.solrsearch.config dt{margin-top:2em;height:2em}.solrsearch.config dt label{width:500px}.solrsearch.config dd input,.solrsearch.config dd select{width:200px}.solr_facets h3{cursor:pointer}

0 comments on commit 4b33003

Please sign in to comment.