diff --git a/web/satellite/.stylelintrc.js b/web/satellite/.stylelintrc.js index 7a4808830..962361a1c 100644 --- a/web/satellite/.stylelintrc.js +++ b/web/satellite/.stylelintrc.js @@ -16,6 +16,7 @@ module.exports = { "indentation": 4, "string-quotes": "single", "no-duplicate-selectors": true, + "no-descending-specificity": null, "selector-max-attribute": 1, "selector-combinator-space-after": "always", "selector-attribute-operator-space-before": "never", diff --git a/web/satellite/src/components/navigation/AccountArea.vue b/web/satellite/src/components/navigation/AccountArea.vue index 5c1905957..e02b7fccd 100644 --- a/web/satellite/src/components/navigation/AccountArea.vue +++ b/web/satellite/src/components/navigation/AccountArea.vue @@ -7,6 +7,7 @@
+
@@ -214,12 +215,32 @@ export default class AccountArea extends Vue { align-items: center; justify-content: space-between; - &__label { + &__label, + &__label-small { font-size: 14px; line-height: 20px; color: #56606d; margin: 0 6px 0 24px; } + + &__label-small { + display: none; + margin: 0; + } + } + + &:hover { + background-color: #fafafb; + border-color: #fafafb; + + p { + color: #0149ff; + } + + .account-area__wrap__arrow ::v-deep path, + .account-area__wrap__left__icon ::v-deep path { + fill: #0149ff; + } } } @@ -239,9 +260,11 @@ export default class AccountArea extends Vue { background: #fafafb; padding: 16px; width: calc(100% - 32px); + border: 1px solid #ebeef1; display: flex; align-items: center; justify-content: space-between; + border-radius: 8px 8px 0 0; &__left, &__right { @@ -249,7 +272,6 @@ export default class AccountArea extends Vue { align-items: center; &__label { - font-family: 'font_medium', sans-serif; font-size: 14px; line-height: 20px; color: #56606d; @@ -272,6 +294,7 @@ export default class AccountArea extends Vue { &__item { display: flex; align-items: center; + border-top: 1px solid #ebeef1; padding: 16px; width: calc(100% - 32px); cursor: pointer; @@ -283,41 +306,83 @@ export default class AccountArea extends Vue { color: #56606d; } + &:last-of-type { + border-radius: 0 0 8px 8px; + } + &:hover { background-color: #f7f8fb; + + p { + color: #0149ff; + } + + ::v-deep path { + fill: #0149ff; + } } } } } .active { + border-color: #000; + + p { + color: #091c45; + font-family: 'font_bold', sans-serif; + } + + .account-area__wrap__arrow ::v-deep path, + .account-area__wrap__left__icon ::v-deep path { + fill: #000; + } + } + + .active:hover { border-color: #0149ff; background-color: #f7f8fb; - .account-area__wrap { + p { + color: #0149ff; + } - &__left__label { - color: #0149ff; - font-weight: 600; - } - - &__left__icon ::v-deep path, - &__arrow ::v-deep path { - fill: #0149ff; - } + .account-area__wrap__arrow ::v-deep path, + .account-area__wrap__left__icon ::v-deep path { + fill: #0149ff; } } @media screen and (max-width: 1280px) { .account-area__wrap { + padding: 10px 0; + align-items: center; + justify-content: center; + + p { + font-family: 'font_medium', sans-serif; + } &__left__label, &__left__tier-badge, &__arrow { display: none; } + + &__left { + flex-direction: column; + + &__label-small { + display: block; + margin-top: 10px; + font-size: 9px; + } + } + } + + .active p { + font-family: 'font_medium', sans-serif; } } - diff --git a/web/satellite/src/components/navigation/GuidesDropdown.vue b/web/satellite/src/components/navigation/GuidesDropdown.vue index 157c5a33a..76706c923 100644 --- a/web/satellite/src/components/navigation/GuidesDropdown.vue +++ b/web/satellite/src/components/navigation/GuidesDropdown.vue @@ -47,12 +47,10 @@ export default class GuidesDropdown extends Vue { .side-dropdown { position: absolute; background: #fff; - border: 1px solid #f4f5f7; - box-shadow: 0 0 32px rgb(0 0 0 / 4%); + border: 1px solid #ebeef1; + box-shadow: 0 0 20px rgb(0 0 0 / 4%); border-radius: 8px; - padding: 14px 0; width: 390px; z-index: 1; - cursor: default; } diff --git a/web/satellite/src/components/navigation/NavigationArea.vue b/web/satellite/src/components/navigation/NavigationArea.vue index 2f7073b5e..c5f0d2fa7 100644 --- a/web/satellite/src/components/navigation/NavigationArea.vue +++ b/web/satellite/src/components/navigation/NavigationArea.vue @@ -21,7 +21,7 @@ > - - @@ -111,7 +109,6 @@ -