2014-12-12 14:49:51 -05:00
|
|
|
.page-with-sidebar {
|
2016-09-02 11:34:04 -04:00
|
|
|
padding: $header-height 0 25px;
|
2016-06-15 13:14:20 -04:00
|
|
|
transition: padding $sidebar-transition-duration;
|
2015-12-02 08:05:10 -05:00
|
|
|
|
2016-07-09 07:48:36 -04:00
|
|
|
&.page-sidebar-pinned {
|
|
|
|
.sidebar-wrapper {
|
|
|
|
@include box-shadow(none);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-16 03:09:25 -05:00
|
|
|
.sidebar-wrapper {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
2015-07-13 13:23:15 -04:00
|
|
|
bottom: 0;
|
2015-01-16 03:09:25 -05:00
|
|
|
left: 0;
|
|
|
|
height: 100%;
|
2016-09-02 11:34:04 -04:00
|
|
|
width: 0;
|
2016-06-15 13:14:20 -04:00
|
|
|
overflow: hidden;
|
|
|
|
transition: width $sidebar-transition-duration;
|
2016-07-12 11:43:43 -04:00
|
|
|
@include box-shadow(2px 0 16px 0 $black-transparent);
|
2015-01-16 03:09:25 -05:00
|
|
|
}
|
2014-12-12 14:49:51 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-wrapper {
|
2016-03-15 14:47:26 -04:00
|
|
|
z-index: 1000;
|
2015-03-17 21:01:33 -04:00
|
|
|
background: $background-color;
|
2016-06-15 12:23:49 -04:00
|
|
|
|
|
|
|
.nicescroll-rails-hr {
|
|
|
|
// TODO: Figure out why nicescroll doesn't hide horizontal bar
|
|
|
|
display: none!important;
|
|
|
|
}
|
2014-12-12 14:49:51 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.content-wrapper {
|
|
|
|
width: 100%;
|
2016-06-15 13:14:20 -04:00
|
|
|
transition: padding $sidebar-transition-duration;
|
2015-09-02 07:02:16 -04:00
|
|
|
|
|
|
|
.container-fluid {
|
2016-03-15 15:56:28 -04:00
|
|
|
background: #fff;
|
2016-01-13 09:58:04 -05:00
|
|
|
padding: 0 $gl-padding;
|
2015-09-09 17:29:19 -04:00
|
|
|
|
|
|
|
&.container-blank {
|
|
|
|
background: none;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
}
|
2015-09-02 07:02:16 -04:00
|
|
|
}
|
2014-12-12 14:49:51 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav-sidebar {
|
2016-06-15 12:23:49 -04:00
|
|
|
position: absolute;
|
|
|
|
top: 50px;
|
2016-07-05 04:20:01 -04:00
|
|
|
bottom: 0;
|
2016-06-15 13:14:20 -04:00
|
|
|
width: $sidebar_width;
|
2016-06-15 12:23:49 -04:00
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
2014-12-15 11:06:03 -05:00
|
|
|
|
|
|
|
&.navbar-collapse {
|
2016-03-16 19:29:47 -04:00
|
|
|
padding: 0 !important;
|
2014-12-15 11:06:03 -05:00
|
|
|
}
|
2014-12-12 14:49:51 -05:00
|
|
|
|
2015-06-25 05:42:15 -04:00
|
|
|
li {
|
|
|
|
&.separate-item {
|
|
|
|
padding-top: 10px;
|
|
|
|
margin-top: 10px;
|
2014-12-12 14:49:51 -05:00
|
|
|
}
|
|
|
|
|
2016-06-14 10:58:54 -04:00
|
|
|
.icon-container {
|
|
|
|
width: 34px;
|
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2015-06-25 05:42:15 -04:00
|
|
|
a {
|
2016-07-14 07:58:25 -04:00
|
|
|
padding: 7px $gl-sidebar-padding;
|
2015-09-04 05:17:25 -04:00
|
|
|
font-size: $gl-font-size;
|
2016-06-10 11:41:00 -04:00
|
|
|
line-height: 24px;
|
2015-06-25 05:42:15 -04:00
|
|
|
display: block;
|
2014-12-12 14:49:51 -05:00
|
|
|
text-decoration: none;
|
2015-09-02 07:02:16 -04:00
|
|
|
font-weight: normal;
|
2015-10-14 03:44:59 -04:00
|
|
|
outline: none;
|
2015-06-25 05:42:15 -04:00
|
|
|
|
2016-06-15 13:14:20 -04:00
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2015-06-25 05:42:15 -04:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
i {
|
2016-06-08 14:50:44 -04:00
|
|
|
font-size: 16px;
|
2016-05-05 13:00:40 -04:00
|
|
|
}
|
|
|
|
|
2016-06-10 11:41:00 -04:00
|
|
|
i,
|
|
|
|
svg {
|
|
|
|
margin-right: 13px;
|
2015-06-25 05:42:15 -04:00
|
|
|
}
|
2014-12-15 13:00:44 -05:00
|
|
|
}
|
2014-12-12 14:49:51 -05:00
|
|
|
}
|
2016-06-10 13:27:05 -04:00
|
|
|
|
|
|
|
.count {
|
|
|
|
float: right;
|
|
|
|
padding: 0 8px;
|
|
|
|
@include border-radius(6px);
|
|
|
|
}
|
2014-12-12 14:49:51 -05:00
|
|
|
}
|
|
|
|
|
2016-07-12 11:18:44 -04:00
|
|
|
.sidebar-action-buttons {
|
2016-06-15 14:35:37 -04:00
|
|
|
width: $sidebar_width;
|
2016-06-15 13:14:20 -04:00
|
|
|
position: absolute;
|
2016-06-10 11:41:00 -04:00
|
|
|
top: 0;
|
2016-03-21 07:09:55 -04:00
|
|
|
left: 0;
|
2016-06-15 13:14:20 -04:00
|
|
|
min-height: 50px;
|
2016-06-10 13:27:05 -04:00
|
|
|
padding: 5px 0;
|
|
|
|
font-size: 18px;
|
2016-06-15 14:35:37 -04:00
|
|
|
line-height: 30px;
|
2016-07-12 11:18:44 -04:00
|
|
|
|
|
|
|
.toggle-nav-collapse {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pin-nav-btn {
|
|
|
|
right: 0;
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
@media (min-width: $sidebar-breakpoint) {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
transition: transform .15s;
|
|
|
|
|
2016-09-02 02:33:43 -04:00
|
|
|
.page-sidebar-pinned & {
|
2016-07-12 11:18:44 -04:00
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-06-15 12:23:49 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav-header-btn {
|
2016-07-14 07:58:25 -04:00
|
|
|
padding: 10px $gl-sidebar-padding;
|
2016-06-15 12:23:49 -04:00
|
|
|
color: inherit;
|
2016-03-21 07:09:55 -04:00
|
|
|
transition-duration: .3s;
|
2016-07-12 11:18:44 -04:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2015-07-13 05:56:08 -04:00
|
|
|
|
2016-06-15 12:23:49 -04:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: $white-light;
|
2016-03-23 13:21:02 -04:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2014-12-12 14:49:51 -05:00
|
|
|
}
|
2014-12-24 11:34:14 -05:00
|
|
|
|
2016-03-21 07:09:55 -04:00
|
|
|
.page-sidebar-expanded {
|
|
|
|
.sidebar-wrapper {
|
|
|
|
width: $sidebar_width;
|
2016-06-15 12:23:49 -04:00
|
|
|
}
|
|
|
|
}
|
2016-03-21 07:09:55 -04:00
|
|
|
|
2016-06-15 12:23:49 -04:00
|
|
|
.page-sidebar-pinned {
|
|
|
|
.content-wrapper,
|
|
|
|
.layout-nav {
|
2016-06-15 14:35:37 -04:00
|
|
|
@media (min-width: $sidebar-breakpoint) {
|
2016-06-15 12:23:49 -04:00
|
|
|
padding-left: $sidebar_width;
|
2016-03-21 07:09:55 -04:00
|
|
|
}
|
2016-06-15 12:23:49 -04:00
|
|
|
}
|
|
|
|
}
|
2016-03-21 07:09:55 -04:00
|
|
|
|
2016-09-02 11:34:04 -04:00
|
|
|
header.header-sidebar-pinned {
|
2016-06-15 14:35:37 -04:00
|
|
|
@media (min-width: $sidebar-breakpoint) {
|
2016-06-15 12:23:49 -04:00
|
|
|
padding-left: ($sidebar_width + $gl-padding);
|
2016-06-15 13:14:20 -04:00
|
|
|
|
|
|
|
.side-nav-toggle {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-content {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
2016-03-21 07:09:55 -04:00
|
|
|
}
|
2015-01-30 14:23:35 -05:00
|
|
|
}
|
|
|
|
|
2016-03-21 07:09:55 -04:00
|
|
|
.right-sidebar-collapsed {
|
2016-03-04 09:05:32 -05:00
|
|
|
padding-right: 0;
|
2016-03-21 07:09:55 -04:00
|
|
|
|
2016-02-29 18:04:40 -05:00
|
|
|
@media (min-width: $screen-sm-min) {
|
2016-03-21 07:09:55 -04:00
|
|
|
padding-right: $sidebar_collapsed_width;
|
2016-02-29 18:04:40 -05:00
|
|
|
}
|
2016-03-27 11:04:51 -04:00
|
|
|
|
|
|
|
.sidebar-collapsed-icon {
|
|
|
|
cursor: pointer;
|
2016-07-18 15:48:26 -04:00
|
|
|
|
|
|
|
.btn {
|
|
|
|
background-color: $gray-light;
|
|
|
|
}
|
2016-03-27 11:04:51 -04:00
|
|
|
}
|
2014-12-25 03:13:45 -05:00
|
|
|
}
|
|
|
|
|
2016-03-21 07:09:55 -04:00
|
|
|
.right-sidebar-expanded {
|
|
|
|
padding-right: 0;
|
|
|
|
|
|
|
|
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
|
2016-04-20 05:11:22 -04:00
|
|
|
&:not(.build-sidebar) {
|
|
|
|
padding-right: $sidebar_collapsed_width;
|
|
|
|
}
|
2016-03-21 07:09:55 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: $screen-md-min) {
|
|
|
|
padding-right: $gutter_width;
|
|
|
|
}
|
2016-03-29 08:28:04 -04:00
|
|
|
|
|
|
|
&.with-overlay {
|
|
|
|
padding-right: $sidebar_collapsed_width;
|
|
|
|
}
|
2016-01-26 19:09:55 -05:00
|
|
|
}
|
2016-08-17 14:08:44 -04:00
|
|
|
|
|
|
|
.right-sidebar {
|
|
|
|
border-left: 1px solid $border-color;
|
|
|
|
}
|