2020-04-15 15:48:16 +02:00
|
|
|
.navbar .btn-link {
|
|
|
|
color: $navbar-light-color;
|
|
|
|
padding: 0.4375rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mode {
|
|
|
|
margin-right: 1.25rem;
|
|
|
|
}
|
|
|
|
|
2020-11-04 08:26:58 +01:00
|
|
|
.btn-link:focus {
|
|
|
|
outline: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2020-04-15 15:48:16 +02:00
|
|
|
#navigation {
|
|
|
|
margin-left: 1.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
#mode {
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar .btn-link {
|
|
|
|
padding: 0.5625em 0.25rem 0.5rem 0.125rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar .btn-link:hover {
|
|
|
|
color: $navbar-light-hover-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar .btn-link:active {
|
|
|
|
color: $navbar-light-active-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
body .toggle-dark {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
body .toggle-light {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark .toggle-light {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark .toggle-dark {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-11-04 08:26:58 +01:00
|
|
|
|
2021-06-17 11:20:48 +02:00
|
|
|
pre {
|
|
|
|
position: relative;
|
2020-11-04 08:26:58 +01:00
|
|
|
}
|
|
|
|
|
2021-06-17 11:20:48 +02:00
|
|
|
@include media-breakpoint-down(md) {
|
|
|
|
.btn-copy {
|
|
|
|
display: none;
|
2021-03-15 18:55:49 +01:00
|
|
|
}
|
2021-06-17 11:20:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-copy {
|
|
|
|
transition: opacity 0.3s ease-in-out;
|
|
|
|
opacity: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0.25rem;
|
|
|
|
top: 0.25rem;
|
|
|
|
z-index: 10;
|
|
|
|
font-family: $font-family-sans-serif;
|
|
|
|
font-size: $font-size-sm;
|
|
|
|
padding: 0.25rem 0.5rem;
|
|
|
|
color: $color-btn-text;
|
|
|
|
background-color: $color-btn-bg;
|
|
|
|
border-color: $color-btn-border;
|
|
|
|
}
|
2021-03-15 18:55:49 +01:00
|
|
|
|
2021-06-17 11:20:48 +02:00
|
|
|
.btn-copy:hover {
|
|
|
|
color: $color-btn-text;
|
|
|
|
background-color: lighten($color-btn-bg, 5%);
|
|
|
|
border-color: lighten($color-btn-border, 15%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-copy:focus {
|
|
|
|
color: $color-btn-text;
|
|
|
|
background-color: $color-btn-bg;
|
|
|
|
border-color: lighten($color-btn-border, 15%);
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-copy:active,
|
|
|
|
.btn-copy.active {
|
|
|
|
color: $color-btn-text;
|
|
|
|
background-color: $color-btn-bg;
|
|
|
|
border-color: lighten($color-btn-border, 15%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-copy:active:focus,
|
|
|
|
.btn-copy.active:focus {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
pre:hover .btn-copy {
|
|
|
|
opacity: 1;
|
2020-11-04 08:26:58 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-17 11:20:48 +02:00
|
|
|
.btn-copy::after {
|
2021-03-19 14:39:07 +01:00
|
|
|
content: "Copy";
|
|
|
|
display: block;
|
2021-06-17 11:20:48 +02:00
|
|
|
color: $color-btn-text;
|
2021-03-19 14:39:07 +01:00
|
|
|
}
|
|
|
|
|
2021-06-17 11:20:48 +02:00
|
|
|
.btn-copy:hover::after {
|
2020-11-04 08:26:58 +01:00
|
|
|
content: "Copy";
|
|
|
|
display: block;
|
2021-06-17 11:20:48 +02:00
|
|
|
color: $color-btn-text;
|
2020-11-04 08:26:58 +01:00
|
|
|
}
|
|
|
|
|
2021-06-17 11:20:48 +02:00
|
|
|
.btn-copy:focus::after,
|
|
|
|
.btn-copy:active::after {
|
2020-11-04 08:26:58 +01:00
|
|
|
content: "Copied";
|
|
|
|
display: block;
|
2021-06-17 11:20:48 +02:00
|
|
|
color: $color-btn-text;
|
2020-11-04 08:26:58 +01:00
|
|
|
}
|
2021-04-20 14:57:42 +02:00
|
|
|
|
|
|
|
.collapsible-sidebar {
|
|
|
|
margin: 2.125rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-toggle {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 0.25rem 0.5rem 0.25rem 0;
|
|
|
|
font-weight: $headings-font-weight;
|
|
|
|
font-size: $font-size-base;
|
|
|
|
text-transform: uppercase;
|
|
|
|
color: $body-color;
|
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-toggle:hover,
|
|
|
|
.btn-toggle:focus {
|
|
|
|
color: $body-color;
|
|
|
|
background-color: transparent;
|
|
|
|
outline: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-toggle::before {
|
|
|
|
width: 1.25em;
|
|
|
|
line-height: 0;
|
|
|
|
content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%2829, 45, 53, 0.75%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
|
|
|
|
transition: transform 0.35s ease;
|
|
|
|
transform-origin: 0.5em 50%;
|
|
|
|
margin-bottom: 0.125rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-toggle[aria-expanded="true"] {
|
|
|
|
color: $body-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-toggle[aria-expanded="true"]::before {
|
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-toggle-nav a {
|
|
|
|
display: inline-flex;
|
|
|
|
padding: 0.1875rem 0.5rem;
|
|
|
|
margin-top: 0.125rem;
|
2021-06-14 19:34:30 +02:00
|
|
|
margin-left: 1.25rem;
|
2021-04-20 14:57:42 +02:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-toggle-nav a:hover,
|
|
|
|
.btn-toggle-nav a:focus {
|
|
|
|
background-color: transparent;
|
|
|
|
color: $link-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-toggle-nav a.active {
|
|
|
|
color: $link-color;
|
|
|
|
}
|