Updated tabs for code samples

This commit is contained in:
Jake Bonham
2019-05-20 14:05:07 -07:00
committed by mDuo13
parent b92bc961f6
commit ae74dedc4b

View File

@@ -467,9 +467,8 @@ pre code {
} }
.code_sample pre code { .code_sample pre code {
overflow: auto; overflow: auto;
max-height: 14em; max-height: 24em;
background-color: #E1E4E8; background-color: #f8f6f6;
border: 1px solid #C9CDD1;
border-radius: 4px; border-radius: 4px;
display: block; display: block;
padding: 0.5em; padding: 0.5em;
@@ -478,7 +477,6 @@ pre code {
overflow: visible; overflow: visible;
max-height: none; max-height: none;
position: absolute; position: absolute;
min-width: 661px;
} }
.code_sample .code_toggler { .code_sample .code_toggler {
position: absolute; position: absolute;
@@ -505,10 +503,13 @@ pre code {
.multicode li { .multicode li {
display: block; display: block;
float: left; float: left;
overflow: hidden;
list-style-type: none; list-style-type: none;
margin-right: 5px; margin-right: 0px;
border-top: 1px solid #DBDDE2; margin-left: 0px;
border-style: none solid;
border-width: 0.5px;
border-color: #eae7e6;
} }
.multicode ul > li:before { .multicode ul > li:before {
background: none; background: none;
@@ -517,20 +518,31 @@ pre code {
.multicode a, .multicode a,
a.current { a.current {
color: black; color: black;
background: #DFE2E7; padding-right: 32px;
border: 1px solid #DBDDE2; padding-left: 32px;
padding: 1em 1em 0 1em; padding-bottom: 10px;
padding-top: 10px;
margin: 0px; margin: 0px;
text-decoration: none; text-decoration: none;
} }
.multicode a.current { .multicode a.current {
background: #fff; background-color: #f8f6f6;
border-bottom: 1px solid #fff;
color: black; color: black;
} }
.multicode a.current:hover {
border-bottom: none;
padding-bottom: 10px;
}
.multicode a:hover { .multicode a:hover {
color: black; color: black;
background: white; border-bottom: 1px solid black;
padding-bottom: 7px;
}
.multicode li:first-child {
border-left: none;
}
.multicode li:last-child {
border-right: none;
} }
/* Common list modules (children, curated links) ---------------------------- */ /* Common list modules (children, curated links) ---------------------------- */