Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

[MM-29034] Remove usage of sidebar-text-## CSS variables #6634

Merged
merged 1 commit into from
Oct 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
margin-top: 8px;
height: 4px;
border-radius: 4px;
background-color: var(--sidebar-text-16);
background-color: rgba(var(--sidebar-text-rgb), 0.16);

.ProgressBar {
border-radius: 4px;
Expand Down
2 changes: 0 additions & 2 deletions sass/base/_css_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
--sidebar-header-bg: #1153ab;
--sidebar-header-text-color: #ffffff;
--sidebar-text: #ffffff;
--sidebar-text-60: #ffffff99;
--sidebar-text-80: #ffffffcc;
--sidebar-text-active-border: #579eff;
--sidebar-text-active-color: #ffffff;
--sidebar-text-hover-bg: #4578bf;
Expand Down
6 changes: 3 additions & 3 deletions sass/layout/_legacy-sidebar-left.scss
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
padding-bottom: 10px;
li {
>h4, >.nav-more {
color: var(--sidebar-text-60);
color: rgba(var(--sidebar-text-rgb), 0.6);
}
}
}
Expand Down Expand Up @@ -269,7 +269,7 @@

.sidebar-item {
@include single-transition(none);
color: v(sidebar-text-60);
color: rgba(var(--sidebar-text-rgb), 0.6);
align-items: center;
border-radius: 0;
display: flex;
Expand Down Expand Up @@ -399,7 +399,7 @@
border-radius: 50%;
line-height: 0;
height: 28px;
color: var(--sidebar-text-80);
color: rgba(var(--sidebar-text-rgb), 0.8);

&:hover, &:focus {
color: var(--sidebar-text);
Expand Down