Repository URL to install this package:
|
Version:
2.40.0 ▾
|
.feather {
width: 16px;
height: 16px;
vertical-align: text-bottom;
}
/*
* Navbar
*/
.navbar .navbar-toggler {
top: 0.25rem;
right: 1rem;
}
/*
* Sidebar
*/
.sidebar {
position: fixed;
top: 0;
bottom: 0;
left: 0;
z-index: 100; /* Behind the navbar */
padding: 48px 0 0; /* Height of navbar */
box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
}
.sidebar-sticky {
position: relative;
top: 0;
height: calc(100vh - 48px);
padding-top: 0.5rem;
overflow-x: hidden;
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}
@supports ((position: -webkit-sticky) or (position: sticky)) {
.sidebar-sticky {
position: -webkit-sticky;
position: sticky;
}
}
.sidebar .nav-link {
font-weight: 500;
color: #333;
}
.sidebar .nav-link .feather {
margin-right: 4px;
color: #999;
}
.sidebar .nav-link.active {
color: #007bff;
}
.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
color: inherit;
}
.sidebar-heading {
font-size: 0.75rem;
text-transform: uppercase;
}
/*
* Content
*/
[role="main"] {
padding-top: 133px; /* Space for fixed navbar */
}
@media (min-width: 768px) {
[role="main"] {
padding-top: 48px; /* Space for fixed navbar */
}
}
/*
* Navbar
*/
.navbar-brand {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
font-size: 1rem;
background-color: rgba(0, 0, 0, 0.25);
box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25);
}
.navbar-text {
font-size: 1rem;
}
.navbar-dark .navbar-text {
color: #fff !important;
}
.navbar .form-control {
padding: 0.75rem 1rem;
border-width: 0;
border-radius: 0;
}
.form-control-dark {
color: #fff;
background-color: rgba(255, 255, 255, 0.1);
border-color: rgba(255, 255, 255, 0.1);
}
.form-control-dark:focus {
border-color: transparent;
box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}
.monospaced {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
font-size: 0.875em;
}
/*
* Animations
*/
.rotating {
animation: rotation 1s infinite;
animation-timing-function: linear;
}
@keyframes rotation {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
/*
* Code editor
*/
.code-editor {
border: 1px solid #ddd;
}
/*
* JSON schema editor
*/
.json-schema-editor > .je-object__container:first-child {
margin-top: -2rem;
}
.json-schema-editor > .je-object__container > .je-object__title {
display: none !important;
height: 0 !important;
}
.json-schema-editor .je-object__title label,
.json-schema-editor .card-title label,
.json-schema-editor .form-group label {
font-weight: bold;
}
.json-schema-editor .form-group label.form-check-label {
font-weight: normal;
}
.json-schema-editor h3.card-title {
font-size: 1rem;
margin-bottom: 0;
}
.json-schema-editor h3.card-title .btn-group {
vertical-align: baseline;
padding-left: 0.5em;
float: right;
}
.json-schema-editor .table {
margin-left: -0.3rem;
}