diff --git a/ui/packages/consul-ui/app/components/anchors/index.scss b/ui/packages/consul-ui/app/components/anchors/index.scss
index 262abb966..253a1b89a 100644
--- a/ui/packages/consul-ui/app/components/anchors/index.scss
+++ b/ui/packages/consul-ui/app/components/anchors/index.scss
@@ -1,32 +1,28 @@
-%anchor-decoration,
-%anchor-decoration-active {
- text-decoration: none;
+@import './skin';
+a[rel*='external']::after {
+ @extend %with-exit-icon, %as-pseudo;
+ margin-left: 8px;
}
-%anchor-decoration-intent {
- text-decoration: underline;
+%main-content label a[rel*='help'] {
+ color: $gray-400;
}
-%anchor,
-%anchor-intent,
-%anchor-active {
- color: $color-action;
+%main-content a[rel*='help']::after {
+ @extend %with-info-circle-outline-icon, %as-pseudo;
+ opacity: 0.4;
}
-%anchor-decoration:hover,
-%anchor-decoration:focus {
- @extend %anchor-decoration-intent;
+%main-content h2 a {
+ color: $gray-900;
}
-%anchor-decoration:active {
- @extend %anchor-decoration-active;
+%main-content h2 a[rel*='help']::after {
+ font-size: 0.65em;
+ margin-top: 0.2em;
+ margin-left: 0.2em;
}
-%anchor {
- @extend %anchor-decoration;
- cursor: pointer;
- background-color: $transparent;
+
+.tab-section > p:only-child [rel*='help']::after {
+ content: none;
}
-%anchor:hover,
-%anchor:focus {
- @extend %anchor-intent;
-}
-%anchor:active {
- @extend %anchor-active;
- outline: 0;
+%main-content p a,
+%main-content dd a {
+ @extend %anchor;
}
diff --git a/ui/packages/consul-ui/app/components/anchors/skin.scss b/ui/packages/consul-ui/app/components/anchors/skin.scss
new file mode 100644
index 000000000..262abb966
--- /dev/null
+++ b/ui/packages/consul-ui/app/components/anchors/skin.scss
@@ -0,0 +1,32 @@
+%anchor-decoration,
+%anchor-decoration-active {
+ text-decoration: none;
+}
+%anchor-decoration-intent {
+ text-decoration: underline;
+}
+%anchor,
+%anchor-intent,
+%anchor-active {
+ color: $color-action;
+}
+%anchor-decoration:hover,
+%anchor-decoration:focus {
+ @extend %anchor-decoration-intent;
+}
+%anchor-decoration:active {
+ @extend %anchor-decoration-active;
+}
+%anchor {
+ @extend %anchor-decoration;
+ cursor: pointer;
+ background-color: $transparent;
+}
+%anchor:hover,
+%anchor:focus {
+ @extend %anchor-intent;
+}
+%anchor:active {
+ @extend %anchor-active;
+ outline: 0;
+}
diff --git a/ui/packages/consul-ui/app/styles/components/code-editor/index.scss b/ui/packages/consul-ui/app/components/auth-form/index.scss
similarity index 50%
rename from ui/packages/consul-ui/app/styles/components/code-editor/index.scss
rename to ui/packages/consul-ui/app/components/auth-form/index.scss
index bc1825219..ef92171c6 100644
--- a/ui/packages/consul-ui/app/styles/components/code-editor/index.scss
+++ b/ui/packages/consul-ui/app/components/auth-form/index.scss
@@ -1,2 +1,5 @@
@import './skin';
@import './layout';
+.auth-form {
+ @extend %auth-form;
+}
diff --git a/ui/packages/consul-ui/app/styles/components/auth-form/layout.scss b/ui/packages/consul-ui/app/components/auth-form/layout.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/auth-form/layout.scss
rename to ui/packages/consul-ui/app/components/auth-form/layout.scss
diff --git a/ui/packages/consul-ui/app/styles/components/auth-form/skin.scss b/ui/packages/consul-ui/app/components/auth-form/skin.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/auth-form/skin.scss
rename to ui/packages/consul-ui/app/components/auth-form/skin.scss
diff --git a/ui/packages/consul-ui/app/styles/components/auth-modal/index.scss b/ui/packages/consul-ui/app/components/auth-modal/index.scss
similarity index 81%
rename from ui/packages/consul-ui/app/styles/components/auth-modal/index.scss
rename to ui/packages/consul-ui/app/components/auth-modal/index.scss
index 7c75b3f50..69fa37bbe 100644
--- a/ui/packages/consul-ui/app/styles/components/auth-modal/index.scss
+++ b/ui/packages/consul-ui/app/components/auth-modal/index.scss
@@ -5,3 +5,6 @@
%auth-modal footer button {
@extend %anchor;
}
+#login-toggle + div {
+ @extend %auth-modal;
+}
diff --git a/ui/packages/consul-ui/app/styles/components/auth-modal/layout.scss b/ui/packages/consul-ui/app/components/auth-modal/layout.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/auth-modal/layout.scss
rename to ui/packages/consul-ui/app/components/auth-modal/layout.scss
diff --git a/ui/packages/consul-ui/app/styles/components/auth-modal/skin.scss b/ui/packages/consul-ui/app/components/auth-modal/skin.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/auth-modal/skin.scss
rename to ui/packages/consul-ui/app/components/auth-modal/skin.scss
diff --git a/ui/packages/consul-ui/app/components/breadcrumbs/index.scss b/ui/packages/consul-ui/app/components/breadcrumbs/index.scss
index 014f32d18..74e8b0d38 100644
--- a/ui/packages/consul-ui/app/components/breadcrumbs/index.scss
+++ b/ui/packages/consul-ui/app/components/breadcrumbs/index.scss
@@ -1,5 +1,12 @@
@import './skin';
@import './layout';
+main header nav:first-child {
+ position: absolute;
+ top: 12px;
+}
+main header nav:first-child ol {
+ @extend %breadcrumbs;
+}
%breadcrumbs li a {
@extend %crumbs;
}
diff --git a/ui/packages/consul-ui/app/components/buttons/index.scss b/ui/packages/consul-ui/app/components/buttons/index.scss
index bc1825219..9bf7723bd 100644
--- a/ui/packages/consul-ui/app/components/buttons/index.scss
+++ b/ui/packages/consul-ui/app/components/buttons/index.scss
@@ -1,2 +1,21 @@
@import './skin';
@import './layout';
+button[type='submit'],
+button.type-submit,
+a.type-create {
+ @extend %primary-button;
+}
+// TODO: Once we move action-groups to use aria menu we can get rid of
+// some of this and just use not(aria-haspopup)
+button[type='reset'],
+header .actions button[type='button']:not(.copy-btn),
+button.type-cancel {
+ @extend %secondary-button;
+}
+.with-confirmation .type-delete,
+%app-view-content form button[type='button'].type-delete {
+ @extend %dangerous-button;
+}
+button.copy-btn {
+ @extend %copy-button;
+}
diff --git a/ui/packages/consul-ui/app/styles/components/auth-form/index.scss b/ui/packages/consul-ui/app/components/card/index.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/auth-form/index.scss
rename to ui/packages/consul-ui/app/components/card/index.scss
diff --git a/ui/packages/consul-ui/app/styles/components/card/layout.scss b/ui/packages/consul-ui/app/components/card/layout.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/card/layout.scss
rename to ui/packages/consul-ui/app/components/card/layout.scss
diff --git a/ui/packages/consul-ui/app/styles/components/card/skin.scss b/ui/packages/consul-ui/app/components/card/skin.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/card/skin.scss
rename to ui/packages/consul-ui/app/components/card/skin.scss
diff --git a/ui/packages/consul-ui/app/components/code-editor/README.mdx b/ui/packages/consul-ui/app/components/code-editor/README.mdx
new file mode 100644
index 000000000..665b77bf7
--- /dev/null
+++ b/ui/packages/consul-ui/app/components/code-editor/README.mdx
@@ -0,0 +1,11 @@
+---
+class: ember
+state: needs-love
+---
+
+# CodeEditor
+
+```hbs preview-template
+
+
+```
diff --git a/ui/packages/consul-ui/app/styles/components/code-editor.scss b/ui/packages/consul-ui/app/components/code-editor/index.scss
similarity index 71%
rename from ui/packages/consul-ui/app/styles/components/code-editor.scss
rename to ui/packages/consul-ui/app/components/code-editor/index.scss
index 3ad7d8fdc..913e2f690 100644
--- a/ui/packages/consul-ui/app/styles/components/code-editor.scss
+++ b/ui/packages/consul-ui/app/components/code-editor/index.scss
@@ -1,4 +1,5 @@
-@import './code-editor/index';
+@import './skin';
+@import './layout';
// yet to pull the CodeMirror skin into the placeholder
.code-editor {
@extend %code-editor;
diff --git a/ui/packages/consul-ui/app/styles/components/code-editor/layout.scss b/ui/packages/consul-ui/app/components/code-editor/layout.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/code-editor/layout.scss
rename to ui/packages/consul-ui/app/components/code-editor/layout.scss
diff --git a/ui/packages/consul-ui/app/styles/components/code-editor/skin.scss b/ui/packages/consul-ui/app/components/code-editor/skin.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/code-editor/skin.scss
rename to ui/packages/consul-ui/app/components/code-editor/skin.scss
diff --git a/ui/packages/consul-ui/app/styles/components/composite-row.scss b/ui/packages/consul-ui/app/components/composite-row/index.scss
similarity index 85%
rename from ui/packages/consul-ui/app/styles/components/composite-row.scss
rename to ui/packages/consul-ui/app/components/composite-row/index.scss
index cb0d76559..4ab199e41 100644
--- a/ui/packages/consul-ui/app/styles/components/composite-row.scss
+++ b/ui/packages/consul-ui/app/components/composite-row/index.scss
@@ -1,4 +1,24 @@
-@import './composite-row/index';
+@import './layout';
+@import './skin';
+%composite-row {
+ @extend %list-row;
+}
+%composite-row > .header {
+ @extend %composite-row-header, %list-row-header;
+}
+%composite-row > .detail {
+ @extend %composite-row-detail, %list-row-detail;
+}
+%composite-row > .actions {
+ @extend %composite-row-actions;
+}
+%with-composite-row-intent:hover,
+%with-composite-row-intent:focus,
+%with-composite-row-intent:active {
+ @extend %list-row-intent;
+}
+
+/* project level */
.list-collection > ul > li:not(:first-child) {
@extend %composite-row;
diff --git a/ui/packages/consul-ui/app/styles/components/composite-row/layout.scss b/ui/packages/consul-ui/app/components/composite-row/layout.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/composite-row/layout.scss
rename to ui/packages/consul-ui/app/components/composite-row/layout.scss
diff --git a/ui/packages/consul-ui/app/styles/components/composite-row/skin.scss b/ui/packages/consul-ui/app/components/composite-row/skin.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/composite-row/skin.scss
rename to ui/packages/consul-ui/app/components/composite-row/skin.scss
diff --git a/ui/packages/consul-ui/app/styles/components/confirmation-dialog.scss b/ui/packages/consul-ui/app/components/confirmation-dialog/index.scss
similarity index 90%
rename from ui/packages/consul-ui/app/styles/components/confirmation-dialog.scss
rename to ui/packages/consul-ui/app/components/confirmation-dialog/index.scss
index 1a039f8bb..9bed4a965 100644
--- a/ui/packages/consul-ui/app/styles/components/confirmation-dialog.scss
+++ b/ui/packages/consul-ui/app/components/confirmation-dialog/index.scss
@@ -1,4 +1,5 @@
-@import './confirmation-dialog/index';
+@import './skin';
+@import './layout';
div.with-confirmation {
@extend %confirmation-dialog, %confirmation-dialog-inline;
}
diff --git a/ui/packages/consul-ui/app/styles/components/confirmation-dialog/layout.scss b/ui/packages/consul-ui/app/components/confirmation-dialog/layout.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/confirmation-dialog/layout.scss
rename to ui/packages/consul-ui/app/components/confirmation-dialog/layout.scss
diff --git a/ui/packages/consul-ui/app/styles/components/confirmation-dialog/skin.scss b/ui/packages/consul-ui/app/components/confirmation-dialog/skin.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/confirmation-dialog/skin.scss
rename to ui/packages/consul-ui/app/components/confirmation-dialog/skin.scss
diff --git a/ui/packages/consul-ui/app/styles/components/definition-table.scss b/ui/packages/consul-ui/app/components/definition-table/index.scss
similarity index 57%
rename from ui/packages/consul-ui/app/styles/components/definition-table.scss
rename to ui/packages/consul-ui/app/components/definition-table/index.scss
index 44c69bb3e..e03c5d530 100644
--- a/ui/packages/consul-ui/app/styles/components/definition-table.scss
+++ b/ui/packages/consul-ui/app/components/definition-table/index.scss
@@ -1,4 +1,5 @@
-@import './definition-table/index';
+@import './skin';
+@import './layout';
.definition-table {
@extend %definition-table;
}
diff --git a/ui/packages/consul-ui/app/styles/components/definition-table/layout.scss b/ui/packages/consul-ui/app/components/definition-table/layout.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/definition-table/layout.scss
rename to ui/packages/consul-ui/app/components/definition-table/layout.scss
diff --git a/ui/packages/consul-ui/app/styles/components/definition-table/skin.scss b/ui/packages/consul-ui/app/components/definition-table/skin.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/definition-table/skin.scss
rename to ui/packages/consul-ui/app/components/definition-table/skin.scss
diff --git a/ui/packages/consul-ui/app/styles/components/dom-recycling-table/index.scss b/ui/packages/consul-ui/app/components/dom-recycling-table/index.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/dom-recycling-table/index.scss
rename to ui/packages/consul-ui/app/components/dom-recycling-table/index.scss
diff --git a/ui/packages/consul-ui/app/styles/components/dom-recycling-table/layout.scss b/ui/packages/consul-ui/app/components/dom-recycling-table/layout.scss
similarity index 86%
rename from ui/packages/consul-ui/app/styles/components/dom-recycling-table/layout.scss
rename to ui/packages/consul-ui/app/components/dom-recycling-table/layout.scss
index 78186e67b..57327bfbd 100644
--- a/ui/packages/consul-ui/app/styles/components/dom-recycling-table/layout.scss
+++ b/ui/packages/consul-ui/app/components/dom-recycling-table/layout.scss
@@ -6,7 +6,7 @@
}
%dom-recycling-table tr > * {
flex: 1 0 auto;
- /* this means no simple CSS drive tooltips in dom-recycling tables */
+ /* this means no simple CSS driven tooltips in dom-recycling tables */
/* ideally the thing inside the td should be overflow hidden */
overflow: hidden;
}
diff --git a/ui/packages/consul-ui/app/components/empty-state/index.scss b/ui/packages/consul-ui/app/components/empty-state/index.scss
index 04fc9dfee..72b821403 100644
--- a/ui/packages/consul-ui/app/components/empty-state/index.scss
+++ b/ui/packages/consul-ui/app/components/empty-state/index.scss
@@ -1,5 +1,8 @@
@import './layout';
@import './skin';
+.empty-state {
+ @extend %empty-state;
+}
%empty-state header :first-child {
@extend %empty-state-header;
}
diff --git a/ui/packages/consul-ui/app/styles/components/card/index.scss b/ui/packages/consul-ui/app/components/expanded-single-select/index.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/card/index.scss
rename to ui/packages/consul-ui/app/components/expanded-single-select/index.scss
diff --git a/ui/packages/consul-ui/app/styles/components/expanded-single-select/layout.scss b/ui/packages/consul-ui/app/components/expanded-single-select/layout.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/expanded-single-select/layout.scss
rename to ui/packages/consul-ui/app/components/expanded-single-select/layout.scss
diff --git a/ui/packages/consul-ui/app/styles/components/expanded-single-select/skin.scss b/ui/packages/consul-ui/app/components/expanded-single-select/skin.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/expanded-single-select/skin.scss
rename to ui/packages/consul-ui/app/components/expanded-single-select/skin.scss
diff --git a/ui/packages/consul-ui/app/components/form-elements/index.scss b/ui/packages/consul-ui/app/components/form-elements/index.scss
index 194322de6..2a95e8b6c 100644
--- a/ui/packages/consul-ui/app/components/form-elements/index.scss
+++ b/ui/packages/consul-ui/app/components/form-elements/index.scss
@@ -32,3 +32,48 @@
%form-element-text-input:focus {
@extend %form-element-text-input-focus;
}
+
+/* project level*/
+label span {
+ @extend %user-select-none;
+}
+.has-error {
+ @extend %form-element-error;
+}
+// TODO: float right here is too specific, this is currently used just for the role/policy selectors
+label.type-dialog {
+ @extend %anchor;
+ cursor: pointer;
+ float: right;
+}
+.type-toggle {
+ @extend %form-element, %sliding-toggle;
+}
+.checkbox-group {
+ @extend %checkbox-group;
+}
+%main-content form {
+ @extend %form;
+}
+span.label {
+ @extend %form-element-label;
+}
+%form table,
+%radio-group,
+%checkbox-group,
+%main-content form dl {
+ @extend %form-row;
+}
+%radio-group label,
+%main-content .type-select,
+%main-content .type-password,
+%main-content .type-text {
+ @extend %form-element;
+}
+%app-view-content form:not(.filter-bar) [role='radiogroup'],
+%modal-window [role='radiogroup'] {
+ @extend %radio-group;
+}
+%sliding-toggle + .checkbox-group {
+ margin-top: -1em;
+}
diff --git a/ui/packages/consul-ui/app/components/inline-alert/README.mdx b/ui/packages/consul-ui/app/components/inline-alert/README.mdx
index 6b99dc0b9..a612ac497 100644
--- a/ui/packages/consul-ui/app/components/inline-alert/README.mdx
+++ b/ui/packages/consul-ui/app/components/inline-alert/README.mdx
@@ -1,11 +1,14 @@
---
class: css
+state: needs-love
---
# inline-alert
CSS component for giving inline feedback to the user, generally used for form
element feedback like errors and suchlike.
+Potentially an improvement here could be that this could make use of `%horizontal-kv-list`, and do we really need a placeholder per state, can we just use a class?
+
```hbs preview-template
-
```
@@ -43,4 +46,3 @@ strong.error {
@extend %inline-alert-error;
}
```
-
diff --git a/ui/packages/consul-ui/app/styles/components/list-row/index.scss b/ui/packages/consul-ui/app/components/list-row/index.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/list-row/index.scss
rename to ui/packages/consul-ui/app/components/list-row/index.scss
diff --git a/ui/packages/consul-ui/app/styles/components/list-row/layout.scss b/ui/packages/consul-ui/app/components/list-row/layout.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/list-row/layout.scss
rename to ui/packages/consul-ui/app/components/list-row/layout.scss
diff --git a/ui/packages/consul-ui/app/styles/components/list-row/skin.scss b/ui/packages/consul-ui/app/components/list-row/skin.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/list-row/skin.scss
rename to ui/packages/consul-ui/app/components/list-row/skin.scss
diff --git a/ui/packages/consul-ui/app/components/menu-panel/index.scss b/ui/packages/consul-ui/app/components/menu-panel/index.scss
index 59e3431df..3d1a5801b 100644
--- a/ui/packages/consul-ui/app/components/menu-panel/index.scss
+++ b/ui/packages/consul-ui/app/components/menu-panel/index.scss
@@ -1,6 +1,9 @@
@import './skin';
@import './layout';
+.menu-panel {
+ @extend %menu-panel;
+}
%menu-panel [role='separator'] {
@extend %menu-panel-separator;
}
diff --git a/ui/packages/consul-ui/app/styles/components/more-popover-menu.scss b/ui/packages/consul-ui/app/components/more-popover-menu/index.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/more-popover-menu.scss
rename to ui/packages/consul-ui/app/components/more-popover-menu/index.scss
diff --git a/ui/packages/consul-ui/app/styles/components/oidc-select/index.scss b/ui/packages/consul-ui/app/components/oidc-select/index.scss
similarity index 77%
rename from ui/packages/consul-ui/app/styles/components/oidc-select/index.scss
rename to ui/packages/consul-ui/app/components/oidc-select/index.scss
index 3262aaa36..5f6c2cebf 100644
--- a/ui/packages/consul-ui/app/styles/components/oidc-select/index.scss
+++ b/ui/packages/consul-ui/app/components/oidc-select/index.scss
@@ -1,5 +1,8 @@
@import './skin';
@import './layout';
+.oidc-select {
+ @extend %oidc-select;
+}
%oidc-select label {
@extend %form-element;
}
diff --git a/ui/packages/consul-ui/app/styles/components/oidc-select/layout.scss b/ui/packages/consul-ui/app/components/oidc-select/layout.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/oidc-select/layout.scss
rename to ui/packages/consul-ui/app/components/oidc-select/layout.scss
diff --git a/ui/packages/consul-ui/app/styles/components/oidc-select/skin.scss b/ui/packages/consul-ui/app/components/oidc-select/skin.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/oidc-select/skin.scss
rename to ui/packages/consul-ui/app/components/oidc-select/skin.scss
diff --git a/ui/packages/consul-ui/app/components/pill/index.scss b/ui/packages/consul-ui/app/components/pill/index.scss
index bc1825219..cd4d91c3d 100644
--- a/ui/packages/consul-ui/app/components/pill/index.scss
+++ b/ui/packages/consul-ui/app/components/pill/index.scss
@@ -1,2 +1,46 @@
@import './skin';
@import './layout';
+span.policy-service-identity,
+span.policy-node-identity,
+.leader,
+.consul-auth-method-type,
+.topology-metrics-source-type,
+.consul-transparent-proxy {
+ @extend %pill-200, %frame-gray-600;
+}
+span.policy-service-identity::before,
+span.policy-node-identity::before {
+ width: auto;
+ align-self: start;
+ font-size: inherit;
+}
+span.policy-node-identity::before {
+ content: 'Node Identity: ';
+}
+span.policy-service-identity::before {
+ content: 'Service Identity: ';
+}
+%pill.kubernetes::before {
+ @extend %with-logo-kubernetes-color-icon, %as-pseudo;
+}
+%pill.terraform::before {
+ @extend %with-logo-terraform-color-icon, %as-pseudo;
+}
+%pill.nomad::before {
+ @extend %with-logo-nomad-color-icon, %as-pseudo;
+}
+%pill.consul::before {
+ @extend %with-logo-consul-color-icon, %as-pseudo;
+}
+%pill.aws::before {
+ @extend %with-logo-aws-color-icon, %as-pseudo;
+}
+%pill.leader::before {
+ @extend %with-star-outline-mask, %as-pseudo;
+}
+%pill.jwt::before {
+ @extend %with-logo-jwt-color-icon, %as-pseudo;
+}
+%pill.oidc::before {
+ @extend %with-logo-oidc-color-icon, %as-pseudo;
+}
diff --git a/ui/packages/consul-ui/app/styles/components/popover-select.scss b/ui/packages/consul-ui/app/components/popover-select/index.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/popover-select.scss
rename to ui/packages/consul-ui/app/components/popover-select/index.scss
diff --git a/ui/packages/consul-ui/app/styles/components/progress.scss b/ui/packages/consul-ui/app/components/progress/index.scss
similarity index 62%
rename from ui/packages/consul-ui/app/styles/components/progress.scss
rename to ui/packages/consul-ui/app/components/progress/index.scss
index c625778ca..8586adb61 100644
--- a/ui/packages/consul-ui/app/styles/components/progress.scss
+++ b/ui/packages/consul-ui/app/components/progress/index.scss
@@ -1,4 +1,5 @@
-@import './progress/index';
+@import './skin';
+@import './layout';
.progress.indeterminate {
@extend %progress-indeterminate;
}
diff --git a/ui/packages/consul-ui/app/styles/components/progress/layout.scss b/ui/packages/consul-ui/app/components/progress/layout.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/progress/layout.scss
rename to ui/packages/consul-ui/app/components/progress/layout.scss
diff --git a/ui/packages/consul-ui/app/styles/components/progress/skin.scss b/ui/packages/consul-ui/app/components/progress/skin.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/progress/skin.scss
rename to ui/packages/consul-ui/app/components/progress/skin.scss
diff --git a/ui/packages/consul-ui/app/styles/components/radio-card.scss b/ui/packages/consul-ui/app/components/radio-card/index.scss
similarity index 50%
rename from ui/packages/consul-ui/app/styles/components/radio-card.scss
rename to ui/packages/consul-ui/app/components/radio-card/index.scss
index f93c8e907..8675a12b6 100644
--- a/ui/packages/consul-ui/app/styles/components/radio-card.scss
+++ b/ui/packages/consul-ui/app/components/radio-card/index.scss
@@ -1,4 +1,5 @@
-@import './radio-card/index';
+@import './skin';
+@import './layout';
.radio-card {
@extend %radio-card;
}
diff --git a/ui/packages/consul-ui/app/styles/components/radio-card/layout.scss b/ui/packages/consul-ui/app/components/radio-card/layout.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/radio-card/layout.scss
rename to ui/packages/consul-ui/app/components/radio-card/layout.scss
diff --git a/ui/packages/consul-ui/app/styles/components/radio-card/skin.scss b/ui/packages/consul-ui/app/components/radio-card/skin.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/radio-card/skin.scss
rename to ui/packages/consul-ui/app/components/radio-card/skin.scss
diff --git a/ui/packages/consul-ui/app/components/radio-group/README.mdx b/ui/packages/consul-ui/app/components/radio-group/README.mdx
new file mode 100644
index 000000000..f31c491be
--- /dev/null
+++ b/ui/packages/consul-ui/app/components/radio-group/README.mdx
@@ -0,0 +1,31 @@
+---
+class: ember
+state: needs-love
+---
+# radio-group
+
+A component for creating horizontally laid out radio groups. It seems like we
+do not use the Ember component at all, but we do use the CSS component here,
+so we should look at this and decide exactly what to use, and whether it needs
+refactoring/deprecating.
+
+```hbs preview-template
+
+```
+
+
+```css
+[role="radio-group"] {
+ @extend %radio-group;
+}
+```
diff --git a/ui/packages/consul-ui/app/styles/components/secret-button.scss b/ui/packages/consul-ui/app/components/secret-button/index.scss
similarity index 91%
rename from ui/packages/consul-ui/app/styles/components/secret-button.scss
rename to ui/packages/consul-ui/app/components/secret-button/index.scss
index 4b8c3f585..7030f1f74 100644
--- a/ui/packages/consul-ui/app/styles/components/secret-button.scss
+++ b/ui/packages/consul-ui/app/components/secret-button/index.scss
@@ -1,4 +1,5 @@
-@import './secret-button/index';
+@import './skin';
+@import './layout';
.type-reveal {
@extend %secret-button;
}
diff --git a/ui/packages/consul-ui/app/styles/components/secret-button/layout.scss b/ui/packages/consul-ui/app/components/secret-button/layout.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/secret-button/layout.scss
rename to ui/packages/consul-ui/app/components/secret-button/layout.scss
diff --git a/ui/packages/consul-ui/app/styles/components/secret-button/skin.scss b/ui/packages/consul-ui/app/components/secret-button/skin.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/secret-button/skin.scss
rename to ui/packages/consul-ui/app/components/secret-button/skin.scss
diff --git a/ui/packages/consul-ui/app/components/table/index.scss b/ui/packages/consul-ui/app/components/table/index.scss
index bc1825219..027e47005 100644
--- a/ui/packages/consul-ui/app/components/table/index.scss
+++ b/ui/packages/consul-ui/app/components/table/index.scss
@@ -1,2 +1,53 @@
@import './skin';
@import './layout';
+%main-content table {
+ @extend %table;
+}
+%table-actions {
+ @extend %more-popover-menu;
+ overflow: visible;
+}
+%table-actions > [type='checkbox'] + label {
+ position: absolute;
+ right: 5px;
+}
+
+table.consul-metadata-list tbody tr {
+ cursor: default;
+}
+table.consul-metadata-list tbody tr:hover {
+ box-shadow: none;
+}
+
+%table th span::after {
+ @extend %with-info-circle-outline-mask, %as-pseudo;
+ color: $gray-500;
+ margin-left: 4px;
+}
+%table tbody tr {
+ cursor: pointer;
+}
+%table td:first-child {
+ padding: 0;
+}
+%table tbody tr:hover {
+ box-shadow: $decor-elevation-300;
+}
+
+%table td.folder::before {
+ @extend %with-folder-outline-mask, %as-pseudo;
+ background-color: $gray-300;
+ margin-top: 1px;
+ margin-right: 5px;
+}
+/**/
+
+@media #{$--lt-wide-table} {
+ /* hide actions on narrow screens, you can always click in do everything from there */
+ %table tr > .actions {
+ display: none;
+ }
+ .consul-intention-list tr > :nth-last-child(2) {
+ display: none;
+ }
+}
diff --git a/ui/packages/consul-ui/app/styles/components/tabular-collection.scss b/ui/packages/consul-ui/app/components/tabular-collection/index.scss
similarity index 98%
rename from ui/packages/consul-ui/app/styles/components/tabular-collection.scss
rename to ui/packages/consul-ui/app/components/tabular-collection/index.scss
index b3d33b4a4..300533879 100644
--- a/ui/packages/consul-ui/app/styles/components/tabular-collection.scss
+++ b/ui/packages/consul-ui/app/components/tabular-collection/index.scss
@@ -1,4 +1,3 @@
-@import './dom-recycling-table/index';
table.dom-recycling {
@extend %dom-recycling-table;
}
diff --git a/ui/packages/consul-ui/app/styles/components/tabular-details.scss b/ui/packages/consul-ui/app/components/tabular-details/index.scss
similarity index 57%
rename from ui/packages/consul-ui/app/styles/components/tabular-details.scss
rename to ui/packages/consul-ui/app/components/tabular-details/index.scss
index 457e1be3d..0798f902a 100644
--- a/ui/packages/consul-ui/app/styles/components/tabular-details.scss
+++ b/ui/packages/consul-ui/app/components/tabular-details/index.scss
@@ -1,4 +1,5 @@
-@import './tabular-details/index';
+@import './skin';
+@import './layout';
table.with-details {
@extend %tabular-details;
}
diff --git a/ui/packages/consul-ui/app/styles/components/tabular-details/layout.scss b/ui/packages/consul-ui/app/components/tabular-details/layout.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/tabular-details/layout.scss
rename to ui/packages/consul-ui/app/components/tabular-details/layout.scss
diff --git a/ui/packages/consul-ui/app/styles/components/tabular-details/skin.scss b/ui/packages/consul-ui/app/components/tabular-details/skin.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/tabular-details/skin.scss
rename to ui/packages/consul-ui/app/components/tabular-details/skin.scss
diff --git a/ui/packages/consul-ui/app/styles/components/tabular-dl/index.scss b/ui/packages/consul-ui/app/components/tabular-dl/index.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/tabular-dl/index.scss
rename to ui/packages/consul-ui/app/components/tabular-dl/index.scss
diff --git a/ui/packages/consul-ui/app/styles/components/tabular-dl/layout.scss b/ui/packages/consul-ui/app/components/tabular-dl/layout.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/tabular-dl/layout.scss
rename to ui/packages/consul-ui/app/components/tabular-dl/layout.scss
diff --git a/ui/packages/consul-ui/app/styles/components/tabular-dl/skin.scss b/ui/packages/consul-ui/app/components/tabular-dl/skin.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/tabular-dl/skin.scss
rename to ui/packages/consul-ui/app/components/tabular-dl/skin.scss
diff --git a/ui/packages/consul-ui/app/styles/components/tooltip-panel.scss b/ui/packages/consul-ui/app/components/tooltip-panel/index.scss
similarity index 54%
rename from ui/packages/consul-ui/app/styles/components/tooltip-panel.scss
rename to ui/packages/consul-ui/app/components/tooltip-panel/index.scss
index adc58e460..870575eaa 100644
--- a/ui/packages/consul-ui/app/styles/components/tooltip-panel.scss
+++ b/ui/packages/consul-ui/app/components/tooltip-panel/index.scss
@@ -1,4 +1,5 @@
-@import './tooltip-panel/index';
+@import './skin';
+@import './layout';
.tooltip-panel {
@extend %tooltip-panel;
}
diff --git a/ui/packages/consul-ui/app/styles/components/tooltip-panel/layout.scss b/ui/packages/consul-ui/app/components/tooltip-panel/layout.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/tooltip-panel/layout.scss
rename to ui/packages/consul-ui/app/components/tooltip-panel/layout.scss
diff --git a/ui/packages/consul-ui/app/styles/components/tooltip-panel/skin.scss b/ui/packages/consul-ui/app/components/tooltip-panel/skin.scss
similarity index 100%
rename from ui/packages/consul-ui/app/styles/components/tooltip-panel/skin.scss
rename to ui/packages/consul-ui/app/components/tooltip-panel/skin.scss
diff --git a/ui/packages/consul-ui/app/styles/components.scss b/ui/packages/consul-ui/app/styles/components.scss
index be4a6caa7..47757f3fe 100644
--- a/ui/packages/consul-ui/app/styles/components.scss
+++ b/ui/packages/consul-ui/app/styles/components.scss
@@ -1,50 +1,46 @@
@import 'ember-power-select';
-@import 'consul-ui/components/anchors/index';
-@import 'consul-ui/components/breadcrumbs/index';
-@import 'consul-ui/components/buttons/index';
-@import 'consul-ui/components/checkbox-group/index';
-@import 'consul-ui/components/display-toggle/index';
-@import 'consul-ui/components/form-elements/index';
-@import 'consul-ui/components/inline-alert/index';
-@import 'consul-ui/components/pill/index';
-@import 'consul-ui/components/popover-menu/index';
-@import 'consul-ui/components/radio-group/index';
-@import 'consul-ui/components/sliding-toggle/index';
-@import 'consul-ui/components/table/index';
-@import 'consul-ui/components/toggle-button/index';
+
+@import 'consul-ui/components/anchors';
+@import 'consul-ui/components/auth-form';
+@import 'consul-ui/components/auth-modal';
+@import 'consul-ui/components/breadcrumbs';
+@import 'consul-ui/components/buttons';
+@import 'consul-ui/components/card';
+@import 'consul-ui/components/checkbox-group';
+@import 'consul-ui/components/code-editor';
+@import 'consul-ui/components/composite-row';
+@import 'consul-ui/components/confirmation-dialog';
+@import 'consul-ui/components/definition-table';
+@import 'consul-ui/components/display-toggle';
+@import 'consul-ui/components/dom-recycling-table';
+@import 'consul-ui/components/empty-state';
+@import 'consul-ui/components/expanded-single-select';
+@import 'consul-ui/components/form-elements';
@import 'consul-ui/components/flash-message';
+@import 'consul-ui/components/icon-definition';
+@import 'consul-ui/components/list-row';
+@import 'consul-ui/components/inline-alert';
+@import 'consul-ui/components/menu-panel';
+@import 'consul-ui/components/more-popover-menu';
+@import 'consul-ui/components/oidc-select';
+@import 'consul-ui/components/radio-card';
+@import 'consul-ui/components/pill';
+@import 'consul-ui/components/popover-menu';
+@import 'consul-ui/components/popover-select';
+@import 'consul-ui/components/progress';
+@import 'consul-ui/components/radio-group';
+@import 'consul-ui/components/secret-button';
+@import 'consul-ui/components/sliding-toggle';
+@import 'consul-ui/components/table';
+@import 'consul-ui/components/toggle-button';
+@import 'consul-ui/components/tabular-collection';
+@import 'consul-ui/components/tabular-details';
+@import 'consul-ui/components/tabular-dl';
+@import 'consul-ui/components/tag-list';
+@import 'consul-ui/components/tooltip-panel';
/**/
-@import './components/card/index';
-@import './components/list-row/index';
-@import './components/expanded-single-select/index';
-
-@import './components/form-elements';
-@import './components/breadcrumbs';
-@import './components/anchors';
-@import './components/progress';
-@import './components/buttons';
-@import './components/composite-row';
-@import './components/secret-button';
-@import './components/pill';
-@import './components/table';
-@import './components/code-editor';
-@import './components/confirmation-dialog';
-@import './components/auth-form';
-@import './components/auth-modal';
-@import './components/oidc-select';
-@import './components/empty-state';
-@import './components/tabular-details';
-@import './components/tabular-collection';
-@import './components/popover-select';
-@import './components/tooltip-panel';
-@import './components/menu-panel';
-@import './components/more-popover-menu';
-@import './components/definition-table';
-@import './components/radio-card';
-@import './components/tabular-dl';
-
@import 'consul-ui/components/app-view';
@import 'consul-ui/components/brand-loader';
@import 'consul-ui/components/skip-links';
diff --git a/ui/packages/consul-ui/app/styles/components/anchors.scss b/ui/packages/consul-ui/app/styles/components/anchors.scss
deleted file mode 100644
index 9714fc318..000000000
--- a/ui/packages/consul-ui/app/styles/components/anchors.scss
+++ /dev/null
@@ -1,27 +0,0 @@
-a[rel*='external']::after {
- @extend %with-exit-icon, %as-pseudo;
- margin-left: 8px;
-}
-%main-content label a[rel*='help'] {
- color: $gray-400;
-}
-%main-content a[rel*='help']::after {
- @extend %with-info-circle-outline-icon, %as-pseudo;
- opacity: 0.4;
-}
-%main-content h2 a {
- color: $gray-900;
-}
-%main-content h2 a[rel*='help']::after {
- font-size: 0.65em;
- margin-top: 0.2em;
- margin-left: 0.2em;
-}
-
-.tab-section > p:only-child [rel*='help']::after {
- content: none;
-}
-%main-content p a,
-%main-content dd a {
- @extend %anchor;
-}
diff --git a/ui/packages/consul-ui/app/styles/components/app-view.scss b/ui/packages/consul-ui/app/styles/components/app-view.scss
deleted file mode 100644
index 03590bef2..000000000
--- a/ui/packages/consul-ui/app/styles/components/app-view.scss
+++ /dev/null
@@ -1 +0,0 @@
-@import './app-view/index';
diff --git a/ui/packages/consul-ui/app/styles/components/auth-form.scss b/ui/packages/consul-ui/app/styles/components/auth-form.scss
deleted file mode 100644
index 6bc84b786..000000000
--- a/ui/packages/consul-ui/app/styles/components/auth-form.scss
+++ /dev/null
@@ -1,4 +0,0 @@
-@import './auth-form/index';
-.auth-form {
- @extend %auth-form;
-}
diff --git a/ui/packages/consul-ui/app/styles/components/auth-modal.scss b/ui/packages/consul-ui/app/styles/components/auth-modal.scss
deleted file mode 100644
index 2586957d7..000000000
--- a/ui/packages/consul-ui/app/styles/components/auth-modal.scss
+++ /dev/null
@@ -1,4 +0,0 @@
-@import './auth-modal/index';
-#login-toggle + div {
- @extend %auth-modal;
-}
diff --git a/ui/packages/consul-ui/app/styles/components/breadcrumbs.scss b/ui/packages/consul-ui/app/styles/components/breadcrumbs.scss
deleted file mode 100644
index 5bebf9b3c..000000000
--- a/ui/packages/consul-ui/app/styles/components/breadcrumbs.scss
+++ /dev/null
@@ -1,7 +0,0 @@
-main header nav:first-child {
- position: absolute;
- top: 12px;
-}
-main header nav:first-child ol {
- @extend %breadcrumbs;
-}
diff --git a/ui/packages/consul-ui/app/styles/components/buttons.scss b/ui/packages/consul-ui/app/styles/components/buttons.scss
deleted file mode 100644
index 9338839dc..000000000
--- a/ui/packages/consul-ui/app/styles/components/buttons.scss
+++ /dev/null
@@ -1,19 +0,0 @@
-button[type='submit'],
-button.type-submit,
-a.type-create {
- @extend %primary-button;
-}
-// TODO: Once we move action-groups to use aria menu we can get rid of
-// some of this and just use not(aria-haspopup)
-button[type='reset'],
-header .actions button[type='button']:not(.copy-btn),
-button.type-cancel {
- @extend %secondary-button;
-}
-.with-confirmation .type-delete,
-%app-view-content form button[type='button'].type-delete {
- @extend %dangerous-button;
-}
-button.copy-btn {
- @extend %copy-button;
-}
diff --git a/ui/packages/consul-ui/app/styles/components/composite-row/index.scss b/ui/packages/consul-ui/app/styles/components/composite-row/index.scss
deleted file mode 100644
index 763357c31..000000000
--- a/ui/packages/consul-ui/app/styles/components/composite-row/index.scss
+++ /dev/null
@@ -1,19 +0,0 @@
-@import './layout';
-@import './skin';
-%composite-row {
- @extend %list-row;
-}
-%composite-row > .header {
- @extend %composite-row-header, %list-row-header;
-}
-%composite-row > .detail {
- @extend %composite-row-detail, %list-row-detail;
-}
-%composite-row > .actions {
- @extend %composite-row-actions;
-}
-%with-composite-row-intent:hover,
-%with-composite-row-intent:focus,
-%with-composite-row-intent:active {
- @extend %list-row-intent;
-}
diff --git a/ui/packages/consul-ui/app/styles/components/confirmation-dialog/index.scss b/ui/packages/consul-ui/app/styles/components/confirmation-dialog/index.scss
deleted file mode 100644
index bc1825219..000000000
--- a/ui/packages/consul-ui/app/styles/components/confirmation-dialog/index.scss
+++ /dev/null
@@ -1,2 +0,0 @@
-@import './skin';
-@import './layout';
diff --git a/ui/packages/consul-ui/app/styles/components/definition-table/index.scss b/ui/packages/consul-ui/app/styles/components/definition-table/index.scss
deleted file mode 100644
index bc1825219..000000000
--- a/ui/packages/consul-ui/app/styles/components/definition-table/index.scss
+++ /dev/null
@@ -1,2 +0,0 @@
-@import './skin';
-@import './layout';
diff --git a/ui/packages/consul-ui/app/styles/components/empty-state.scss b/ui/packages/consul-ui/app/styles/components/empty-state.scss
deleted file mode 100644
index bb4564d5c..000000000
--- a/ui/packages/consul-ui/app/styles/components/empty-state.scss
+++ /dev/null
@@ -1,4 +0,0 @@
-@import 'consul-ui/components/empty-state/index';
-.empty-state {
- @extend %empty-state;
-}
diff --git a/ui/packages/consul-ui/app/styles/components/expanded-single-select/index.scss b/ui/packages/consul-ui/app/styles/components/expanded-single-select/index.scss
deleted file mode 100644
index bc1825219..000000000
--- a/ui/packages/consul-ui/app/styles/components/expanded-single-select/index.scss
+++ /dev/null
@@ -1,2 +0,0 @@
-@import './skin';
-@import './layout';
diff --git a/ui/packages/consul-ui/app/styles/components/form-elements.scss b/ui/packages/consul-ui/app/styles/components/form-elements.scss
deleted file mode 100644
index 7b966afe3..000000000
--- a/ui/packages/consul-ui/app/styles/components/form-elements.scss
+++ /dev/null
@@ -1,43 +0,0 @@
-label span {
- @extend %user-select-none;
-}
-.has-error {
- @extend %form-element-error;
-}
-// TODO: float right here is too specific, this is currently used just for the role/policy selectors
-label.type-dialog {
- @extend %anchor;
- cursor: pointer;
- float: right;
-}
-.type-toggle {
- @extend %form-element, %sliding-toggle;
-}
-.checkbox-group {
- @extend %checkbox-group;
-}
-%main-content form {
- @extend %form;
-}
-span.label {
- @extend %form-element-label;
-}
-%form table,
-%radio-group,
-%checkbox-group,
-%main-content form dl {
- @extend %form-row;
-}
-%radio-group label,
-%main-content .type-select,
-%main-content .type-password,
-%main-content .type-text {
- @extend %form-element;
-}
-%app-view-content form:not(.filter-bar) [role='radiogroup'],
-%modal-window [role='radiogroup'] {
- @extend %radio-group;
-}
-%sliding-toggle + .checkbox-group {
- margin-top: -1em;
-}
diff --git a/ui/packages/consul-ui/app/styles/components/menu-panel.scss b/ui/packages/consul-ui/app/styles/components/menu-panel.scss
deleted file mode 100644
index 09ee8e24e..000000000
--- a/ui/packages/consul-ui/app/styles/components/menu-panel.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-.menu-panel {
- @extend %menu-panel;
-}
diff --git a/ui/packages/consul-ui/app/styles/components/oidc-select.scss b/ui/packages/consul-ui/app/styles/components/oidc-select.scss
deleted file mode 100644
index 3d4fec8dc..000000000
--- a/ui/packages/consul-ui/app/styles/components/oidc-select.scss
+++ /dev/null
@@ -1,4 +0,0 @@
-@import './oidc-select/index';
-.oidc-select {
- @extend %oidc-select;
-}
diff --git a/ui/packages/consul-ui/app/styles/components/pill.scss b/ui/packages/consul-ui/app/styles/components/pill.scss
deleted file mode 100644
index b779640c5..000000000
--- a/ui/packages/consul-ui/app/styles/components/pill.scss
+++ /dev/null
@@ -1,44 +0,0 @@
-span.policy-service-identity,
-span.policy-node-identity,
-.leader,
-.consul-auth-method-type,
-.topology-metrics-source-type,
-.consul-transparent-proxy {
- @extend %pill-200, %frame-gray-600;
-}
-span.policy-service-identity::before,
-span.policy-node-identity::before {
- width: auto;
- align-self: start;
- font-size: inherit;
-}
-span.policy-node-identity::before {
- content: 'Node Identity: ';
-}
-span.policy-service-identity::before {
- content: 'Service Identity: ';
-}
-%pill.kubernetes::before {
- @extend %with-logo-kubernetes-color-icon, %as-pseudo;
-}
-%pill.terraform::before {
- @extend %with-logo-terraform-color-icon, %as-pseudo;
-}
-%pill.nomad::before {
- @extend %with-logo-nomad-color-icon, %as-pseudo;
-}
-%pill.consul::before {
- @extend %with-logo-consul-color-icon, %as-pseudo;
-}
-%pill.aws::before {
- @extend %with-logo-aws-color-icon, %as-pseudo;
-}
-%pill.leader::before {
- @extend %with-star-outline-mask, %as-pseudo;
-}
-%pill.jwt::before {
- @extend %with-logo-jwt-color-icon, %as-pseudo;
-}
-%pill.oidc::before {
- @extend %with-logo-oidc-color-icon, %as-pseudo;
-}
diff --git a/ui/packages/consul-ui/app/styles/components/progress/index.scss b/ui/packages/consul-ui/app/styles/components/progress/index.scss
deleted file mode 100644
index bc1825219..000000000
--- a/ui/packages/consul-ui/app/styles/components/progress/index.scss
+++ /dev/null
@@ -1,2 +0,0 @@
-@import './skin';
-@import './layout';
diff --git a/ui/packages/consul-ui/app/styles/components/radio-card/index.scss b/ui/packages/consul-ui/app/styles/components/radio-card/index.scss
deleted file mode 100644
index bc1825219..000000000
--- a/ui/packages/consul-ui/app/styles/components/radio-card/index.scss
+++ /dev/null
@@ -1,2 +0,0 @@
-@import './skin';
-@import './layout';
diff --git a/ui/packages/consul-ui/app/styles/components/secret-button/index.scss b/ui/packages/consul-ui/app/styles/components/secret-button/index.scss
deleted file mode 100644
index bc1825219..000000000
--- a/ui/packages/consul-ui/app/styles/components/secret-button/index.scss
+++ /dev/null
@@ -1,2 +0,0 @@
-@import './skin';
-@import './layout';
diff --git a/ui/packages/consul-ui/app/styles/components/table.scss b/ui/packages/consul-ui/app/styles/components/table.scss
deleted file mode 100644
index 7133d95db..000000000
--- a/ui/packages/consul-ui/app/styles/components/table.scss
+++ /dev/null
@@ -1,51 +0,0 @@
-%main-content table {
- @extend %table;
-}
-%table-actions {
- @extend %more-popover-menu;
- overflow: visible;
-}
-%table-actions > [type='checkbox'] + label {
- position: absolute;
- right: 5px;
-}
-
-table.consul-metadata-list tbody tr {
- cursor: default;
-}
-table.consul-metadata-list tbody tr:hover {
- box-shadow: none;
-}
-
-%table th span::after {
- @extend %with-info-circle-outline-mask, %as-pseudo;
- color: $gray-500;
- margin-left: 4px;
-}
-%table tbody tr {
- cursor: pointer;
-}
-%table td:first-child {
- padding: 0;
-}
-%table tbody tr:hover {
- box-shadow: $decor-elevation-300;
-}
-
-%table td.folder::before {
- @extend %with-folder-outline-mask, %as-pseudo;
- background-color: $gray-300;
- margin-top: 1px;
- margin-right: 5px;
-}
-/**/
-
-@media #{$--lt-wide-table} {
- /* hide actions on narrow screens, you can always click in do everything from there */
- %table tr > .actions {
- display: none;
- }
- .consul-intention-list tr > :nth-last-child(2) {
- display: none;
- }
-}
diff --git a/ui/packages/consul-ui/app/styles/components/tabular-details/index.scss b/ui/packages/consul-ui/app/styles/components/tabular-details/index.scss
deleted file mode 100644
index bc1825219..000000000
--- a/ui/packages/consul-ui/app/styles/components/tabular-details/index.scss
+++ /dev/null
@@ -1,2 +0,0 @@
-@import './skin';
-@import './layout';
diff --git a/ui/packages/consul-ui/app/styles/components/tooltip-panel/index.scss b/ui/packages/consul-ui/app/styles/components/tooltip-panel/index.scss
deleted file mode 100644
index bc1825219..000000000
--- a/ui/packages/consul-ui/app/styles/components/tooltip-panel/index.scss
+++ /dev/null
@@ -1,2 +0,0 @@
-@import './skin';
-@import './layout';