diff --git a/openstack_dashboard/static/dashboard/scss/components/_context_selection.scss b/openstack_dashboard/static/dashboard/scss/components/_context_selection.scss deleted file mode 100644 index 1f52e7c0c..000000000 --- a/openstack_dashboard/static/dashboard/scss/components/_context_selection.scss +++ /dev/null @@ -1,51 +0,0 @@ -.context-selection { - & > li > ul { - padding: 0; - - & > li { - white-space: nowrap; - - &.dropdown-header, - & > a { - padding: $dropdown-item-padding-vertical $dropdown-item-padding-horizontal $dropdown-item-padding-vertical $dropdown-item-padding-horizontal*1.5; - } - - &.dropdown-header { - color: $brand-primary; - } - - &:not(.dropdown-header):hover { - background-color: $dropdown-link-hover-bg; - cursor: pointer; - } - - & > a { - position: relative; - color: $dropdown-link-color; - text-decoration: none; - display: inline-block; - width: 100%; - - & > .fa.fa-check { - float: left; - position: absolute; - left: $dropdown-item-padding-horizontal/2; - line-height: $line-height-computed; - } - } - } - } - - .disabled { - cursor: not-allowed; - color: $dropdown-link-disabled-color; - } -} - -.context-delimiter { - font-size: $padding-small-vertical; - vertical-align: middle; - padding-right: $padding-small-vertical; - padding-left: $padding-small-vertical; -} - diff --git a/openstack_dashboard/static/dashboard/scss/components/_navbar.scss b/openstack_dashboard/static/dashboard/scss/components/_navbar.scss index ee36b789b..c9c2e7ead 100644 --- a/openstack_dashboard/static/dashboard/scss/components/_navbar.scss +++ b/openstack_dashboard/static/dashboard/scss/components/_navbar.scss @@ -32,3 +32,9 @@ } } +.context-delimiter { + font-size: $padding-small-vertical; + vertical-align: middle; + padding-right: $padding-small-vertical; + padding-left: $padding-small-vertical; +} diff --git a/openstack_dashboard/static/dashboard/scss/components/_selection_menu.scss b/openstack_dashboard/static/dashboard/scss/components/_selection_menu.scss new file mode 100644 index 000000000..43ef7ccbb --- /dev/null +++ b/openstack_dashboard/static/dashboard/scss/components/_selection_menu.scss @@ -0,0 +1,52 @@ +// FYI Note (hurgleburgler) +// The Selection Menu is not a normal drop down element +// This menu can contain other dropdown menus, and will +// treat them as a selection group element. +// The context menu shows this functionality. +// This drop down is composed of other