-
- {{#each submenus as |sub|}}
-
- {{/each}}
- {{#yield-slot name='header'}}
-
- {{yield}}
-
- {{else}}
- {{/yield-slot}}
-
-
+
+
\ No newline at end of file
diff --git a/ui-v2/app/components/popover-menu/index.js b/ui-v2/app/components/popover-menu/index.js
index 3079f9eb30..9f68520ed0 100644
--- a/ui-v2/app/components/popover-menu/index.js
+++ b/ui-v2/app/components/popover-menu/index.js
@@ -2,6 +2,7 @@
import Component from '@ember/component';
import { inject as service } from '@ember/service';
import Slotted from 'block-slots';
+import { set } from '@ember/object';
export default Component.extend(Slotted, {
tagName: '',
@@ -16,6 +17,9 @@ export default Component.extend(Slotted, {
this._super(...arguments);
this.guid = this.dom.guid(this);
},
+ willRender: function() {
+ set(this, 'hasHeader', this._isRegistered('header'));
+ },
actions: {
change: function(e) {
if (!e.target.checked) {
diff --git a/ui-v2/app/helpers/from-entries.js b/ui-v2/app/helpers/from-entries.js
new file mode 100644
index 0000000000..baa892d998
--- /dev/null
+++ b/ui-v2/app/helpers/from-entries.js
@@ -0,0 +1,5 @@
+import { helper } from '@ember/component/helper';
+
+export default helper(function fromEntries(params /*, hash*/) {
+ return Object.fromEntries(params);
+});
diff --git a/ui-v2/app/styles/base/components/buttons/skin.scss b/ui-v2/app/styles/base/components/buttons/skin.scss
index 64f3b5eb76..d0c95fc07a 100644
--- a/ui-v2/app/styles/base/components/buttons/skin.scss
+++ b/ui-v2/app/styles/base/components/buttons/skin.scss
@@ -4,6 +4,7 @@
@extend %user-select-none;
cursor: pointer;
white-space: nowrap;
+ text-decoration: none;
}
%button:disabled,
%internal-button:disabled {
diff --git a/ui-v2/app/styles/base/components/menu-panel/layout.scss b/ui-v2/app/styles/base/components/menu-panel/layout.scss
index a1d6385279..7614f3aeb0 100644
--- a/ui-v2/app/styles/base/components/menu-panel/layout.scss
+++ b/ui-v2/app/styles/base/components/menu-panel/layout.scss
@@ -1,6 +1,5 @@
%menu-panel {
position: absolute;
- overflow: hidden;
}
%menu-panel [type='checkbox'] {
display: none;
@@ -15,8 +14,14 @@
/* or be hardcoded */
/* min-height: 143px; */
}
-%menu-panel [role='menuitem']::after {
- float: right;
+%menu-panel [role='menuitem'] {
+ display: flex;
+ justify-content: space-between;
+}
+%menu-panel [role='menuitem']:after {
+ @extend %as-pseudo;
+ display: block !important;
+ background-position: center right !important;
}
%menu-panel-sub-panel {
position: absolute;
@@ -70,7 +75,7 @@
}
%menu-panel-header {
padding: 10px;
- padding-left: 36px;
+ white-space: normal;
}
/* here the !important is only needed for what seems to be a difference */
/* with the CSS before and after compression */
diff --git a/ui-v2/app/styles/base/components/menu-panel/skin.scss b/ui-v2/app/styles/base/components/menu-panel/skin.scss
index 49483fee19..784df4f446 100644
--- a/ui-v2/app/styles/base/components/menu-panel/skin.scss
+++ b/ui-v2/app/styles/base/components/menu-panel/skin.scss
@@ -22,12 +22,12 @@
border-top: $decor-border-100;
border-color: $gray-300;
}
-%menu-panel-header {
- background-color: $gray-050;
+
+%menu-panel .docs-link a::after {
+ @extend %with-docs-mask, %as-pseudo;
}
-%menu-panel-header::before {
- @extend %with-info-circle-fill-color-icon, %as-pseudo;
- font-size: 1.1em;
+%menu-panel .learn-link a::after {
+ @extend %with-learn-mask, %as-pseudo;
}
%menu-panel .is-active > *::after {
@extend %with-check-plain-mask, %as-pseudo;
diff --git a/ui-v2/app/styles/base/components/pill/layout.scss b/ui-v2/app/styles/base/components/pill/layout.scss
index 74b6c07aa2..f78238ed15 100644
--- a/ui-v2/app/styles/base/components/pill/layout.scss
+++ b/ui-v2/app/styles/base/components/pill/layout.scss
@@ -16,6 +16,7 @@
padding: 0 8px;
border-radius: $decor-radius-100;
height: 18px;
+ display: inline-block;
line-height: 0.7rem;
}
%reduced-pill > span {
diff --git a/ui-v2/app/styles/base/components/popover-menu/index.scss b/ui-v2/app/styles/base/components/popover-menu/index.scss
index 239df86085..f8731956bc 100644
--- a/ui-v2/app/styles/base/components/popover-menu/index.scss
+++ b/ui-v2/app/styles/base/components/popover-menu/index.scss
@@ -12,6 +12,7 @@
%popover-menu + label > * {
@extend %toggle-button;
}
+%more-popover-menu-panel,
%popover-menu-panel {
@extend %menu-panel;
}
diff --git a/ui-v2/app/styles/base/components/popover-menu/layout.scss b/ui-v2/app/styles/base/components/popover-menu/layout.scss
index 6de7f20273..eed7f3cca1 100644
--- a/ui-v2/app/styles/base/components/popover-menu/layout.scss
+++ b/ui-v2/app/styles/base/components/popover-menu/layout.scss
@@ -11,7 +11,7 @@
@extend %toggle-button;
}
%more-popover-menu-panel {
- @extend %menu-panel;
+ overflow: hidden;
width: 192px;
}
%more-popover-menu + label + div {
diff --git a/ui-v2/app/styles/components/app-view/layout.scss b/ui-v2/app/styles/components/app-view/layout.scss
index c94516038c..683ec21b13 100644
--- a/ui-v2/app/styles/components/app-view/layout.scss
+++ b/ui-v2/app/styles/components/app-view/layout.scss
@@ -6,6 +6,8 @@
display: flex;
align-items: center;
white-space: nowrap;
+ position: relative;
+ z-index: 1;
}
%app-view-actions {
margin-left: auto;
diff --git a/ui-v2/app/styles/components/index.scss b/ui-v2/app/styles/components/index.scss
index 058c04a4c4..305a954c92 100644
--- a/ui-v2/app/styles/components/index.scss
+++ b/ui-v2/app/styles/components/index.scss
@@ -33,6 +33,8 @@
@import './list-collection';
@import './grid-collection';
@import './popover-select';
+@import './tooltip-panel';
+@import './menu-panel';
/**/
diff --git a/ui-v2/app/styles/components/main-header-horizontal.scss b/ui-v2/app/styles/components/main-header-horizontal.scss
index ce3289ca14..315ebd5a7d 100644
--- a/ui-v2/app/styles/components/main-header-horizontal.scss
+++ b/ui-v2/app/styles/components/main-header-horizontal.scss
@@ -9,7 +9,7 @@
@extend %with-docs-icon, %as-pseudo;
}
%main-nav-horizontal .feedback-link a::after {
- @extend %with-logo-github-monochrome-icon, %as-pseudo;
+ @extend %with-logo-github-monochrome-mask, %as-pseudo;
}
%main-header-horizontal::before {
background-color: var(--swatch-brand-600, $black);
diff --git a/ui-v2/app/styles/components/main-nav-horizontal.scss b/ui-v2/app/styles/components/main-nav-horizontal.scss
index ef8e69e3e1..71d52c083d 100644
--- a/ui-v2/app/styles/components/main-nav-horizontal.scss
+++ b/ui-v2/app/styles/components/main-nav-horizontal.scss
@@ -10,6 +10,15 @@
%secondary-nav {
@extend %main-nav-horizontal;
}
+%primary-nav .nspaces .menu-panel > div {
+ background-color: $gray-050;
+ padding-left: 36px;
+}
+%primary-nav .nspaces .menu-panel > div::before {
+ @extend %with-info-circle-fill-mask, %as-pseudo;
+ color: $blue-500;
+ font-size: 1.1em;
+}
%main-header-horizontal > div {
@extend %main-nav-horizontal-panel;
diff --git a/ui-v2/app/styles/components/menu-panel.scss b/ui-v2/app/styles/components/menu-panel.scss
new file mode 100644
index 0000000000..09ee8e24e3
--- /dev/null
+++ b/ui-v2/app/styles/components/menu-panel.scss
@@ -0,0 +1,3 @@
+.menu-panel {
+ @extend %menu-panel;
+}
diff --git a/ui-v2/app/styles/components/tooltip-panel.scss b/ui-v2/app/styles/components/tooltip-panel.scss
new file mode 100644
index 0000000000..adc58e4606
--- /dev/null
+++ b/ui-v2/app/styles/components/tooltip-panel.scss
@@ -0,0 +1,4 @@
+@import './tooltip-panel/index';
+.tooltip-panel {
+ @extend %tooltip-panel;
+}
diff --git a/ui-v2/app/styles/components/tooltip-panel/index.scss b/ui-v2/app/styles/components/tooltip-panel/index.scss
new file mode 100644
index 0000000000..bc18252196
--- /dev/null
+++ b/ui-v2/app/styles/components/tooltip-panel/index.scss
@@ -0,0 +1,2 @@
+@import './skin';
+@import './layout';
diff --git a/ui-v2/app/styles/components/tooltip-panel/layout.scss b/ui-v2/app/styles/components/tooltip-panel/layout.scss
new file mode 100644
index 0000000000..d4f6917db0
--- /dev/null
+++ b/ui-v2/app/styles/components/tooltip-panel/layout.scss
@@ -0,0 +1,21 @@
+%tooltip-panel {
+ margin: 0 !important;
+}
+%tooltip-panel dd > div {
+ top: auto !important;
+}
+%tooltip-panel dt {
+ cursor: pointer;
+}
+%tooltip-panel dd {
+ display: none;
+ position: relative;
+ padding-top: 10px;
+ margin-bottom: -10px;
+}
+%tooltip-panel:hover dd {
+ display: block;
+}
+%tooltip-panel dd > div {
+ width: 250px;
+}
diff --git a/ui-v2/app/styles/components/tooltip-panel/skin.scss b/ui-v2/app/styles/components/tooltip-panel/skin.scss
new file mode 100644
index 0000000000..746fb7f5d7
--- /dev/null
+++ b/ui-v2/app/styles/components/tooltip-panel/skin.scss
@@ -0,0 +1,13 @@
+/* This is the top chevron */
+%tooltip-panel dd > div::before {
+ @extend %as-pseudo;
+ width: 12px;
+ height: 12px;
+ background: white;
+ border-top: 1px solid $gray-300;
+ border-right: 1px solid $gray-300;
+ transform: rotate(-45deg);
+ position: absolute;
+ left: 16px;
+ top: -7px;
+}
diff --git a/ui-v2/app/templates/dc/services/instance.hbs b/ui-v2/app/templates/dc/services/instance.hbs
index 1279a2350c..a9ab9bb0b0 100644
--- a/ui-v2/app/templates/dc/services/instance.hbs
+++ b/ui-v2/app/templates/dc/services/instance.hbs
@@ -14,7 +14,7 @@
{{ item.ID }}