mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
4a1af0f057
Bootstrap-5 Dropdown menu component GitOrigin-RevId: 8a74f2341eebf953367ab73946d72e8aa7bd3c13
32 lines
1.3 KiB
SCSS
32 lines
1.3 KiB
SCSS
// Only include the parts of Bootstrap we need to minimize bundle size
|
|
|
|
// Include functions first (enabling manipulation of colors, SVGs, calc, etc. in the variable overrides)
|
|
@import 'bootstrap-5/scss/functions';
|
|
|
|
// Overrides for Bootstrap 5 Sass variables. These have to be included before
|
|
// Bootstrap itself because Bootstrap uses them to create the CSS variables it
|
|
// uses, and in calculations to determine, for example, what color text to use
|
|
// on a button based on contrast.
|
|
@import 'bootstrap-variable-overrides';
|
|
|
|
// Include remainder of required Bootstrap stylesheets (including any separate color mode stylesheets)
|
|
@import 'bootstrap-5/scss/variables';
|
|
@import 'bootstrap-5/scss/variables-dark';
|
|
|
|
// Include remainder of required parts
|
|
@import 'bootstrap-5/scss/maps';
|
|
@import 'bootstrap-5/scss/mixins';
|
|
@import 'bootstrap-5/scss/root';
|
|
|
|
// Include any other optional parts as needed, including components
|
|
@import 'bootstrap-5/scss/utilities';
|
|
@import 'bootstrap-5/scss/reboot';
|
|
@import 'bootstrap-5/scss/type';
|
|
@import 'bootstrap-5/scss/images';
|
|
@import 'bootstrap-5/scss/containers';
|
|
@import 'bootstrap-5/scss/grid';
|
|
@import 'bootstrap-5/scss/helpers';
|
|
@import 'bootstrap-5/scss/buttons';
|
|
@import 'bootstrap-5/scss/dropdown';
|
|
@import 'bootstrap-5/scss/modal';
|
|
@import 'bootstrap-5/scss/utilities/api';
|