Skip to content

Commit

Permalink
refactor: remove some unused SCSS
Browse files Browse the repository at this point in the history
I searched the codebase and it appears to not have these classes.

The majority of the elements that use the removed classes
were removed in e04604a,
then `import-qr-code-dialog` was removed, in e2b23d3.

e6f0521 introduced
`ephermeral-message__select-option` SCSS, but no elements use it.
`git log -S"ephemeral-message"` shows only this commit.
  • Loading branch information
WofWca committed Oct 24, 2024
1 parent 2c84c16 commit adf3005
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 197 deletions.
1 change: 0 additions & 1 deletion packages/frontend/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ $z-index: (
// ============
chatlist-scope-floating-action-button: 1,
jump-down-button-scope-counter: 1,
import-qr-code-dialog-scope-scan-qr-description: 1,
account-list-sidebar-scope-account-badge: 1,

// Global Scope
Expand Down
13 changes: 0 additions & 13 deletions packages/frontend/scss/dialogs/_autocrypt_setup.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,3 @@
}
}
}

.enter-autocrypt-setup-message-dialog {
.dialog-body {
padding: 0px 10px;
background: var(--bgPrimary);
}

p.autocrypt-setup-error {
background-color: rgba(255, 0, 0, 0.2);
padding: 5px 6px;
white-space: pre-wrap;
}
}
30 changes: 0 additions & 30 deletions packages/frontend/scss/dialogs/_ephermeral_message.scss

This file was deleted.

50 changes: 0 additions & 50 deletions packages/frontend/scss/dialogs/_qr-import.scss

This file was deleted.

19 changes: 0 additions & 19 deletions packages/frontend/scss/dialogs/_settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,25 +62,6 @@
align-items: center;
flex-direction: column;
}
.profile-displayname-addr {
display: flex;
margin-left: 20px;
flex-direction: column;
justify-content: center;

.displayname {
font-size: large;
font-weight: 200;
}

.addr {
color: #969696;
margin-top: 5px;
text-overflow: ellipsis;
overflow-wrap: break-word;
overflow-wrap: anywhere;
}
}
}

.theme-meta {
Expand Down
81 changes: 0 additions & 81 deletions packages/frontend/scss/dialogs/multidevice/send_backup.scss

This file was deleted.

3 changes: 0 additions & 3 deletions packages/frontend/scss/manifest.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,7 @@
@import 'dialogs/_settings';
@import 'dialogs/_view_profile';
@import 'dialogs/_mailto-dialog';
@import 'dialogs/_qr-import';
@import 'dialogs/_ephermeral_message';
@import 'dialogs/_qr-code';
@import 'dialogs/multidevice/send_backup';
@import 'dialogs/webxdc_send_to_chat.scss';

// Login
Expand Down

0 comments on commit adf3005

Please sign in to comment.