You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ct...@apache.org on 2018/10/22 23:35:26 UTC
[41/50] [abbrv] lucene-solr:jira/solr-12746: Fix a few more CSS issues
Fix a few more CSS issues
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/7caefb65
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/7caefb65
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/7caefb65
Branch: refs/heads/jira/solr-12746
Commit: 7caefb65b4e316228d1084f7f5404b24b767f00b
Parents: 3093dc5
Author: Cassandra Targett <ct...@apache.org>
Authored: Sun Oct 21 15:43:33 2018 -0500
Committer: Cassandra Targett <ct...@apache.org>
Committed: Sun Oct 21 15:46:48 2018 -0500
----------------------------------------------------------------------
solr/solr-ref-guide/src/css/customstyles.css | 9 ++--
solr/solr-ref-guide/src/css/ref-guide.css | 53 ++++++++---------------
2 files changed, 22 insertions(+), 40 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/7caefb65/solr/solr-ref-guide/src/css/customstyles.css
----------------------------------------------------------------------
diff --git a/solr/solr-ref-guide/src/css/customstyles.css b/solr/solr-ref-guide/src/css/customstyles.css
index 5aa63e5..a220103 100755
--- a/solr/solr-ref-guide/src/css/customstyles.css
+++ b/solr/solr-ref-guide/src/css/customstyles.css
@@ -462,12 +462,13 @@ a[data-toggle] {
font-weight: bold;
}
-
a.fa.fa-envelope-o.mailto {
font-weight: 600;
}
-.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
+.nav-tabs > li.active > a,
+.nav-tabs > li.active > a:hover,
+.nav-tabs > li.active > a:focus {
background-color: #248ec2;
color: white;
}
@@ -477,10 +478,6 @@ ol li ul li {list-style-type: disc;}
li img {clear:both; }
-div#toc ul li ul li {
- list-style-type: none;
- margin: 5px 0 0 0;
-}
.tab-content {
padding: 0px;
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/7caefb65/solr/solr-ref-guide/src/css/ref-guide.css
----------------------------------------------------------------------
diff --git a/solr/solr-ref-guide/src/css/ref-guide.css b/solr/solr-ref-guide/src/css/ref-guide.css
index 0a39ad4..5fa4327 100644
--- a/solr/solr-ref-guide/src/css/ref-guide.css
+++ b/solr/solr-ref-guide/src/css/ref-guide.css
@@ -1,12 +1,10 @@
/* Load Noto Sans for body and header text */
-@font-face
-{
+@font-face {
font-family: 'Noto Sans';
src: url(../fonts/Noto_Sans/NotoSans-Regular.ttf);
}
-@font-face
-{
+@font-face {
font-weight: bold;
font-family: 'Noto Sans';
src: url(../fonts/Noto_Sans/NotoSans-Bold.ttf);
@@ -35,44 +33,37 @@ hgroup,
main,
nav,
section,
-summary
-{
+summary {
display: block;
}
audio,
canvas,
-video
-{
+video {
display: inline-block;
}
-audio:not([controls])
-{
+audio:not([controls]) {
display: none;
height: 0;
}
[hidden],
-template
-{
+template {
display: none;
}
-script
-{
+script {
display: none!important;
}
-html
-{
+html {
font-family: 'Noto Sans', sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
-body
-{
+body {
margin: 0;
}
@@ -80,20 +71,17 @@ body.DRAFT {
background-image: url("../images/draft-background.png");
}
-a
-{
+a {
background: transparent;
}
-a:focus
-{
+a:focus {
outline: thin dotted;
outline-offset: -2px;
}
a:active,
-a:hover
-{
+a:hover {
outline: 0;
}
@@ -112,8 +100,7 @@ a[href^="https://"]:after {
/* Strip the outbound icon when this class is present */
a[href].noCrossRef::after,
-a.no_icon:after
- {
+a.no_icon:after {
content:"" !important;
padding-left: 0;
}
@@ -128,6 +115,7 @@ ul#mysidebar li.sb-level3 a {
ul#mysidebar li.sb-level4 a {
padding-left: 40px;
}
+
/* we can style the 'current-tree' hierarchy in the sidebar independently of the 'active' page as
the user clicks around expanding/collapsing the nav menus w/o clicking a link to load a diff page
@@ -147,14 +135,12 @@ ul#mysidebar li.current.active > a {
}
-abbr[title]
-{
+abbr[title] {
border-bottom: 1px dotted;
}
b,
-strong
-{
+strong {
font-weight: bold;
}
@@ -1172,19 +1158,18 @@ nav.toc ul li {
nav.toc ul {
background-color: #f1f1f1;;
- padding: 0 5px;
+ padding: 5px;
border-radius: 5px;
color: gray;
}
nav.toc ul li ul {
- padding-left:8px;
-
+ padding-left: 8px;
}
nav.toc ul li ul li {
list-style: circle;
- line-height: 1;
+ margin: 5px 0 0 0;
}
nav.toc.section-toc >ul::before {