Fix glitch-soc SCSS code style and refactor closer to upstream

This commit is contained in:
Claire
2023-02-25 21:20:01 +01:00
parent ac8512a73a
commit cc94cc86ae
22 changed files with 144 additions and 70 deletions

View File

@@ -332,6 +332,7 @@
0% {
opacity: 0;
}
100% {
opacity: 1;
}
@@ -417,7 +418,7 @@
text-overflow: ellipsis;
padding-top: 0;
&:after {
&::after {
content: '';
position: absolute;
top: 0;
@@ -435,13 +436,15 @@
text-decoration: none;
}
}
&:focus > .status__content:after {
&:focus > .status__content::after {
background: linear-gradient(
rgba(lighten($ui-base-color, 4%), 0),
rgba(lighten($ui-base-color, 4%), 1)
);
}
&.status-direct > .status__content:after {
&.status-direct > .status__content::after {
background: linear-gradient(
rgba(lighten($ui-base-color, 8%), 0),
rgba(lighten($ui-base-color, 8%), 1)
@@ -458,7 +461,7 @@
}
.notification__message {
margin: -10px 0px 10px 0;
margin: -10px 0 10px;
}
}
@@ -1098,7 +1101,6 @@ a.status-card.compact:hover {
position: absolute;
top: 0;
left: 0;
pointer-events: 0;
width: 100%;
height: 100%;
border-left: 4px solid $highlight-text-color;