Skip to content

Commit

Permalink
Further class updates with ClassUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
Saltssaumure committed Nov 1, 2023
1 parent 1378107 commit 782df7a
Show file tree
Hide file tree
Showing 24 changed files with 131 additions and 131 deletions.
2 changes: 1 addition & 1 deletion scss/main/_channels.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
}

// Channel
.container-32HW5s,
.container__8759a,
.wrapper__7bcde {
margin-left: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion scss/main/_chatbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
}

// Attachment image
.imageContainer-ZRSemj {
.mediaContainer__4d8d9 {
margin: auto 0;
}

Expand Down
68 changes: 34 additions & 34 deletions scss/main/_forums.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
}

// Main container
.container-3wLKDe {
.container_b181b6 {
@include boxes.inset;
background: $bg;

// Post tags
.tags_e6c42a {
gap: 0;

& > :is(.pinIcon__39b6e, .tagPill-1kSbgP) {
& > :is(.pinIcon__39b6e, .tagPill_d9a5cc) {
@include boxes.box;
background: $grey;

Expand All @@ -35,12 +35,12 @@
}

// New post bubble
.newPostsButton-UaBhcU {
.newPostsButton__760c6 {
z-index: 2;
}

// Not have left-right padding on everything in list mode
.list-3FIpnh .content__23cab {
.list__5ced9 .content__23cab {
padding: 0;
}

Expand All @@ -53,7 +53,7 @@
left: 0 !important;
width: auto !important;

.headerRow-1MKoR- {
.headerRow__16d8e {
width: auto !important;
}
}
Expand All @@ -73,28 +73,28 @@
}

// Everything but post cards
.headerRow-1MKoR- {
.headerRow__16d8e {
padding: 0;

// Filter by tags bar
.tagsContainer-2bBw1x {
.tagsContainer_e0ece5 {
@include boxes.box;
background: $grey;
padding: 2px 12px;

// Sort and view dropdown
.sortDropdown-hY93nR {
.sortDropdown_ec3016 {
margin-bottom: 0;
&[aria-expanded="true"] {
@include boxes.inset;
}
}

.divider-2bkesd {
.divider__0a999 {
display: none;
}

.tagListInner-35MqcW {
.tagListInner__6097c {
gap: 0;
}
}
Expand All @@ -110,7 +110,7 @@
@include boxes.box;

// Search button and guidelines button
:is(.prefixElement-1U4XhR, .guidelinesButton-3Vrz0u) {
:is(.prefixElement__829f9, .guidelinesButton_d7afe7) {
@include boxes.clickable;
display: flex;
justify-content: center;
Expand All @@ -127,7 +127,7 @@
}

// Post message
.contentContainer-2xwoXK {
.contentContainer__92993 {
padding-left: 32px;

div {
Expand All @@ -140,10 +140,10 @@
}

// Post attachments
.container-3Om6RL {
.container__4f0d0 {
align-self: flex-end;

.uploadInput-3fblkw {
.uploadInput_bbab2f {
@include boxes.clickable;
height: 76px;
width: 76px;
Expand All @@ -155,8 +155,8 @@
}

// Attachment is image type
.imageContainer-ZRSemj > div:not([aria-expanded="false"]),
.imageContainer-ZRSemj > div:not([aria-expanded="false"]) > div {
.mediaContainer__4d8d9 > div:not([aria-expanded="false"]),
.mediaContainer__4d8d9 > div:not([aria-expanded="false"]) > div {
max-height: 76px;
max-width: 76px;

Expand All @@ -166,21 +166,21 @@
}

// Number of attachments
.badge-39TqBS {
.badge_f7250d {
z-index: 1;
background: $darkblue;
}

// Attachments popout
.popoutContainer-26yHc8 {
.popoutContainer__97400 {
z-index: 1;
@include boxes.box($position: absolute);
padding: 0;
top: -8px;
right: -8px;

// Scroller
.popout-2vZMlk {
.popout__6ba23 {
padding-bottom: 0;

&::-webkit-scrollbar-track,
Expand All @@ -198,26 +198,26 @@
}

// Create post button
.submitButton-3B-dZd {
.submitButton__6a7c5 {
height: 30px;
}

// Divider
.tagsDivider-3LhkLA {
.tagsDivider_a1443e {
display: none;
}

// Post tags
.tagsContainer-3rSFH5 {
.tagsContainer__11211 {
margin-left: 8px;
margin-top: 0px;
.tagListInner-1mCauI {
.tagListInner_b1b5c2 {
gap: 0;
}
}

// Post bar
.controlsContainer-2BcSvj {
.controlsContainer__45ade {
justify-content: flex-start;
gap: 0;
margin-top: 0;
Expand All @@ -230,12 +230,12 @@
width: 30px;
}

.controls-3EanmI {
.controls__2ddda {
flex-grow: initial;
gap: 0;

// Slowmode warning
.wrappedControls-1xJezP {
.wrappedControls__2ca40 {
order: 1;
padding-left: 4px;
}
Expand All @@ -246,38 +246,38 @@
}

// Post card
li.card-2JNtco {
li.card__691f2 {
padding: 0;
margin: 8px;
@include boxes.clickable;
}

:is(.container-2qVG6q, .container_c24cbd) {
:is(.container__99b06, .container_c24cbd) {
.markup_a7e664 {
color: var(--text-normal);
}

&:not(.isOpen-2OXbFs, .isOpen_d88bb6) {
&:not(.isOpen__8593d, .isOpen_d88bb6) {
&:hover,
&:active {
background-color: var(--background-primary);
transform: none;
}
}

&:is(.isOpen-2OXbFs, .isOpen_d88bb6) {
&:is(.isOpen__8593d, .isOpen_d88bb6) {
@include boxes.inset;
}

// Post content preview
.thumbnailContainer-2XSRmY,
.contentPreview-3fWiuC,
.bodyMedia-3UL0Kl {
.thumbnailContainer_f53f40,
.contentPreview_b317ee,
.bodyMedia__06a5b {
@include boxes.inset;
}

// Text content
.contentPreview-3fWiuC {
.contentPreview_b317ee {
background: $bg;

.markup_a7e664 {
Expand Down
2 changes: 1 addition & 1 deletion scss/main/_friends.scss
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
}

// Title
.container-q97qHp {
.container_de798d {
color: $black;
text-transform: none;
margin-bottom: 8px;
Expand Down
2 changes: 1 addition & 1 deletion scss/main/_headerbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:is(
.container__5c7e7 .container__11d72,
.container__42489 .container__11d72,
.pageWrapper_fef757 .scroller-3j5xK2,
.pageWrapper_fef757 .scroller__1f4dd,
.scroller_e9501c .viewWrapper__31916,
.applicationStore_fc7d76 .homeWrapper__59a03,
.container_def45c:not(.floating_f021e2) .container__11d72:not(.wrapper_bd2abe .container__11d72),
Expand Down
4 changes: 2 additions & 2 deletions scss/main/_messages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -285,12 +285,12 @@

// Spoiler text
.messageContent__21e69 {
.spoilerText-2G40u0.hidden_f44e41 {
.spoilerMarkdownContent__2b8f8.hidden_f44e41 {
@include boxes.box;
background: $darkgrey;
}

.spoilerText-2G40u0 {
.spoilerMarkdownContent__2b8f8 {
@include boxes.inset;
background: $bg;
}
Expand Down
20 changes: 10 additions & 10 deletions scss/main/_publicservers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
.appMount_fae9dd .pageWrapper_fef757 {
background: $grey;

.scroller-3j5xK2 {
.scroller__1f4dd {
padding: 16px;
}

.searchBox_a63854 {
background: unset;
padding-right: 0;

.searchBoxInput-3h4etz {
.searchBoxInput__73c9c {
color: $text;
}

Expand All @@ -59,7 +59,7 @@
height: 24px;
}

.closeIcon-BMGxx0 {
.closeIcon__3dfb5 {
color: $black;
width: 20px;
height: 20px;
Expand All @@ -75,13 +75,13 @@
}
}

.footer-26kPv_ {
.footer_c65acf {
padding-bottom: 64px;
}
}

// Search results
.searchPage-1Rxeav {
.searchPage__3f316 {
.container__56ed5 {
margin-left: 248px;
padding: 60px 16px 0;
Expand All @@ -100,25 +100,25 @@
}

// Result categories
.categories-2LoSbA {
.categories_e49c23 {
@include boxes.box($position: fixed);
left: $window-left + 2px;
top: $window-top + $title-height + 64px;
bottom: $window-bottom + 28px;
flex-direction: column;

.categoryPill-1zjNrr {
.categoryPill_c95cea {
width: 240px;
padding: calc((34px - 16px) / 2);
margin: 0;
color: $black;

&:is(.selected-bLcqYK, :hover, :active) {
&:is(.selected__24846, :hover, :active) {
background: $darkblue;
color: $white;
}

.categoryLabel-2m4AT- {
.categoryLabel__44b10 {
font-size: 16px;
text-align: left;
color: inherit;
Expand All @@ -135,7 +135,7 @@
}

// Result servers
.guildList-QjZKeK {
.guildList__454fa {
gap: 0;

.card__33bd0 {
Expand Down
8 changes: 4 additions & 4 deletions scss/overlay/modals/_activities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
@use "../../top/boxes" as boxes;

// Activities
.scrollSection-HnJkHK {
.scrollSection__316d5 {
padding: 0 8px;
}

.shelf-3D6g4D {
.shelf__32747 {
gap: 8px;

.activityItem-1Z9CTr {
.activityItem__33da9 {
@include boxes.clickable;

.activityTag-3C3YK5 {
.activityTag__01970 {
@include boxes.box;
}
}
Expand Down
Loading

0 comments on commit 782df7a

Please sign in to comment.