Skip to content

Commit

Permalink
Remove unused CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire committed Dec 21, 2024
1 parent fb79f2c commit 00e7da6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 111 deletions.
107 changes: 0 additions & 107 deletions app/javascript/flavours/glitch/styles/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1553,46 +1553,6 @@ body > [data-popper-placement] {
}
}

.status__wrapper.collapsed {
.status {
background-position: center;
background-size: cover;
user-select: none;
min-height: 0;
}

.display-name:hover .display-name__html {
text-decoration: none;
}

.status__content {
height: 20px;
overflow: hidden;
text-overflow: ellipsis;
padding-top: 0;
mask-image: linear-gradient(rgb(0 0 0 / 100%), transparent);

a:hover {
text-decoration: none;
}
}

.notification__message {
margin-bottom: 0;
white-space: nowrap;
}
}

.notification__message-collapse-button {
text-align: end;
flex-grow: 2;

.status__collapse-button .icon {
width: 24px;
height: 24px;
}
}

.status__relative-time {
display: block;
font-size: 14px;
Expand Down Expand Up @@ -1661,73 +1621,6 @@ body > [data-popper-placement] {
}
}

.status__collapse-button {
// compensate for large padding built into the icon
margin: -4px;
}

.status__collapse-button.active > .icon {
transform: rotate(-180deg);
}

.no-reduce-motion .status__collapse-button {
&.activate {
& > .icon {
animation: spring-flip-in 1s linear;
}
}

&.deactivate {
& > .icon {
animation: spring-flip-out 1s linear;
}
}
}

@keyframes spring-flip-in {
0% {
transform: rotate(0deg);
}

30% {
transform: rotate(-242.4deg);
}

60% {
transform: rotate(-158.35deg);
}

90% {
transform: rotate(-187.5deg);
}

100% {
transform: rotate(-180deg);
}
}

@keyframes spring-flip-out {
0% {
transform: rotate(-180deg);
}

30% {
transform: rotate(62.4deg);
}

60% {
transform: rotate(-21.635deg);
}

90% {
transform: rotate(7.5deg);
}

100% {
transform: rotate(0deg);
}
}

.status-check-box__status {
display: block;
box-sizing: border-box;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,6 @@
text-decoration: none;
}
}

#mastodon-settings--collapsed-auto-height {
width: calc(4ch + 20px);
}
}

.glitch.local-settings__page__item.string,
Expand Down

0 comments on commit 00e7da6

Please sign in to comment.