Undid changes to Service Status

This commit is contained in:
Neshura 2023-03-17 00:26:40 +01:00
parent 4b70f4892c
commit 9a6db5128a
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

@ -82,13 +82,11 @@ const CardTitleIcon = styled.div`
const CardStatus = styled.p<OnlinePropType>`
display: flex;
flex-direction: row;
position: absolute;
top: -0.8rem;
left: 80%;
font-size: 0.9rem;
padding: 0 0.2rem;
margin: 0;
padding: 0.1rem 0.3rem;
margin: 0.5rem;
margin-right: 1.5rem;
color: ${props => {
let ret;
@ -108,35 +106,11 @@ const CardStatus = styled.p<OnlinePropType>`
return ret;
}};
border-radius: 0.5rem;
border: 0.125rem solid;
border-radius: 0.5rem;
border: 0;
border-bottom: 0.125rem solid;
${({ theme }) => {
let ret;
if (theme.backgroundImage) {
ret = css`
background-image: ${() => {
return css`
linear-gradient(${theme.colors.background}, ${theme.colors.background}),
url(${theme.backgroundImage})
`
}};
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
background-position: ${theme.backgroundOffset ? theme.backgroundOffset : "60%"};
background-position-y: 0;
`;
}
else {
ret = css`
background-color: ${({ theme }) => theme.colors.background};
`;
}
return ret;
}};
background: transparent;
`
const CardTitle = styled.div`