|
|
@ -8,12 +8,12 @@
|
|
|
|
height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin-left: $sidebarWidth;
|
|
|
|
margin-left: $sidebarWidth;
|
|
|
|
pointer-events: none;
|
|
|
|
pointer-events: none;
|
|
|
|
-webkit-margin-end: -1px;
|
|
|
|
|
|
|
|
@extend %border-box;
|
|
|
|
@extend %border-box;
|
|
|
|
|
|
|
|
|
|
|
|
@media #{$mediumScreen} { margin-left: $sidebarMediumWidth; }
|
|
|
|
@media #{$mediumScreen} { margin-left: $sidebarMediumWidth; }
|
|
|
|
|
|
|
|
|
|
|
|
._sidebar-hidden & { margin-left: 0; }
|
|
|
|
._sidebar-hidden & { margin-left: 0; }
|
|
|
|
|
|
|
|
body:not(._native-scrollbars) & { -webkit-margin-end: -1px; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
._content {
|
|
|
|
._content {
|
|
|
@ -27,50 +27,19 @@
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
@extend %border-box;
|
|
|
|
@extend %border-box;
|
|
|
|
|
|
|
|
|
|
|
|
-webkit-padding-start: .625rem;
|
|
|
|
|
|
|
|
-webkit-padding-end: .75rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@media (-moz-overlay-scrollbars) { padding-left: .625rem; }
|
|
|
|
|
|
|
|
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { margin-left: 0; }
|
|
|
|
|
|
|
|
@supports (-ms-overflow-style: none) { margin-left: 0; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
._sidebar-hidden &:before {
|
|
|
|
._sidebar-hidden &:before {
|
|
|
|
content: '';
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
display: block;
|
|
|
|
margin-top: $headerHeight;
|
|
|
|
margin-top: $headerHeight;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&::-webkit-scrollbar { -webkit-appearance: none; }
|
|
|
|
._overlay-scrollbars & { padding-left: .625rem; }
|
|
|
|
&::-webkit-scrollbar:vertical { width: 16px; }
|
|
|
|
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { margin-left: 0; }
|
|
|
|
&::-webkit-scrollbar:horizontal { height: 16px; }
|
|
|
|
@supports (-ms-overflow-style: none) { margin-left: 0; }
|
|
|
|
&::-webkit-scrollbar-button,
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-corner { display: none; }
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-track {
|
|
|
|
|
|
|
|
background: $contentBackground;
|
|
|
|
|
|
|
|
border: 1px solid $contentBackground;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
|
|
background: $sidebarBackground;
|
|
|
|
|
|
|
|
border-color: $sidebarBorder;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&:vertical { border-width: 0 0 0 1px; }
|
|
|
|
|
|
|
|
&:vertical:corner-present { border-width: 0 0 1px 1px; border-radius: 0 0 0 2px; }
|
|
|
|
|
|
|
|
&:horizontal { border-width: 1px 1px 0 1px; border-radius: 2px 2px 0 0; }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
|
|
body:not(._native-scrollbars) & {
|
|
|
|
min-height: 2rem;
|
|
|
|
-webkit-padding-start: .625rem;
|
|
|
|
background: $scrollbarColor;
|
|
|
|
-webkit-padding-end: .75rem;
|
|
|
|
background-clip: padding-box;
|
|
|
|
|
|
|
|
border: 5px solid rgba(black, 0);
|
|
|
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
|
|
|
|
background-color: $scrollbarColorHover;
|
|
|
|
|
|
|
|
border-width: 4px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|