Skip to content

Commit

Permalink
Use alternative Translated status color in the Light theme in combina…
Browse files Browse the repository at this point in the history
…tion with font-weight: 300 [in /translate]
  • Loading branch information
mathjazz committed Oct 25, 2023
1 parent ffd7655 commit e9ac17f
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
}

.batch-actions .topbar button.selected-count .stress {
color: var(--status-translated);
color: var(--status-translated-alt);
}

.batch-actions .topbar button .fa {
Expand Down
2 changes: 1 addition & 1 deletion translate/src/modules/entitydetails/components/Helpers.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@

.react-tabs span.count .preferred,
.react-tabs span.count .pinned {
color: var(--status-translated);
color: var(--status-translated-alt);
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
}

.history .translation .content > header .info a {
color: var(--status-translated);
color: var(--status-translated-alt);
}

.history .translation .content > header .toggle {
Expand All @@ -95,7 +95,7 @@
}

.history .translation .content > header .toggle.active .stress {
color: var(--status-translated);
color: var(--status-translated-alt);
}

.history .translation .content > header button {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

.machinery .translation > header .quality,
.machinery .translation > header sup {
color: var(--status-translated);
color: var(--status-translated-alt);
}

.machinery .translation > header .projects {
Expand Down
2 changes: 1 addition & 1 deletion translate/src/modules/navbar/components/Navigation.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
}

.navigation .locale-code {
color: var(--status-translated);
color: var(--status-translated-alt);
padding-left: 7px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}

.other-locales .translation > header span {
color: var(--status-translated);
color: var(--status-translated-alt);
padding-left: 3px;
}

Expand Down
2 changes: 1 addition & 1 deletion translate/src/modules/project/components/ProjectItem.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
}

.project-menu .menu .percent {
color: var(--status-translated);
color: var(--status-translate-alt);
float: right;
}
2 changes: 1 addition & 1 deletion translate/src/modules/resource/components/ResourceMenu.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
}

.resource-menu .menu .current a {
color: var(--status-translated);
color: var(--status-translated-alt);
}

.resource-menu .menu .header {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.resource-menu .menu .percent {
color: var(--status-translated);
color: var(--status-translated-alt);
float: right;
}
2 changes: 1 addition & 1 deletion translate/src/modules/search/components/FiltersPanel.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
.filters-panel .menu li.horizontal-separator {
background: transparent;
border-top: none;
color: var(--status-translated);
color: var(--status-translated-alt);
cursor: default;
font-size: 13px;
height: auto;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}

.filters-panel .menu .for-time-range button.save-range {
color: var(--status-translated);
color: var(--status-translated-alt);
}

.filters-panel .menu li.for-time-range button:hover {
Expand Down
2 changes: 1 addition & 1 deletion translate/src/modules/search/components/chart-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const CHART_OPTIONS = {
select: {
fill: 'none',
style: {
color: style.getPropertyValue('--status-translated'),
color: style.getPropertyValue('--status-translated-alt'),
fontWeight: 300,
},
},
Expand Down
4 changes: 2 additions & 2 deletions translate/src/modules/terms/components/Term.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
}

.terms-list .term .translate {
color: var(--status-translated);
color: var(--status-translated-alt);
float: right;
font-size: 11px;
font-weight: 300;
Expand All @@ -50,7 +50,7 @@
}

.terms-list .term .usage .title {
color: var(--status-translated);
color: var(--status-translated-alt);
font-size: 11px;
margin-right: 3px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@

.translationform label > :not(:last-child)::after {
content: '·';
color: var(--status-translated);
color: var(--status-translated-alt);
padding: 0 3px;
}

.translationform label .stress {
color: var(--status-translated);
color: var(--status-translated-alt);
}

.translationform .accesskey-input {
Expand Down

0 comments on commit e9ac17f

Please sign in to comment.