Make instance ticker more readable
This commit is contained in:
parent
97ca9b9068
commit
9096e4b1f2
1 changed files with 6 additions and 5 deletions
|
@ -45,7 +45,7 @@ const themeColor =
|
||||||
instance.themeColor ?? computedStyle.getPropertyValue("--bg");
|
instance.themeColor ?? computedStyle.getPropertyValue("--bg");
|
||||||
|
|
||||||
const bg = {
|
const bg = {
|
||||||
background: `linear-gradient(90deg, ${themeColor}, ${themeColor}55)`,
|
background: `${themeColor}B3`,
|
||||||
};
|
};
|
||||||
|
|
||||||
function getInstanceIcon(instance): string {
|
function getInstanceIcon(instance): string {
|
||||||
|
@ -80,6 +80,7 @@ function getInstanceIcon(instance): string {
|
||||||
|
|
||||||
> .name {
|
> .name {
|
||||||
display: none;
|
display: none;
|
||||||
|
color: #fff;
|
||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
font-size: 0.85em;
|
font-size: 0.85em;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
@ -87,10 +88,10 @@ function getInstanceIcon(instance): string {
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-shadow:
|
text-shadow:
|
||||||
-1px -1px 0 var(--bg),
|
-1px -1px 0 #000,
|
||||||
1px -1px 0 var(--bg),
|
1px -1px 0 #000,
|
||||||
-1px 1px 0 var(--bg),
|
-1px 1px 0 #000,
|
||||||
1px 1px 0 var(--bg);
|
1px 1px 0 #000;
|
||||||
.article > .main &,
|
.article > .main &,
|
||||||
.header > .body & {
|
.header > .body & {
|
||||||
display: unset;
|
display: unset;
|
||||||
|
|
Loading…
Reference in a new issue