2020-04-15 15:48:16 +02:00
|
|
|
.navbar .btn-link {
|
|
|
|
color: $navbar-light-color;
|
|
|
|
padding: 0.4375rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mode {
|
2022-06-10 16:33:08 +02:00
|
|
|
padding: 0.5rem;
|
2020-04-15 15:48:16 +02:00
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2022-06-10 16:33:08 +02:00
|
|
|
@include media-breakpoint-up(lg) {
|
2020-04-15 15:48:16 +02:00
|
|
|
#mode {
|
2022-06-10 16:33:08 +02:00
|
|
|
margin-left: 0.5rem;
|
|
|
|
margin-right: 0.25rem;
|
2020-04-15 15:48:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2021-09-07 12:08:46 +02:00
|
|
|
[data-dark-mode] body .toggle-light {
|
2020-04-15 15:48:16 +02:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2021-09-07 12:08:46 +02:00
|
|
|
[data-dark-mode] body .toggle-dark {
|
2020-04-15 15:48:16 +02:00
|
|
|
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;
|
2022-01-14 16:45:32 +01:00
|
|
|
visibility: hidden !important;
|
2021-06-17 11:20:48 +02:00
|
|
|
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 {
|
2022-01-14 16:45:32 +01:00
|
|
|
visibility: visible !important;
|
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;
|
|
|
|
}
|
2021-09-07 12:08:46 +02:00
|
|
|
|
2022-06-10 16:33:08 +02:00
|
|
|
.dropdown-menu {
|
|
|
|
/*
|
|
|
|
width: 100%;
|
|
|
|
*/
|
|
|
|
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media-breakpoint-up(lg) {
|
|
|
|
.dropdown-menu {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-07 12:08:46 +02:00
|
|
|
.doks-navbar .dropdown-menu,
|
|
|
|
.doks-subnavbar .dropdown-menu {
|
|
|
|
font-size: 0.875rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.doks-navbar .dropdown-item.current,
|
|
|
|
.doks-subnavbar .dropdown-item.current {
|
|
|
|
font-weight: 600;
|
|
|
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23292b2c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: right 1rem top 0.6rem;
|
|
|
|
background-size: 0.75rem 0.75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-close {
|
|
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-x'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
|
|
|
|
background-size: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.offcanvas-header .btn-close {
|
|
|
|
margin-right: 0 !important;
|
|
|
|
}
|
2021-09-10 16:38:32 +02:00
|
|
|
|
|
|
|
.dropdown-toggle::after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-caret {
|
|
|
|
margin-left: -0.1875rem;
|
|
|
|
margin-right: -0.3125rem;
|
|
|
|
}
|
2022-02-01 09:57:11 +01:00
|
|
|
|
|
|
|
.dropdown-menu-main .dropdown-item {
|
|
|
|
color: inherit;
|
|
|
|
font-size: $font-size-base;
|
|
|
|
font-weight: 400;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu-main .dropdown-item:hover {
|
|
|
|
background-color: transparent;
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu-main .dropdown-item.active {
|
|
|
|
color: $primary;
|
|
|
|
font-weight: 400;
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu-main .dropdown-item.active:hover {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|