Skip to content

Commit d2e3fb1

Browse files
committed
add back comments and put more
fix some things, small adjustments. Remove weird double border on the search in emoji picker. Still don't know what barBrand is. Oh Well
1 parent 946f37f commit d2e3fb1

File tree

3 files changed

+83
-31
lines changed

3 files changed

+83
-31
lines changed

lib/selectors/selectorPlaceholders.scss

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2767,6 +2767,9 @@ pre {
27672767
.secured_effb26 {
27682768
@extend %connectionDebugSecured !optional;
27692769
}
2770+
.wrapper__4e6ce {
2771+
@extend %emojiPickerGuildBar !optional;
2772+
}
27702773
.emojiPicker_c0e32c {
27712774
@extend %emojiPicker !optional;
27722775
}
@@ -4824,7 +4827,7 @@ pre {
48244827
@extend %headingSmallMedium !optional;
48254828
}
48264829
.picker__09f65 {
4827-
@extend %soundboard !optional;
4830+
@extend %soundboard !optional; //also used in emoji picket
48284831
}
48294832
.soundButton__6d4ed {
48304833
@extend %soundboardButton !optional;
@@ -5575,3 +5578,12 @@ pre {
55755578
.codeIcon__4d95d {
55765579
@extend %textContainerCodeIcon !optional;
55775580
}
5581+
.tabBody__133bf {
5582+
@extend %friendsList !optional
5583+
}
5584+
.childWrapperNoHoverBg__6e9f8 {
5585+
@extend %homeIconBackground !optional
5586+
}
5587+
.embedFull__623de {
5588+
@extend %embedBackground !optional;
5589+
}

src/general/badge.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
font-size: 12px;
1313
line-height: 12px;
1414
margin-right: 5px;
15+
z-index: 1;
1516
}
1617
%channelWrapperSelected,
1718
%privateChannelInteractiveSelected,
@@ -55,4 +56,5 @@
5556
// HOME ICON BADGE
5657
%homeNumberBadge {
5758
margin-right: -5px;
59+
z-index: 1;
5860
}

src/visualRefresh.scss

Lines changed: 68 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,25 @@
99
z-index: -9999;
1010
}
1111

12-
// TRANSPARENT BACKGROUNDS
12+
// GUILDS
1313
%guildsWrapper,
14+
// ACC PANEL
1415
%panels,
1516
%channelsHeader,
1617
%channelsSidebar::after,
18+
// SETTINGS
1719
%standardSidebarView,
1820
%settingsSidebarScroller,
19-
.tabBody__133bf,
21+
// FRIENDS LIST APPARENTLY
22+
%friendsList,
23+
// CHANNELS HEADER
2024
%channelsHeaderClickable,
25+
// CHANNELS ATTACH BAR
2126
%channelTextAreAttachedBar,
27+
// DATE DIVIDER
2228
%dividerDate,
23-
.childWrapperNoHoverBg__6e9f8 {
29+
// HOME ICON BACKGROUND WHEN NO HOVER
30+
%homeIconBackground {
2431
background: transparent;
2532
}
2633

@@ -41,73 +48,104 @@
4148
background-color: rgba(0, 0, 0, 0.6);
4249
}
4350

51+
// FORUM HEADER & ATTACHMENT AREA
4452
%forumChatHead,
4553
.header__34c2c,
4654
.channelAttachmentArea_b77158 {
4755
background: rgba(0, 0, 0, 0.6);
4856
}
4957

58+
// UPLOAD AREA
5059
%channelTextAreaUpload {
5160
background: rgba(0, 0, 0, 0.4);
5261
border: 1px solid $main-color;
5362
}
5463

64+
// GUILD EXPANDED FOLDER BG
5565
%guildExpandedFolderBackground {
5666
background-color: $main-color;
5767
}
5868

59-
.picker__09f65 {
60-
background: var(--popout-color);
61-
}
62-
63-
.wrapper__4e6ce {
64-
background: transparent;
65-
}
66-
69+
// BRAND BAR IDK WTF THIS WAS
6770
%barBrand {
6871
background-color: $main-color;
6972
border: none;
7073
}
7174

75+
// MEMBER ACTIVITY IN CHAT
7276
%memberActivityContainer {
7377
background: var(--card-color);
7478
border: 1px solid $main-color;
7579
}
7680

81+
// EMOJI PICKER
82+
%emojiPicker {
83+
background-color: transparent;
84+
}
85+
7786
%emojiPickerInspector {
7887
background-color: transparent;
7988
border-top: var(--border-faint);
80-
}
89+
}
8190

82-
// VENCORD READ ALL
83-
html:not(.visual-refresh .scroller_ef3116) button.vc-ranb-button.button__201d5.lookFilled__201d5.sizeMin__201d5.grow__201d5 {
84-
position: static;
85-
background: rgba(0, 0, 0, 0.4);
86-
border-radius: 50px;
87-
color: var(--text-normal);
88-
box-sizing: border-box;
89-
padding: 4px 8px;
90-
overflow: visible;
91-
z-index: 1;
92-
transition: all 0.6s linear;
93-
&:hover {
94-
background: $hover-color;
91+
%emojiPickerGuildBar {
92+
background: transparent;
93+
}
94+
95+
%emojiPickerWrapper {
96+
background-color: transparent;
9597
}
96-
}
9798

99+
%emojiPickerCategoryHeaderWrapper {
100+
background-color: $main-color;
101+
}
102+
// REMOVE WEIRD DOUBLE BORDER ON SEARCH IN EMOJI PICKER
103+
:where(.visual-refresh) .container_a45028:focus-within {
104+
border-color: none;
105+
}
106+
107+
// VENCORD READ ALL
108+
.vc-ranb-button {
109+
border-radius: 50px !important; // !IMPORTANT BECAUSE VENCORD USED INLINE STYLING
110+
&:hover {background-color: $hover-color;}
111+
}
112+
113+
html:not(.visual-refresh .scroller_ef3116) button.vc-ranb-button.button__201d5.lookFilled__201d5.sizeMin__201d5.grow__201d5 {
114+
position: static;
115+
background: rgba(0, 0, 0, 0.4);
116+
border-radius: 50px;
117+
color: var(--text-normal);
118+
box-sizing: border-box;
119+
padding: 4px 8px;
120+
overflow: visible;
121+
z-index: 1;
122+
transition: all 0.6s linear;
123+
border-color: none;
124+
&:hover { background: $hover-color;}
125+
}
126+
127+
// POPOUT GOING UP
98128
.popout__3f413, .popout__3f413.popoutPositionTop__3f413 {
99-
background: rgba(0, 0, 0, 0.8);
129+
background: var(--popout-color);
100130
}
101131

132+
// MESSAGE BUTTON WRAPPER
102133
%messageButtonWrapper {
103134
background: rgba(0, 0, 0, 0.7);
104135
}
105136

106-
.embedFull__623de {
107-
background: rgba(0, 0, 0, 0.6) !important;
137+
// EMBED MESSAGE BACKGROUND
138+
%embedBackground {
139+
background: rgba(0, 0, 0, 0.6) !important; // !IMPORTANT BECAUSE DISCORD USED INLINE STYLE
108140
}
109141

142+
// GUILD MEMBERS LIST
110143
%membersContainer {
111144
border-left: none;
112145
}
113-
}
146+
147+
// SOUNDBOARD (DUH)
148+
%soundboard {
149+
background: var(--popout-color);
150+
}
151+
}

0 commit comments

Comments
 (0)