mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Refined attribution table unavailable source style
- updates legend color for Unavailable to match Others as a white transparent dot
This commit is contained in:
parent
16ada37358
commit
f9215cbbe4
2 changed files with 6 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
||||||
<div class="gh-dashboard-list-body">
|
<div class="gh-dashboard-list-body">
|
||||||
{{#each this.sources as |sourceData|}}
|
{{#each this.sources as |sourceData|}}
|
||||||
<div class="gh-dashboard-list-item">
|
<div class="gh-dashboard-list-item">
|
||||||
<div class="gh-dashboard-list-item-sub gh-dashboard-list-item-sub-source">
|
<div class="gh-dashboard-list-item-sub gh-dashboard-list-item-sub-source {{if (eq sourceData.source "Unavailable") "gh-dashboard-list-item-unavailable-source"}}">
|
||||||
<span class="gh-dashboard-list-text">{{sourceData.source}}
|
<span class="gh-dashboard-list-text">{{sourceData.source}}
|
||||||
{{!-- <sup class="gh-dashboard-list-asterisk">*</sup> --}}
|
{{!-- <sup class="gh-dashboard-list-asterisk">*</sup> --}}
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -1145,6 +1145,11 @@ Dashboard Attribution */
|
||||||
background: #F5C9C2;
|
background: #F5C9C2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gh-dashboard-list-item-sub.gh-dashboard-list-item-unavailable-source.gh-dashboard-list-item-sub-source::after {
|
||||||
|
background: transparent;
|
||||||
|
border: 1px solid var(--lightgrey);
|
||||||
|
}
|
||||||
|
|
||||||
.gh-dashboard-list-item-sub.gh-dashboard-list-item-other-source.gh-dashboard-list-item-sub-source::after {
|
.gh-dashboard-list-item-sub.gh-dashboard-list-item-other-source.gh-dashboard-list-item-sub-source::after {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: 1px solid var(--lightgrey);
|
border: 1px solid var(--lightgrey);
|
||||||
|
|
Loading…
Add table
Reference in a new issue