2021-04-16 11:13:06 +00:00
|
|
|
@import './app';
|
2021-03-08 12:22:01 +00:00
|
|
|
@import 'prism-coldark-dark';
|
2021-04-16 11:13:06 +00:00
|
|
|
|
|
|
|
// temporary component debugging setup
|
|
|
|
@import 'consul-ui/components/main-nav-vertical/debug';
|
2021-06-21 10:40:14 +00:00
|
|
|
@import 'consul-ui/components/badge/debug';
|
|
|
|
@import 'consul-ui/components/csv-list/debug';
|
|
|
|
@import 'consul-ui/components/horizontal-kv-list/debug';
|
|
|
|
@import 'consul-ui/components/icon-definition/debug';
|
2021-06-22 17:56:17 +00:00
|
|
|
@import 'consul-ui/components/inline-alert/debug';
|
2021-04-16 11:13:06 +00:00
|
|
|
|
2021-05-07 11:23:29 +00:00
|
|
|
html.is-debug body > .brand-loader {
|
2021-05-03 15:19:09 +00:00
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2021-03-08 12:22:01 +00:00
|
|
|
.docs {
|
2021-03-17 15:58:17 +00:00
|
|
|
.tabular-collection,
|
|
|
|
.list-collection {
|
|
|
|
height: 300px !important;
|
|
|
|
}
|
2021-05-24 11:32:23 +00:00
|
|
|
[role='banner'] nav:first-of-type {
|
2021-03-17 15:58:17 +00:00
|
|
|
& {
|
|
|
|
padding-top: 0 !important;
|
2021-05-24 11:32:23 +00:00
|
|
|
height: calc(100vh - var(--chrome-height, 47px));
|
2021-03-17 15:58:17 +00:00
|
|
|
}
|
|
|
|
ul {
|
|
|
|
margin-bottom: 100px;
|
|
|
|
padding-top: 0 !important;
|
|
|
|
}
|
|
|
|
li.consul-components a::before,
|
|
|
|
li.components a::before {
|
2021-06-22 17:56:17 +00:00
|
|
|
@extend %with-logo-glimmer-color-icon, %as-pseudo;
|
2021-03-17 15:58:17 +00:00
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2021-06-21 10:40:14 +00:00
|
|
|
li.consul-components.css-component a::before,
|
|
|
|
li.components.css-component a::before {
|
2021-06-22 17:56:17 +00:00
|
|
|
@extend %with-logo-glimmer-color-icon, %as-pseudo;
|
2021-06-21 10:40:14 +00:00
|
|
|
}
|
2021-03-17 15:58:17 +00:00
|
|
|
li.consul-components.ember-component a::before,
|
|
|
|
li.components.ember-component a::before {
|
2021-06-22 17:56:17 +00:00
|
|
|
@extend %with-logo-ember-circle-color-icon, %as-pseudo;
|
2021-03-17 15:58:17 +00:00
|
|
|
}
|
|
|
|
}
|
2021-03-08 12:22:01 +00:00
|
|
|
main {
|
2021-03-17 15:58:17 +00:00
|
|
|
& {
|
|
|
|
background-color: white;
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
}
|
2021-05-13 10:36:51 +00:00
|
|
|
> ol,
|
|
|
|
> ul {
|
2021-04-16 11:13:06 +00:00
|
|
|
list-style-position: outside;
|
2021-03-17 15:58:17 +00:00
|
|
|
margin-bottom: 1rem;
|
2021-04-16 11:13:06 +00:00
|
|
|
margin-left: 2rem;
|
|
|
|
}
|
2021-05-13 10:36:51 +00:00
|
|
|
> ul {
|
2021-04-16 11:13:06 +00:00
|
|
|
list-style-type: disc;
|
2021-03-17 15:58:17 +00:00
|
|
|
}
|
2021-05-24 11:32:23 +00:00
|
|
|
> h1,
|
|
|
|
> h2,
|
|
|
|
> h3 {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
> h1 {
|
|
|
|
padding-top: 20px;
|
|
|
|
@extend %h100;
|
|
|
|
}
|
|
|
|
> h2 {
|
|
|
|
@extend %h200;
|
|
|
|
}
|
|
|
|
> h3 {
|
|
|
|
@extend %h300;
|
|
|
|
}
|
|
|
|
> p {
|
|
|
|
@extend %p1;
|
|
|
|
}
|
|
|
|
> table {
|
|
|
|
margin-bottom: 3em;
|
|
|
|
}
|
|
|
|
> table td {
|
|
|
|
font-weight: normal !important;
|
|
|
|
cursor: default !important;
|
|
|
|
}
|
|
|
|
> table td code {
|
|
|
|
@extend %inline-code;
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
> table tr:hover {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2021-06-21 10:40:14 +00:00
|
|
|
> ol code,
|
|
|
|
> ul code {
|
|
|
|
@extend %inline-code;
|
|
|
|
}
|
2021-03-08 12:22:01 +00:00
|
|
|
}
|
2021-03-17 15:58:17 +00:00
|
|
|
.docfy-demo {
|
|
|
|
& {
|
|
|
|
margin-bottom: 1rem;
|
2021-05-24 11:32:23 +00:00
|
|
|
position: relative;
|
2021-03-17 15:58:17 +00:00
|
|
|
}
|
|
|
|
&__example {
|
|
|
|
& {
|
|
|
|
border-top: 1px solid;
|
|
|
|
border-left: 1px solid;
|
|
|
|
border-right: 1px solid;
|
|
|
|
border-color: var(--gray-200);
|
|
|
|
padding: 1rem;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
ol,
|
|
|
|
ul {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2021-05-04 16:25:57 +00:00
|
|
|
figure {
|
2021-05-07 11:23:29 +00:00
|
|
|
margin-bottom: 0.5rem;
|
2021-05-04 16:25:57 +00:00
|
|
|
}
|
|
|
|
figcaption {
|
2021-05-07 11:23:29 +00:00
|
|
|
margin-bottom: 0.5rem;
|
2021-05-04 16:25:57 +00:00
|
|
|
color: var(--gray-400);
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2021-05-13 10:36:51 +00:00
|
|
|
figcaption code {
|
|
|
|
@extend %inline-code;
|
|
|
|
}
|
2021-05-07 11:23:29 +00:00
|
|
|
figure > [type='text'] {
|
2021-05-04 16:25:57 +00:00
|
|
|
border: 1px solid var(--gray-999);
|
|
|
|
width: 100%;
|
2021-05-07 11:23:29 +00:00
|
|
|
padding: 0.5rem;
|
2021-05-04 16:25:57 +00:00
|
|
|
}
|
2021-05-13 10:36:51 +00:00
|
|
|
figure > select {
|
|
|
|
border: 1px solid var(--gray-999);
|
|
|
|
padding: 0.5rem;
|
|
|
|
}
|
2021-03-17 15:58:17 +00:00
|
|
|
}
|
|
|
|
// &__snippets__tabs__button {
|
|
|
|
// display: none;
|
|
|
|
// }
|
|
|
|
&__snippet {
|
|
|
|
pre {
|
|
|
|
margin: 0 !important;
|
|
|
|
border-bottom-left-radius: 5px;
|
|
|
|
border-bottom-right-radius: 5px;
|
|
|
|
}
|
|
|
|
}
|
2021-03-08 12:22:01 +00:00
|
|
|
}
|
|
|
|
}
|