mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-28 18:00: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>
58 lines
1.2 KiB
SCSS
58 lines
1.2 KiB
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
|
|
*/
|
|
|
|
//
|
|
// Left/right controls for nav
|
|
//
|
|
|
|
.carousel-control-prev,
|
|
.carousel-control-next {
|
|
color: $carousel-control-color;
|
|
|
|
// Hover/focus state
|
|
&:hover,
|
|
&:focus {
|
|
color: $carousel-control-color;
|
|
}
|
|
}
|
|
|
|
.carousel-control-prev-icon {
|
|
background-image: escape-svg($carousel-control-prev-icon-bg);
|
|
}
|
|
.carousel-control-next-icon {
|
|
background-image: escape-svg($carousel-control-next-icon-bg);
|
|
}
|
|
|
|
// Optional indicator pips/controls
|
|
//
|
|
// Add a container (such as a list) with the following class and add an item (ideally a focusable control,
|
|
// like a button) with data-bs-target for each slide your carousel holds.
|
|
|
|
.carousel-indicators {
|
|
[data-bs-target] {
|
|
background-color: $carousel-indicator-active-bg;
|
|
}
|
|
}
|
|
|
|
// Optional captions
|
|
//
|
|
//
|
|
|
|
.carousel-caption {
|
|
color: $carousel-caption-color;
|
|
}
|
|
|
|
// Dark mode carousel
|
|
|
|
.carousel-dark {
|
|
.carousel-indicators [data-bs-target] {
|
|
background-color: $carousel-dark-indicator-active-bg;
|
|
}
|
|
|
|
.carousel-caption {
|
|
color: $carousel-dark-caption-color;
|
|
}
|
|
}
|