mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 17:28:54 +00:00
759a69b5b7
- Replace uses of deprecated Bourbon helpers with raw CSS - Add autoprefixer into the build chain to prefix the now removed helpers This process was achieved by running through each of the deprecation warnings and using the following bash function to replace it in all files: ``` function bourbon-deprecate() { grep -rl "@include $1" ./frontend --exclude-dir=.git | xargs sed -i '' -E "s/@include $1[(](.*)[)]/$1: \1/g" } ``` For some helpers, this did not result in valid CSS, so manual modifications were made. Closes #1189 #1274
38 lines
628 B
SCSS
38 lines
628 B
SCSS
.app-wrap {
|
|
display: flex;
|
|
min-height: calc(100vh - #{$footer-height});
|
|
}
|
|
|
|
.core-wrapper {
|
|
flex-grow: 1;
|
|
margin: 0;
|
|
padding: 0 0 0 $pad-base;
|
|
max-width: calc(100% - 258px);
|
|
position: relative;
|
|
|
|
&--small {
|
|
max-width: calc(100% - 73px);
|
|
}
|
|
|
|
@include breakpoint(smalldesk) {
|
|
max-width: calc(100% - 73px);
|
|
}
|
|
}
|
|
|
|
.site-nav {
|
|
background-color: #f4f7fb;
|
|
border-right: 1px solid $border-medium;
|
|
box-sizing: border-box;
|
|
width: $nav-width;
|
|
|
|
&--small {
|
|
padding-left: 0;
|
|
width: $nav-tablet-width;
|
|
}
|
|
|
|
@include breakpoint(smalldesk) {
|
|
padding-left: 0;
|
|
width: $nav-tablet-width;
|
|
}
|
|
}
|