inspec/www/source/stylesheets/_sidebar.scss

73 lines
1.1 KiB
SCSS
Raw Normal View History

2016-09-26 00:12:07 +00:00
.main-sidebar ul {
list-style: none;
margin-left: 0.5rem;
ul {
margin-left: 0;
margin-bottom: 1rem;
}
}
.main-sidebar--link h6 {
font-weight: 500;
}
.main-sidebar--list--item {
position: relative;
padding: 3px 0;
text-transform: uppercase;
font-size: 14px;
& > a {
color: $inspec-grey;
&:hover,
&:focus,
&:active {
color: darken($inspec-grey, 15%);
}
}
}
2016-09-26 03:28:31 +00:00
.center {
text-align: center;
}
2016-09-26 04:20:58 +00:00
.gsc-adBlock, .gcsc-branding {
display: none !important;
}
.gsc-control-cse {
padding: 0 !important;
tbody {
border: none;
background: none;
}
.gsc-input-box {
height: 3rem;
table {
margin-bottom: 0;
}
}
.gsc-input input {
box-shadow: none !important;
}
.gsc-search-button {
font-family: inherit;
font-size: 11px;
padding: 5px 18px;
height: 27px;
min-width: 54px;
}
}
// FIXME: this is used to remove the top border line of the search
// see https://github.com/chef/inspec/issues/1114#issuecomment-249525984
.sidebar-layout-docs > .main-nav--links {
border-top: none;
}