diff --git a/ui/app/components/link-to.js b/ui/app/components/link-to.js deleted file mode 100644 index 3e2893a158..0000000000 --- a/ui/app/components/link-to.js +++ /dev/null @@ -1,7 +0,0 @@ -import LinkComponent from '@ember/routing/link-component'; - -LinkComponent.reopen({ - activeClass: 'is-active', -}); - -export default LinkComponent; diff --git a/ui/app/styles/components/sidebar.scss b/ui/app/styles/components/sidebar.scss index 7eade62930..6a50038348 100644 --- a/ui/app/styles/components/sidebar.scss +++ b/ui/app/styles/components/sidebar.scss @@ -76,12 +76,21 @@ padding-top: $size-4; } + li { + a { + &.active { + border-right: 4px solid $blue; + color: $blue; + } + } + } + a { color: $grey-dark; padding-left: $size-5; transition: 250ms border-width; - &.is-active { + &.active { border-right: 4px solid $blue; } } diff --git a/ui/app/styles/components/tabs.scss b/ui/app/styles/components/tabs.scss index 6b505313a7..088f77865f 100644 --- a/ui/app/styles/components/tabs.scss +++ b/ui/app/styles/components/tabs.scss @@ -13,20 +13,26 @@ &:focus { box-shadow: none; } - &.is-active, - &.is-active .tab { + &.active, + &.active .tab { border-color: $blue; color: $blue; } } + li { + > a &.active { + border-color: $blue; + color: $blue !important; + } + } } li { &:focus { box-shadow: none; } - &.is-active a, - &.is-active .tab { + &.active a, + &.active .tab { border-color: $blue; color: $blue; } @@ -55,29 +61,3 @@ outline: none; } } - -.nav-tab-link { - color: $grey; - font-weight: $font-weight-semibold; - text-decoration: none; - padding: $size-6 $size-8 $size-8; - border-bottom: 2px solid transparent; - transition: background-color $speed, border-color $speed; - - &:hover, - &:active { - border-color: $grey-light; - } - - &:hover { - background-color: $ui-gray-050; - } - - &:focus { - box-shadow: none; - } - &.is-active { - border-color: $blue !important; - color: $blue !important; - } -} diff --git a/ui/app/styles/core/navbar.scss b/ui/app/styles/core/navbar.scss index a981fcf12b..adf63c9d3c 100644 --- a/ui/app/styles/core/navbar.scss +++ b/ui/app/styles/core/navbar.scss @@ -146,7 +146,7 @@ z-index: 201; } - &.is-active { + &.active { @include until($mobile) { box-shadow: 5px 0 10px rgba($black, 0.36); transform: translateX(0); diff --git a/ui/app/templates/components/configure-pki-secret.hbs b/ui/app/templates/components/configure-pki-secret.hbs index e0cd4d6180..17008d88ee 100644 --- a/ui/app/templates/components/configure-pki-secret.hbs +++ b/ui/app/templates/components/configure-pki-secret.hbs @@ -2,7 +2,7 @@