2020-11-22 15:50:07 -05:00
|
|
|
/*
|
2021-01-06 15:37:59 -05:00
|
|
|
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
2020-11-22 15:50:07 -05:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2020-09-13 12:04:02 -04:00
|
|
|
// Button for toggling the navbar when in its collapsed state
|
|
|
|
.navbar-toggler {
|
|
|
|
background-color: transparent; // remove default button style
|
|
|
|
}
|
|
|
|
|
|
|
|
// Navbar themes
|
|
|
|
//
|
|
|
|
// Styles for switching between navbars with light or dark background.
|
|
|
|
|
|
|
|
// Dark links against a light background
|
|
|
|
.navbar-light {
|
|
|
|
.navbar-brand {
|
|
|
|
color: $navbar-light-brand-color;
|
|
|
|
|
|
|
|
@include hover-focus() {
|
|
|
|
color: $navbar-light-brand-hover-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-nav {
|
|
|
|
.nav-link {
|
|
|
|
color: $navbar-light-color;
|
|
|
|
|
|
|
|
@include hover-focus() {
|
|
|
|
color: $navbar-light-hover-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
color: $navbar-light-disabled-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.show > .nav-link,
|
|
|
|
.active > .nav-link,
|
|
|
|
.nav-link.show,
|
|
|
|
.nav-link.active {
|
|
|
|
color: $navbar-light-active-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-toggler {
|
|
|
|
color: $navbar-light-color;
|
|
|
|
border-color: $navbar-light-toggler-border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-text {
|
|
|
|
color: $navbar-light-color;
|
2021-02-03 16:13:04 -05:00
|
|
|
|
2020-09-13 12:04:02 -04:00
|
|
|
a {
|
|
|
|
color: $navbar-light-active-color;
|
|
|
|
|
|
|
|
@include hover-focus() {
|
|
|
|
color: $navbar-light-active-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// White links against a dark background
|
|
|
|
.navbar-dark {
|
|
|
|
.navbar-brand {
|
|
|
|
color: $navbar-dark-brand-color;
|
|
|
|
|
|
|
|
@include hover-focus() {
|
|
|
|
color: $navbar-dark-brand-hover-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-nav {
|
|
|
|
.nav-link {
|
|
|
|
color: $navbar-dark-color;
|
|
|
|
|
|
|
|
@include hover-focus() {
|
|
|
|
color: $navbar-dark-hover-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
color: $navbar-dark-disabled-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.show > .nav-link,
|
|
|
|
.active > .nav-link,
|
|
|
|
.nav-link.show,
|
|
|
|
.nav-link.active {
|
|
|
|
color: $navbar-dark-active-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-toggler {
|
|
|
|
color: $navbar-dark-color;
|
|
|
|
border-color: $navbar-dark-toggler-border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-text {
|
|
|
|
color: $navbar-dark-color;
|
2021-02-03 16:13:04 -05:00
|
|
|
|
2020-09-13 12:04:02 -04:00
|
|
|
a {
|
|
|
|
color: $navbar-dark-active-color;
|
|
|
|
|
|
|
|
@include hover-focus() {
|
|
|
|
color: $navbar-dark-active-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|