Add styles for server unavailable
This commit is contained in:
parent
0f03ca5e27
commit
b6b8971399
1 changed files with 64 additions and 1 deletions
|
|
@ -303,7 +303,70 @@ h5 {
|
||||||
}
|
}
|
||||||
|
|
||||||
.LinkItem {
|
.LinkItem {
|
||||||
width: 100%;
|
$diameter: $unit-6x;
|
||||||
|
align-items: center;
|
||||||
|
background: var(--dialog-bg);
|
||||||
|
border: 1px solid var(--link-item-bg);
|
||||||
|
border-radius: $card-corner;
|
||||||
|
display: flex;
|
||||||
|
min-height: 82px;
|
||||||
|
transition: background $duration-zoom ease-in,
|
||||||
|
transform $duration-zoom ease-in;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background: var(--link-item-bg);
|
||||||
|
color: var(--text-primary);
|
||||||
|
|
||||||
|
.shareIcon {
|
||||||
|
fill: var(--text-primary);
|
||||||
|
transform: translate($unit-half, calc(($unit * -1) / 2));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.Left {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
gap: $unit;
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-weight: 600;
|
||||||
|
max-width: 70%;
|
||||||
|
line-height: 1.3;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: $unit-2x;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.left {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
gap: $unit-2x;
|
||||||
|
flex-grow: 1;
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
svg {
|
||||||
|
fill: var(--link-item-image-color);
|
||||||
|
width: $diameter;
|
||||||
|
height: auto;
|
||||||
|
transition: fill $duration-zoom ease-in;
|
||||||
|
|
||||||
|
&.shareIcon {
|
||||||
|
width: $unit-4x;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue