Remove more unused code

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-04-28 15:18:13 +02:00
parent b9e5358cd7
commit 9a089bb168
21 changed files with 37 additions and 264 deletions

View File

@ -1,14 +1,3 @@
.aliases {
&__accounts {
overflow-y: auto;
&.empty-column-indicator {
min-height: unset;
overflow-y: unset;
}
}
}
.aliases-settings-panel {
flex: 1;
.aliases__accounts.empty-column-indicator {
min-height: unset;
}

View File

@ -1,8 +0,0 @@
button {
font-family: inherit;
cursor: pointer;
&:focus {
outline: none;
}
}

View File

@ -29,18 +29,6 @@
font-family: inherit;
}
&__upload-wrapper { overflow: hidden; }
&__uploads-wrapper {
display: flex;
flex-direction: row;
flex-wrap: wrap;
&.contains-media {
padding: 5px;
}
}
&__upload {
flex: 1 1 0;
min-width: 40%;
@ -49,18 +37,6 @@
border-radius: 4px;
overflow: hidden;
&__actions {
@apply p-2 bg-gradient-to-b from-gray-900/80 via-gray-900/50 to-transparent flex items-start gap-2 justify-end opacity-0 transition-opacity duration-100 ease-linear;
&.active {
@apply opacity-100;
}
.icon-button {
@apply text-gray-200 hover:text-white text-sm font-medium p-2.5 space-x-1 rtl:space-x-reverse flex items-center;
}
}
&-description {
@apply bg-gradient-to-b from-transparent via-gray-900/50 to-gray-900/80 absolute z-[2px] bottom-0 left-0 right-0 p-2.5 opacity-0 transition-opacity duration-100 ease-linear;
@ -93,25 +69,25 @@
object-fit: cover;
}
}
}
&__upload-thumbnail {
background-position: center;
background-size: contain;
background-repeat: no-repeat;
height: 160px;
width: 100%;
overflow: hidden;
position: relative;
&.video {
background-image: url('../assets/images/video-placeholder.png');
background-size: cover;
}
&.audio {
background-image: url('../assets/images/audio-placeholder.png');
background-size: cover;
&-thumbnail {
background-position: center;
background-size: contain;
background-repeat: no-repeat;
height: 160px;
width: 100%;
overflow: hidden;
position: relative;
&.video {
background-image: url('../assets/images/video-placeholder.png');
background-size: cover;
}
&.audio {
background-image: url('../assets/images/audio-placeholder.png');
background-size: cover;
}
}
}
}

View File

@ -29,54 +29,6 @@
}
}
.error-modal {
@apply text-gray-900;
border-radius: 8px;
overflow: hidden;
display: flex;
flex-direction: column;
&__body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 80vh;
width: 80vw;
max-width: 520px;
max-height: 420px;
position: relative;
text-align: center;
& > div {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
box-sizing: border-box;
padding: 25px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
opacity: 0;
user-select: text;
}
}
&__footer {
flex: 0 0 auto;
display: flex;
justify-content: center;
padding: 25px;
& > div {
min-width: 33px;
}
}
}
.actions-modal {
@apply flex-col relative text-gray-400 overflow-hidden w-full max-w-lg m-auto bg-white black:bg-black dark:bg-gray-900 shadow-xl rounded-2xl;
max-height: calc(100vh - 3rem);

View File

@ -1,7 +1,3 @@
.search {
position: relative;
}
.search__icon {
&::-moz-focus-inner {
border: 0;
@ -30,15 +26,15 @@
pointer-events: auto;
opacity: 1;
}
}
.svg-icon--search.active {
pointer-events: none;
}
&--search.active {
pointer-events: none;
}
.svg-icon--backspace {
cursor: pointer;
width: 22px;
height: 22px;
&--backspace {
cursor: pointer;
width: 22px;
height: 22px;
}
}
}