2023-03-14 13:18:55 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
* SPDX-License-Identifier: BUSL-1.1
|
2023-03-14 13:18:55 +00:00
|
|
|
*/
|
|
|
|
|
2021-03-08 12:22:01 +00:00
|
|
|
@import 'prism-coldark-dark';
|
2021-04-16 11:13:06 +00:00
|
|
|
|
|
|
|
// temporary component debugging setup
|
2021-06-21 10:40:14 +00:00
|
|
|
@import 'consul-ui/components/badge/debug';
|
2022-02-21 12:22:59 +00:00
|
|
|
@import 'consul-ui/components/panel/debug';
|
2022-03-23 10:34:26 +00:00
|
|
|
@import 'consul-ui/components/tile/debug';
|
2021-06-21 10:40:14 +00:00
|
|
|
@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-07-06 15:57:20 +00:00
|
|
|
@import 'consul-ui/components/definition-table/debug';
|
2021-04-16 11:13:06 +00:00
|
|
|
|
2021-11-23 18:32:11 +00:00
|
|
|
%debug-grid {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
%debug-grid li {
|
|
|
|
margin-right: 20px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
%debug-grid figure {
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
width: 140px;
|
|
|
|
}
|
|
|
|
%debug-grid figcaption {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %body-100-regular;
|
2021-11-23 18:32:11 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
2021-12-06 10:33:44 +00:00
|
|
|
[id^='docfy-demo-preview-color'] ul,
|
|
|
|
[id^='docfy-demo-preview-typography'] ul,
|
|
|
|
[id^='docfy-demo-preview-icons'] ul {
|
2021-11-23 18:32:11 +00:00
|
|
|
@extend %debug-grid;
|
|
|
|
}
|
|
|
|
|
2021-12-06 10:33:44 +00:00
|
|
|
[id^='docfy-demo-preview-typography'] figure,
|
|
|
|
[id^='docfy-demo-preview-icons'] figure {
|
2021-11-23 18:32:11 +00:00
|
|
|
border: var(--decor-border-100);
|
UI: Update Consul UI colors to use HDS colors (#16111)
* update red color variables to hds
* change background red to be one step lighter
* map oranges
* map greens
* map blues
* map greys
* delete themes, colours: lemon, magenta, strawberry, and vault color aliases
* add unmapped rainbow colours
* replace white and transparent vars, remove unused semantic vars and frame placeholders
* small tweaks to improve contrast, change node health status x/check colours for non-voters to match design doc, replace semantic colour action w hds colour
* add unmapped grays, remove dark theme, manually set nav bar to use dark colours
* map consul pink colour
* map yellows
* add unmapped oranges, delete light theme
* remove readme, base variables, clean up dangling colours
* Start working on the nav disclosure menus
* Update main-nav-horizontal dropdowns
* Format template
* Update box-shadow tokens
* Replace --tone- usage with tokens
* Update nav disabled state and panel border colour
* Replace rgb usage on tile
* Fix permissions modal overlay
* More fixes
* Replace orange-500 with amber-200
* Update badge colors
* Update vertical sidebar colors
* Remove top border on consul peer list ul
---------
Co-authored-by: wenincode <tyler.wendlandt@hashicorp.com>
2023-02-27 16:30:12 +00:00
|
|
|
border-color: var(--token-color-palette-neutral-300);
|
2021-11-23 18:32:11 +00:00
|
|
|
height: 80px;
|
|
|
|
}
|
2022-03-15 12:54:14 +00:00
|
|
|
|
2021-12-06 10:33:44 +00:00
|
|
|
[id^='docfy-demo-preview-icons'] figure::before {
|
2021-11-23 18:32:11 +00:00
|
|
|
position: relative;
|
|
|
|
top: 20px;
|
|
|
|
}
|
2021-12-06 10:33:44 +00:00
|
|
|
[id^='docfy-demo-preview-color'] figure {
|
2021-11-23 18:32:11 +00:00
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
#docfy-demo-preview-color0 {
|
UI: Update Consul UI colors to use HDS colors (#16111)
* update red color variables to hds
* change background red to be one step lighter
* map oranges
* map greens
* map blues
* map greys
* delete themes, colours: lemon, magenta, strawberry, and vault color aliases
* add unmapped rainbow colours
* replace white and transparent vars, remove unused semantic vars and frame placeholders
* small tweaks to improve contrast, change node health status x/check colours for non-voters to match design doc, replace semantic colour action w hds colour
* add unmapped grays, remove dark theme, manually set nav bar to use dark colours
* map consul pink colour
* map yellows
* add unmapped oranges, delete light theme
* remove readme, base variables, clean up dangling colours
* Start working on the nav disclosure menus
* Update main-nav-horizontal dropdowns
* Format template
* Update box-shadow tokens
* Replace --tone- usage with tokens
* Update nav disabled state and panel border colour
* Replace rgb usage on tile
* Fix permissions modal overlay
* More fixes
* Replace orange-500 with amber-200
* Update badge colors
* Update vertical sidebar colors
* Remove top border on consul peer list ul
---------
Co-authored-by: wenincode <tyler.wendlandt@hashicorp.com>
2023-02-27 16:30:12 +00:00
|
|
|
background-color: var(--token-color-surface-primary);
|
2021-11-23 18:32:11 +00:00
|
|
|
}
|
|
|
|
#docfy-demo-preview-color1 {
|
UI: Update Consul UI colors to use HDS colors (#16111)
* update red color variables to hds
* change background red to be one step lighter
* map oranges
* map greens
* map blues
* map greys
* delete themes, colours: lemon, magenta, strawberry, and vault color aliases
* add unmapped rainbow colours
* replace white and transparent vars, remove unused semantic vars and frame placeholders
* small tweaks to improve contrast, change node health status x/check colours for non-voters to match design doc, replace semantic colour action w hds colour
* add unmapped grays, remove dark theme, manually set nav bar to use dark colours
* map consul pink colour
* map yellows
* add unmapped oranges, delete light theme
* remove readme, base variables, clean up dangling colours
* Start working on the nav disclosure menus
* Update main-nav-horizontal dropdowns
* Format template
* Update box-shadow tokens
* Replace --tone- usage with tokens
* Update nav disabled state and panel border colour
* Replace rgb usage on tile
* Fix permissions modal overlay
* More fixes
* Replace orange-500 with amber-200
* Update badge colors
* Update vertical sidebar colors
* Remove top border on consul peer list ul
---------
Co-authored-by: wenincode <tyler.wendlandt@hashicorp.com>
2023-02-27 16:30:12 +00:00
|
|
|
background-color: var(--token-color-hashicorp-brand);
|
2021-11-23 18:32:11 +00:00
|
|
|
}
|
|
|
|
|
2021-12-06 10:33:44 +00:00
|
|
|
[id^='docfy-demo-preview-typography'] {
|
2023-03-15 02:49:14 +00:00
|
|
|
.debug-h000,
|
2021-11-23 18:32:11 +00:00
|
|
|
.debug-h100 {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %display-500-bold;
|
2021-11-23 18:32:11 +00:00
|
|
|
}
|
|
|
|
.debug-h200 {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %display-400-semibold;
|
2021-11-23 18:32:11 +00:00
|
|
|
}
|
|
|
|
.debug-h300 {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %display-300-semibold;
|
2021-11-23 18:32:11 +00:00
|
|
|
}
|
|
|
|
.debug-h400 {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %display-100-semibold;
|
2021-11-23 18:32:11 +00:00
|
|
|
}
|
|
|
|
.debug-h500 {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %display-100-medium;
|
2021-11-23 18:32:11 +00:00
|
|
|
}
|
|
|
|
.debug-h600 {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %display-100-medium;
|
2021-11-23 18:32:11 +00:00
|
|
|
}
|
|
|
|
.debug-p {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %body-200-regular;
|
2021-11-23 18:32:11 +00:00
|
|
|
}
|
|
|
|
.debug-p1 {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %body-200-regular;
|
2021-11-23 18:32:11 +00:00
|
|
|
}
|
|
|
|
.debug-p2 {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %body-100-regular;
|
2021-11-23 18:32:11 +00:00
|
|
|
}
|
|
|
|
.debug-p3 {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %body-100-regular;
|
2021-11-23 18:32:11 +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;
|
|
|
|
}
|
ui: Adds initial CRUD for partitions (#11188)
* Add `is` and `test` helpers in a similar vein to `can`
Adds 2 new helpers in a similar vein to ember-cans can:
- `is` allows you to use vocab/phrases such as (is "something model") which calls isSomething() on the models ability.
- `test` allows you to use vocab/phrases such as (test "is something model") or (test "can something model")which calls isSomething() / canSomething() on the models ability. Mostly using the is helper and the can helper. It's basically the is/can helper combined.
* Adds TextInput component + related modifiers/helpers/machines/services (#11189)
Adds a few new components/modifiers/helpers to aid building forms.
- state-chart helper, used in lieu of a more generic approach for requiring our statecharts.
- A few modifications to our existing disabled modifier.
- A new 'validation' modifier, a super small form validation approach built to make use of state charts (optionally). Eventually we should be able to replace our current validation approach (ember-changeset-validations + extra deps) with this.
- A new TextInput component, which is the first of our new components specifically to make it easy to build forms with validations. This is still a WIP, I left some comments in pointing out where this one would be progressed, but as we don't need the planned functionality yet, I left it where it was. All of this will be fleshed out more at a later date.
Documentation is included for all of ^
* ui: Adds initial CRUD for partitions (#11190)
Adds basic CRUD support for partitions. Engineering-wise probably the biggest takeaway here is that we needed to write very little javascript code to add this entire feature, and the little javascript we did need to write was very straightforwards. Everything is pretty much just HTML. Another note to make is that both ember-changeset and ember-data (model layer things) are now completely abstracted away from the view layer of the application.
New components:
- Consul::Partition::Form
- Consul::Partition::List
- Consul::Partition::Notifications
- Consul::Partition::SearchBar
- Consul::Partition::Selector
See additional documentation here for more details
New Route templates:
- index.hbs partition listing/searching/filtering
- edit.hbs partition editing and creation
Additionally:
There is some additional debug work here for better observability and to prevent any errors regarding our href-to usage when a dc is not available in our documentation site.
Our softDelete functionality has been DRYed out a little to be used across two repos.
isLinkable was removed from our ListCollection component for lists like upstream and service listing, and instead use our new is helper from within the ListCollection, meaning we've added a few more lighterweight templateOnly components.
* ui: Exclude all debug-like files from the build (#11211)
This PR adds **/*-debug.* to our test/prod excluded files (realised I needed to add test-support.js also so added that here as its more or less the same thing). Conditionally juggling ES6 static imports (specifically debug ones) for this was also getting a little hairy, so I moved it all to use the same approach as our conditional routes. All in all it brings the vendor build back down to ~430kb gzipped.
2021-10-08 15:29:30 +00:00
|
|
|
html.is-debug [class*='partition-'] {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
html:not(.with-data-source) .data-source-debug {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-09-15 18:50:11 +00:00
|
|
|
html:not(.with-data-source) .data-source-debug {
|
|
|
|
display: none;
|
|
|
|
}
|
ui: Adds initial CRUD for partitions (#11188)
* Add `is` and `test` helpers in a similar vein to `can`
Adds 2 new helpers in a similar vein to ember-cans can:
- `is` allows you to use vocab/phrases such as (is "something model") which calls isSomething() on the models ability.
- `test` allows you to use vocab/phrases such as (test "is something model") or (test "can something model")which calls isSomething() / canSomething() on the models ability. Mostly using the is helper and the can helper. It's basically the is/can helper combined.
* Adds TextInput component + related modifiers/helpers/machines/services (#11189)
Adds a few new components/modifiers/helpers to aid building forms.
- state-chart helper, used in lieu of a more generic approach for requiring our statecharts.
- A few modifications to our existing disabled modifier.
- A new 'validation' modifier, a super small form validation approach built to make use of state charts (optionally). Eventually we should be able to replace our current validation approach (ember-changeset-validations + extra deps) with this.
- A new TextInput component, which is the first of our new components specifically to make it easy to build forms with validations. This is still a WIP, I left some comments in pointing out where this one would be progressed, but as we don't need the planned functionality yet, I left it where it was. All of this will be fleshed out more at a later date.
Documentation is included for all of ^
* ui: Adds initial CRUD for partitions (#11190)
Adds basic CRUD support for partitions. Engineering-wise probably the biggest takeaway here is that we needed to write very little javascript code to add this entire feature, and the little javascript we did need to write was very straightforwards. Everything is pretty much just HTML. Another note to make is that both ember-changeset and ember-data (model layer things) are now completely abstracted away from the view layer of the application.
New components:
- Consul::Partition::Form
- Consul::Partition::List
- Consul::Partition::Notifications
- Consul::Partition::SearchBar
- Consul::Partition::Selector
See additional documentation here for more details
New Route templates:
- index.hbs partition listing/searching/filtering
- edit.hbs partition editing and creation
Additionally:
There is some additional debug work here for better observability and to prevent any errors regarding our href-to usage when a dc is not available in our documentation site.
Our softDelete functionality has been DRYed out a little to be used across two repos.
isLinkable was removed from our ListCollection component for lists like upstream and service listing, and instead use our new is helper from within the ListCollection, meaning we've added a few more lighterweight templateOnly components.
* ui: Exclude all debug-like files from the build (#11211)
This PR adds **/*-debug.* to our test/prod excluded files (realised I needed to add test-support.js also so added that here as its more or less the same thing). Conditionally juggling ES6 static imports (specifically debug ones) for this was also getting a little hairy, so I moved it all to use the same approach as our conditional routes. All in all it brings the vendor build back down to ~430kb gzipped.
2021-10-08 15:29:30 +00:00
|
|
|
%debug-box {
|
|
|
|
color: red;
|
|
|
|
background-color: rgb(255 255 255 / 70%);
|
|
|
|
position: absolute;
|
|
|
|
/* hi */
|
|
|
|
z-index: 100000;
|
|
|
|
}
|
2022-10-12 10:23:15 +00:00
|
|
|
html.with-href-to [href^='console://']::before
|
|
|
|
{
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %body-100-regular;
|
ui: Adds initial CRUD for partitions (#11188)
* Add `is` and `test` helpers in a similar vein to `can`
Adds 2 new helpers in a similar vein to ember-cans can:
- `is` allows you to use vocab/phrases such as (is "something model") which calls isSomething() on the models ability.
- `test` allows you to use vocab/phrases such as (test "is something model") or (test "can something model")which calls isSomething() / canSomething() on the models ability. Mostly using the is helper and the can helper. It's basically the is/can helper combined.
* Adds TextInput component + related modifiers/helpers/machines/services (#11189)
Adds a few new components/modifiers/helpers to aid building forms.
- state-chart helper, used in lieu of a more generic approach for requiring our statecharts.
- A few modifications to our existing disabled modifier.
- A new 'validation' modifier, a super small form validation approach built to make use of state charts (optionally). Eventually we should be able to replace our current validation approach (ember-changeset-validations + extra deps) with this.
- A new TextInput component, which is the first of our new components specifically to make it easy to build forms with validations. This is still a WIP, I left some comments in pointing out where this one would be progressed, but as we don't need the planned functionality yet, I left it where it was. All of this will be fleshed out more at a later date.
Documentation is included for all of ^
* ui: Adds initial CRUD for partitions (#11190)
Adds basic CRUD support for partitions. Engineering-wise probably the biggest takeaway here is that we needed to write very little javascript code to add this entire feature, and the little javascript we did need to write was very straightforwards. Everything is pretty much just HTML. Another note to make is that both ember-changeset and ember-data (model layer things) are now completely abstracted away from the view layer of the application.
New components:
- Consul::Partition::Form
- Consul::Partition::List
- Consul::Partition::Notifications
- Consul::Partition::SearchBar
- Consul::Partition::Selector
See additional documentation here for more details
New Route templates:
- index.hbs partition listing/searching/filtering
- edit.hbs partition editing and creation
Additionally:
There is some additional debug work here for better observability and to prevent any errors regarding our href-to usage when a dc is not available in our documentation site.
Our softDelete functionality has been DRYed out a little to be used across two repos.
isLinkable was removed from our ListCollection component for lists like upstream and service listing, and instead use our new is helper from within the ListCollection, meaning we've added a few more lighterweight templateOnly components.
* ui: Exclude all debug-like files from the build (#11211)
This PR adds **/*-debug.* to our test/prod excluded files (realised I needed to add test-support.js also so added that here as its more or less the same thing). Conditionally juggling ES6 static imports (specifically debug ones) for this was also getting a little hairy, so I moved it all to use the same approach as our conditional routes. All in all it brings the vendor build back down to ~430kb gzipped.
2021-10-08 15:29:30 +00:00
|
|
|
@extend %debug-box;
|
|
|
|
content: attr(href);
|
|
|
|
display: inline;
|
|
|
|
}
|
2021-09-15 18:50:11 +00:00
|
|
|
html.with-route-announcer .route-title {
|
|
|
|
@extend %unvisually-hidden;
|
|
|
|
}
|
|
|
|
.data-source-debug {
|
ui: Adds initial CRUD for partitions (#11188)
* Add `is` and `test` helpers in a similar vein to `can`
Adds 2 new helpers in a similar vein to ember-cans can:
- `is` allows you to use vocab/phrases such as (is "something model") which calls isSomething() on the models ability.
- `test` allows you to use vocab/phrases such as (test "is something model") or (test "can something model")which calls isSomething() / canSomething() on the models ability. Mostly using the is helper and the can helper. It's basically the is/can helper combined.
* Adds TextInput component + related modifiers/helpers/machines/services (#11189)
Adds a few new components/modifiers/helpers to aid building forms.
- state-chart helper, used in lieu of a more generic approach for requiring our statecharts.
- A few modifications to our existing disabled modifier.
- A new 'validation' modifier, a super small form validation approach built to make use of state charts (optionally). Eventually we should be able to replace our current validation approach (ember-changeset-validations + extra deps) with this.
- A new TextInput component, which is the first of our new components specifically to make it easy to build forms with validations. This is still a WIP, I left some comments in pointing out where this one would be progressed, but as we don't need the planned functionality yet, I left it where it was. All of this will be fleshed out more at a later date.
Documentation is included for all of ^
* ui: Adds initial CRUD for partitions (#11190)
Adds basic CRUD support for partitions. Engineering-wise probably the biggest takeaway here is that we needed to write very little javascript code to add this entire feature, and the little javascript we did need to write was very straightforwards. Everything is pretty much just HTML. Another note to make is that both ember-changeset and ember-data (model layer things) are now completely abstracted away from the view layer of the application.
New components:
- Consul::Partition::Form
- Consul::Partition::List
- Consul::Partition::Notifications
- Consul::Partition::SearchBar
- Consul::Partition::Selector
See additional documentation here for more details
New Route templates:
- index.hbs partition listing/searching/filtering
- edit.hbs partition editing and creation
Additionally:
There is some additional debug work here for better observability and to prevent any errors regarding our href-to usage when a dc is not available in our documentation site.
Our softDelete functionality has been DRYed out a little to be used across two repos.
isLinkable was removed from our ListCollection component for lists like upstream and service listing, and instead use our new is helper from within the ListCollection, meaning we've added a few more lighterweight templateOnly components.
* ui: Exclude all debug-like files from the build (#11211)
This PR adds **/*-debug.* to our test/prod excluded files (realised I needed to add test-support.js also so added that here as its more or less the same thing). Conditionally juggling ES6 static imports (specifically debug ones) for this was also getting a little hairy, so I moved it all to use the same approach as our conditional routes. All in all it brings the vendor build back down to ~430kb gzipped.
2021-10-08 15:29:30 +00:00
|
|
|
@extend %debug-box;
|
2021-09-15 18:50:11 +00:00
|
|
|
}
|
|
|
|
.data-source-debug input:checked + pre code::after {
|
|
|
|
content: attr(data-json);
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.data-source-debug input {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-03-08 12:22:01 +00:00
|
|
|
.docs {
|
2021-11-23 18:32:11 +00:00
|
|
|
& {
|
UI: Update Consul UI colors to use HDS colors (#16111)
* update red color variables to hds
* change background red to be one step lighter
* map oranges
* map greens
* map blues
* map greys
* delete themes, colours: lemon, magenta, strawberry, and vault color aliases
* add unmapped rainbow colours
* replace white and transparent vars, remove unused semantic vars and frame placeholders
* small tweaks to improve contrast, change node health status x/check colours for non-voters to match design doc, replace semantic colour action w hds colour
* add unmapped grays, remove dark theme, manually set nav bar to use dark colours
* map consul pink colour
* map yellows
* add unmapped oranges, delete light theme
* remove readme, base variables, clean up dangling colours
* Start working on the nav disclosure menus
* Update main-nav-horizontal dropdowns
* Format template
* Update box-shadow tokens
* Replace --tone- usage with tokens
* Update nav disabled state and panel border colour
* Replace rgb usage on tile
* Fix permissions modal overlay
* More fixes
* Replace orange-500 with amber-200
* Update badge colors
* Update vertical sidebar colors
* Remove top border on consul peer list ul
---------
Co-authored-by: wenincode <tyler.wendlandt@hashicorp.com>
2023-02-27 16:30:12 +00:00
|
|
|
background-color: var(--token-color-surface-primary);
|
2021-11-23 18:32:11 +00:00
|
|
|
}
|
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;
|
|
|
|
}
|
2022-10-12 10:23:15 +00:00
|
|
|
li.provider-components a::before,
|
2021-03-17 15:58:17 +00:00
|
|
|
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
|
|
|
}
|
2022-10-12 10:23:15 +00:00
|
|
|
li.provider-components.ember-component a::before,
|
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
|
|
|
& {
|
|
|
|
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,
|
2021-06-25 09:41:41 +00:00
|
|
|
> h3,
|
|
|
|
> h4 {
|
2021-05-24 11:32:23 +00:00
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
> h1 {
|
|
|
|
padding-top: 20px;
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %display-500-bold;
|
2021-05-24 11:32:23 +00:00
|
|
|
}
|
|
|
|
> h2 {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %display-400-semibold;
|
2021-05-24 11:32:23 +00:00
|
|
|
}
|
|
|
|
> h3 {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %display-300-semibold;
|
2021-05-24 11:32:23 +00:00
|
|
|
}
|
2021-06-25 09:41:41 +00:00
|
|
|
> h4 {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %display-100-semibold;
|
2021-06-25 09:41:41 +00:00
|
|
|
}
|
2021-05-24 11:32:23 +00:00
|
|
|
> p {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %body-200-regular;
|
2021-05-24 11:32:23 +00:00
|
|
|
}
|
|
|
|
> table {
|
|
|
|
margin-bottom: 3em;
|
|
|
|
}
|
|
|
|
> table td {
|
2023-03-15 02:49:14 +00:00
|
|
|
font-weight: var(--token-typography-font-weight-regular) !important;
|
2021-05-24 11:32:23 +00:00
|
|
|
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;
|
UI: Update Consul UI colors to use HDS colors (#16111)
* update red color variables to hds
* change background red to be one step lighter
* map oranges
* map greens
* map blues
* map greys
* delete themes, colours: lemon, magenta, strawberry, and vault color aliases
* add unmapped rainbow colours
* replace white and transparent vars, remove unused semantic vars and frame placeholders
* small tweaks to improve contrast, change node health status x/check colours for non-voters to match design doc, replace semantic colour action w hds colour
* add unmapped grays, remove dark theme, manually set nav bar to use dark colours
* map consul pink colour
* map yellows
* add unmapped oranges, delete light theme
* remove readme, base variables, clean up dangling colours
* Start working on the nav disclosure menus
* Update main-nav-horizontal dropdowns
* Format template
* Update box-shadow tokens
* Replace --tone- usage with tokens
* Update nav disabled state and panel border colour
* Replace rgb usage on tile
* Fix permissions modal overlay
* More fixes
* Replace orange-500 with amber-200
* Update badge colors
* Update vertical sidebar colors
* Remove top border on consul peer list ul
---------
Co-authored-by: wenincode <tyler.wendlandt@hashicorp.com>
2023-02-27 16:30:12 +00:00
|
|
|
border-color: var(--token-color-surface-interactive-active);
|
2021-03-17 15:58:17 +00:00
|
|
|
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;
|
UI: Update Consul UI colors to use HDS colors (#16111)
* update red color variables to hds
* change background red to be one step lighter
* map oranges
* map greens
* map blues
* map greys
* delete themes, colours: lemon, magenta, strawberry, and vault color aliases
* add unmapped rainbow colours
* replace white and transparent vars, remove unused semantic vars and frame placeholders
* small tweaks to improve contrast, change node health status x/check colours for non-voters to match design doc, replace semantic colour action w hds colour
* add unmapped grays, remove dark theme, manually set nav bar to use dark colours
* map consul pink colour
* map yellows
* add unmapped oranges, delete light theme
* remove readme, base variables, clean up dangling colours
* Start working on the nav disclosure menus
* Update main-nav-horizontal dropdowns
* Format template
* Update box-shadow tokens
* Replace --tone- usage with tokens
* Update nav disabled state and panel border colour
* Replace rgb usage on tile
* Fix permissions modal overlay
* More fixes
* Replace orange-500 with amber-200
* Update badge colors
* Update vertical sidebar colors
* Remove top border on consul peer list ul
---------
Co-authored-by: wenincode <tyler.wendlandt@hashicorp.com>
2023-02-27 16:30:12 +00:00
|
|
|
color: var(--token-color-foreground-disabled);
|
2021-05-04 16:25:57 +00:00
|
|
|
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'] {
|
UI: Update Consul UI colors to use HDS colors (#16111)
* update red color variables to hds
* change background red to be one step lighter
* map oranges
* map greens
* map blues
* map greys
* delete themes, colours: lemon, magenta, strawberry, and vault color aliases
* add unmapped rainbow colours
* replace white and transparent vars, remove unused semantic vars and frame placeholders
* small tweaks to improve contrast, change node health status x/check colours for non-voters to match design doc, replace semantic colour action w hds colour
* add unmapped grays, remove dark theme, manually set nav bar to use dark colours
* map consul pink colour
* map yellows
* add unmapped oranges, delete light theme
* remove readme, base variables, clean up dangling colours
* Start working on the nav disclosure menus
* Update main-nav-horizontal dropdowns
* Format template
* Update box-shadow tokens
* Replace --tone- usage with tokens
* Update nav disabled state and panel border colour
* Replace rgb usage on tile
* Fix permissions modal overlay
* More fixes
* Replace orange-500 with amber-200
* Update badge colors
* Update vertical sidebar colors
* Remove top border on consul peer list ul
---------
Co-authored-by: wenincode <tyler.wendlandt@hashicorp.com>
2023-02-27 16:30:12 +00:00
|
|
|
border: 1px solid var(--token-color-hashicorp-brand);
|
2021-05-04 16:25:57 +00:00
|
|
|
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 {
|
UI: Update Consul UI colors to use HDS colors (#16111)
* update red color variables to hds
* change background red to be one step lighter
* map oranges
* map greens
* map blues
* map greys
* delete themes, colours: lemon, magenta, strawberry, and vault color aliases
* add unmapped rainbow colours
* replace white and transparent vars, remove unused semantic vars and frame placeholders
* small tweaks to improve contrast, change node health status x/check colours for non-voters to match design doc, replace semantic colour action w hds colour
* add unmapped grays, remove dark theme, manually set nav bar to use dark colours
* map consul pink colour
* map yellows
* add unmapped oranges, delete light theme
* remove readme, base variables, clean up dangling colours
* Start working on the nav disclosure menus
* Update main-nav-horizontal dropdowns
* Format template
* Update box-shadow tokens
* Replace --tone- usage with tokens
* Update nav disabled state and panel border colour
* Replace rgb usage on tile
* Fix permissions modal overlay
* More fixes
* Replace orange-500 with amber-200
* Update badge colors
* Update vertical sidebar colors
* Remove top border on consul peer list ul
---------
Co-authored-by: wenincode <tyler.wendlandt@hashicorp.com>
2023-02-27 16:30:12 +00:00
|
|
|
border: 1px solid var(--token-color-hashicorp-brand);
|
2021-05-13 10:36:51 +00:00
|
|
|
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
|
|
|
}
|
|
|
|
}
|