diff options
Diffstat (limited to 'resources/assets/stylesheets/scss')
| -rw-r--r-- | resources/assets/stylesheets/scss/responsive.scss | 9 | ||||
| -rw-r--r-- | resources/assets/stylesheets/scss/sidebar.scss | 30 |
2 files changed, 18 insertions, 21 deletions
diff --git a/resources/assets/stylesheets/scss/responsive.scss b/resources/assets/stylesheets/scss/responsive.scss index 9226db8..2b5f81c 100644 --- a/resources/assets/stylesheets/scss/responsive.scss +++ b/resources/assets/stylesheets/scss/responsive.scss @@ -338,12 +338,8 @@ $sidebarOut: -330px; animation: slide-in $transition-duration forwards; } - top: 100px; + top: 80px; visibility: visible; - - &:not(.oversized) { - position: sticky; - } } .sidebar-image { @@ -550,11 +546,10 @@ $sidebarOut: -330px; #sidebar { height: 100%; + overflow-y: auto; position: fixed; - top: 75px; transform: translateX($sidebarOut); -webkit-transform: translateX($sidebarOut); - top: 80px; z-index: 100; &.responsive-show { diff --git a/resources/assets/stylesheets/scss/sidebar.scss b/resources/assets/stylesheets/scss/sidebar.scss index d03ede6..8b31139 100644 --- a/resources/assets/stylesheets/scss/sidebar.scss +++ b/resources/assets/stylesheets/scss/sidebar.scss @@ -150,24 +150,26 @@ } } -#admin-courses-index { - #sidebar { - top: 50px; +html:not(.responsive-display) { + #admin-courses-index { + #sidebar { + top: 50px; - &.adjusted { - height: calc(100vh - 250px); - top: 155px; + &.adjusted { + height: calc(100vh - 250px); + top: 155px; - &.no-footer { - height: calc(100vh - 200px); - } + &.no-footer { + height: calc(100vh - 200px); + } - &.fixed { - height: calc(100vh - 125px); - top: 35px; + &.fixed { + height: calc(100vh - 125px); + top: 35px; - &.no-footer { - height: calc(100vh - 100px); + &.no-footer { + height: calc(100vh - 100px); + } } } } |
