inspec/www/source/stylesheets/_sidebar.scss
hannah-radish 3b41a5d7cf HM Mobile IE (#2705)
* Mobile media queries

* Dominik's slider broke

* slide groups fix

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>

* Optimization changes
2018-02-19 17:04:16 -08:00

63 lines
864 B
SCSS

//stickjs - subtract header height
.is_stuck {
margin-top: $percent_md;
}
//overwriting default ul li styles for side bar
#sidebar {
position: absolute;
}
#mainbar {
margin-left: 25%;
@include mobile {
margin-left: 0 !important;
}
}
ul.main-sidebar--links li:last-child {
margin-bottom: $percent_sm !important;
@include nav-small {
margin-bottom: 0;
}
}
//other styles
li.main-sidebar--link small {
padding-bottom: $percent_xs;
color: $color_gray;
}
ul.main-sidebar--list li {
padding-bottom: 4px;
}
ul.main-sidebar--list li a {
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
li > i.focus {
color: white;
}
li.t-purple > i.focus{
display: inline-flex;
color: $color_purple;
@include nav-small {
float: right;
}
@media screen and (max-width: 640px) {
color: white;
}
}