summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/contextual_sidebar.scss
diff options
context:
space:
mode:
authorLukas Eipert <git@leipert.io>2018-03-19 09:47:50 +0000
committerPhil Hughes <me@iamphill.com>2018-03-19 09:47:50 +0000
commitc242c77276ae588b0ea46e1d9f03b4880610489e (patch)
treed5e9b2f9e689462c869e0dfc4f6306e9638ffb55 /app/assets/stylesheets/framework/contextual_sidebar.scss
parentd0eee137d8bce05c11f848df6c32c5596e56c6eb (diff)
downloadgitlab-ce-c242c77276ae588b0ea46e1d9f03b4880610489e.tar.gz
Make issue boards height calculation clearer and remove magic numbers
Diffstat (limited to 'app/assets/stylesheets/framework/contextual_sidebar.scss')
-rw-r--r--app/assets/stylesheets/framework/contextual_sidebar.scss26
1 files changed, 6 insertions, 20 deletions
diff --git a/app/assets/stylesheets/framework/contextual_sidebar.scss b/app/assets/stylesheets/framework/contextual_sidebar.scss
index 1acde98c3ae..e2d97d0298f 100644
--- a/app/assets/stylesheets/framework/contextual_sidebar.scss
+++ b/app/assets/stylesheets/framework/contextual_sidebar.scss
@@ -9,7 +9,8 @@
padding-left: $contextual-sidebar-width;
}
- .issues-bulk-update.right-sidebar.right-sidebar-expanded .issuable-sidebar-header {
+ .issues-bulk-update.right-sidebar.right-sidebar-expanded
+ .issuable-sidebar-header {
padding: 10px 0 15px;
}
}
@@ -61,7 +62,8 @@
}
.nav-sidebar {
- transition: width $sidebar-transition-duration, left $sidebar-transition-duration;
+ transition: width $sidebar-transition-duration,
+ left $sidebar-transition-duration;
position: fixed;
z-index: 400;
width: $contextual-sidebar-width;
@@ -75,7 +77,7 @@
&:not(.sidebar-collapsed-desktop) {
@media (min-width: $screen-sm-min) and (max-width: $screen-md-max) {
box-shadow: inset -2px 0 0 $border-color,
- 2px 1px 3px $dropdown-shadow-color;
+ 2px 1px 3px $dropdown-shadow-color;
}
}
@@ -234,7 +236,7 @@
border-radius: 0 3px 3px 0;
&::before {
- content: "";
+ content: '';
position: absolute;
top: -30px;
bottom: -30px;
@@ -305,7 +307,6 @@
}
}
-
// Collapsed nav
.toggle-sidebar-button,
@@ -454,18 +455,3 @@
z-index: 300;
}
}
-
-
-// Make issue boards full-height now that sub-nav is gone
-
-.boards-list {
- height: calc(100vh - #{$header-height});
-
- @media (min-width: $screen-sm-min) {
- height: calc(100vh - 180px);
- }
-}
-
-.with-performance-bar .boards-list {
- height: calc(100vh - #{$header-height} - #{$performance-bar-height});
-}