mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-26 16:20:58 +00:00
77a60c6c48
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
112 lines
2.1 KiB
SCSS
112 lines
2.1 KiB
SCSS
/*
|
|
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
// 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;
|
|
|
|
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;
|
|
|
|
a {
|
|
color: $navbar-dark-active-color;
|
|
|
|
@include hover-focus() {
|
|
color: $navbar-dark-active-color;
|
|
}
|
|
}
|
|
}
|
|
}
|