Commit a39ae4c7 authored by Denys Mishunov's avatar Denys Mishunov

Addressed the UX review

parent 65a1bbdc
//
// VARIABLES
//
$top-level-item-color: $purple-900;
// //
// TEMPORARY OVERRIDES // TEMPORARY OVERRIDES
// Needed while we serve both *_base and *_variant stylesheets // Needed while we serve both *_base and *_variant stylesheets
...@@ -14,6 +20,14 @@ ...@@ -14,6 +20,14 @@
color: $gray-darkest; color: $gray-darkest;
} }
&.ui-indigo .nav-sidebar li.active > a {
color: $top-level-item-color;
}
&.ui-indigo .nav-sidebar li.active .nav-icon-container svg {
fill: $top-level-item-color;
}
.nav-sidebar { .nav-sidebar {
box-shadow: none; box-shadow: none;
...@@ -138,13 +152,29 @@ ...@@ -138,13 +152,29 @@
} }
@mixin context-header { @mixin context-header {
$avatar-box-shadow: inset 0 0 0 1px $t-gray-a-08;
@include gl-p-2; @include gl-p-2;
@include gl-mb-2; @include gl-mb-2;
.avatar-container { .avatar-container {
@include gl-font-weight-normal; @include gl-font-weight-normal;
flex: 0 0 $sidebar-avatar-size; flex: none;
border-color: $t-gray-a-08; box-shadow: $avatar-box-shadow;
&.rect-avatar {
@include gl-border-none;
.avatar.s32 {
@extend .rect-avatar.s32;
color: $gray-900;
box-shadow: $avatar-box-shadow;
}
}
}
.sidebar-context-title {
color: $top-level-item-color;
} }
} }
...@@ -221,7 +251,7 @@ ...@@ -221,7 +251,7 @@
a { a {
@include gl-text-decoration-none; @include gl-text-decoration-none;
@include gl-line-height-normal; @include gl-line-height-normal;
color: $purple-900; color: $top-level-item-color;
} }
li { li {
...@@ -310,8 +340,8 @@ ...@@ -310,8 +340,8 @@
} }
.badge.badge-pill { .badge.badge-pill {
@include gl-font-weight-normal; // TODO: update in `theme_indigo.scss` @include gl-font-weight-normal; // TODO: update in `theme_helper.scss`
color: $blue-700; // TODO: update in `theme_indigo.scss` color: $blue-700; // TODO: update in `theme_helper.scss`
} }
} }
} }
...@@ -348,7 +378,7 @@ ...@@ -348,7 +378,7 @@
.close-nav-button { .close-nav-button {
@include side-panel-toggle; @include side-panel-toggle;
background-color: $gray-50; background-color: $gray-50;
color: $purple-900; color: $top-level-item-color;
.collapse-text, .collapse-text,
.icon-chevron-double-lg-left, .icon-chevron-double-lg-left,
......
...@@ -573,7 +573,7 @@ $inactive-badge-background: rgba($black, 0.08); ...@@ -573,7 +573,7 @@ $inactive-badge-background: rgba($black, 0.08);
$sidebar-toggle-height: 60px; $sidebar-toggle-height: 60px;
$sidebar-toggle-width: 40px; $sidebar-toggle-width: 40px;
$sidebar-milestone-toggle-bottom-margin: 10px; $sidebar-milestone-toggle-bottom-margin: 10px;
$sidebar-avatar-size: 34px; $sidebar-avatar-size: 32px;
$sidebar-top-item-lr-margin: 4px; $sidebar-top-item-lr-margin: 4px;
$sidebar-top-item-tb-margin: 1px; $sidebar-top-item-tb-margin: 1px;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment