diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/_bootstrap.scss b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/_bootstrap.scss index a957f3b9..33a9591c 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/_bootstrap.scss +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/_bootstrap.scss @@ -14,7 +14,8 @@ $icon-font-path: "~bootstrap-sass/assets/fonts/bootstrap/"; @import "~bootstrap-sass/assets/stylesheets/bootstrap/scaffolding"; @import "~bootstrap-sass/assets/stylesheets/bootstrap/type"; @import "~bootstrap-sass/assets/stylesheets/bootstrap/code"; -@import "~bootstrap-sass/assets/stylesheets/bootstrap/grid"; +//@import "~bootstrap-sass/assets/stylesheets/bootstrap/grid"; +@import "bootstrap-overrides/grid"; @import "~bootstrap-sass/assets/stylesheets/bootstrap/tables"; @import "~bootstrap-sass/assets/stylesheets/bootstrap/forms"; @import "~bootstrap-sass/assets/stylesheets/bootstrap/buttons"; diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/bootstrap-overrides/_grid.scss b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/bootstrap-overrides/_grid.scss new file mode 100644 index 00000000..db61bcb4 --- /dev/null +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/bootstrap-overrides/_grid.scss @@ -0,0 +1,94 @@ +// +// Grid system +// -------------------------------------------------- + + +// Container widths +// +// Set the container width, and override it for fixed navbars in media queries. + +//.container { +// @include container-fixed; +// +// @media (min-width: $screen-sm-min) { +// width: $container-sm; +// } +// @media (min-width: $screen-md-min) { +// width: $container-md; +// } +// @media (min-width: $screen-lg-min) { +// width: $container-lg; +// } +//} + + +// Fluid container +// +// Utilizes the mixin meant for fixed width containers, but without any defined +// width for fluid, full width layouts. + +.container-fluid { + @include container-fixed; +} + + +// Row +// +// Rows contain and clear the floats of your columns. + +.row { + @include make-row; +} + +.row-no-gutters { + margin-right: 0; + margin-left: 0; + + [class*="col-"] { + padding-right: 0; + padding-left: 0; + } +} + + +// Columns +// +// Common styles for small and large grid columns + +@include make-grid-columns; + + +// Extra small grid +// +// Columns, offsets, pushes, and pulls for extra small devices like +// smartphones. + +@include make-grid(xs); + + +// Small grid +// +// Columns, offsets, pushes, and pulls for the small device range, from phones +// to tablets. + +@media (min-width: $screen-sm-min) { + @include make-grid(sm); +} + + +// Medium grid +// +// Columns, offsets, pushes, and pulls for the desktop device range. + +@media (min-width: $screen-md-min) { + @include make-grid(md); +} + + +// Large grid +// +// Columns, offsets, pushes, and pulls for the large desktop device range. + +@media (min-width: $screen-lg-min) { + @include make-grid(lg); +} diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mainnav.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mainnav.html index 874ba2a3..11fed0dc 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mainnav.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mainnav.html @@ -5,47 +5,35 @@ xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers" > - - - - - -