mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-28 18:10:59 -05:00
ca25760d48
The vendored version contains ONLY the color rules. This makes it easy to create custom themes on top of the original bootstrap. Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
26 lines
845 B
SCSS
26 lines
845 B
SCSS
/*!
|
|
* SPDX-FileCopyrightText: Original code: Copyright (c) 2011-2022 Twitter, Inc. + Copyright (c) 2011-2022 The Bootstrap Authors. Modification: 2022 The HedgeDoc developers (see AUTHORS file)
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
// stylelint-disable function-disallowed-list
|
|
|
|
%offcanvas-css-vars {
|
|
// scss-docs-start offcanvas-css-vars
|
|
--#{$prefix}offcanvas-color: #{$offcanvas-color};
|
|
--#{$prefix}offcanvas-bg: #{$offcanvas-bg-color};
|
|
--#{$prefix}offcanvas-border-color: #{$offcanvas-border-color};
|
|
--#{$prefix}offcanvas-box-shadow: #{$offcanvas-box-shadow};
|
|
// scss-docs-end offcanvas-css-vars
|
|
}
|
|
|
|
@each $breakpoint in map-keys($grid-breakpoints) {
|
|
$next: breakpoint-next($breakpoint, $grid-breakpoints);
|
|
$infix: breakpoint-infix($next, $grid-breakpoints);
|
|
|
|
.offcanvas#{$infix} {
|
|
@extend %offcanvas-css-vars;
|
|
}
|
|
}
|
|
|