Skip to content

Commit 491990a

Browse files
committed
format
1 parent 93ceddd commit 491990a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1041
-485
lines changed

lib/selectors/selectorPlaceholders.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2219,7 +2219,7 @@ pre {
22192219
.repliedTextPreview_c19a55 {
22202220
@extend %messageRepliedTextPreview !optional;
22212221
}
2222-
.repliedMessageClickableSpineHovered_c19a55 {
2222+
.repliedMessageClickableSpineHovered_c19a55 {
22232223
@extend %messageRepliedSpineHovered !optional;
22242224
}
22252225
.repliedTextContent_c19a55 {
@@ -5602,4 +5602,4 @@ pre {
56025602
}
56035603
.scroller__28a87 {
56045604
@extend %ageRestricted !optional;
5605-
}
5605+
}

main.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,4 @@ $version: '6.9.0';
172172

173173
// FIXES
174174
@import 'src/fixespt2';
175-
@import 'src/visualRefresh'
175+
@import 'src/visualRefresh';

src/app/app.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,5 @@ textarea,
7272

7373
// TAB FOCUS
7474
%focusRing {
75-
box-shadow: 0 0 0 4px cv('colors.focus');
75+
box-shadow: 0 0 0 4px cv('colors.focus');
7676
}

src/channels/category.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
transition: all 0.3s ease-in-out;
3434
background: linear-gradient(to right, $main-color 50%, transparent);
3535
margin-left: 5px;
36-
}
36+
}
3737
}
3838

3939
// COLLAPSED

src/channels/channels.scss

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ html:not(%visualRefresh) %channelsSidebar:not(%channelsSidebarHidden) {
1111
}
1212

1313
// CHANNELS HEADER
14-
%channelsHeaderClickable, %channelsHeaderSelected {
14+
%channelsHeaderClickable,
15+
%channelsHeaderSelected {
1516
%channelsHeader {
1617
&:hover {
1718
background-color: hsla(0, 0%, 100%, 0.1);
@@ -104,7 +105,7 @@ html:not(%visualRefresh) %channelsSidebar:not(%channelsSidebarHidden) {
104105
background: var(--background-modifier-hover);
105106
}
106107
:is(%channelName, %channelIcon) {
107-
color: var(--channel-hovered);
108+
color: var(--channel-hovered);
108109
}
109110
}
110111
// UNREAD
@@ -164,7 +165,6 @@ html:not(%visualRefresh) %channelsSidebar:not(%channelsSidebarHidden) {
164165
&:hover {
165166
:is(%channelName, %channelIcon) {
166167
color: var(--channel-color);
167-
168168
}
169169
}
170170
}
@@ -243,7 +243,9 @@ html:not(%visualRefresh) %channelsSidebar:not(%channelsSidebarHidden) {
243243
height: 1.7em;
244244
background: linear-gradient(to right, $main-color 10%, transparent);
245245
opacity: 0.5;
246-
transition: all 0.1s ease-in-out, width 0.15s ease-in-out;
246+
transition:
247+
all 0.1s ease-in-out,
248+
width 0.15s ease-in-out;
247249
pointer-events: none;
248250
z-index: -1;
249251
border-radius: 999px;
@@ -252,7 +254,9 @@ html:not(%visualRefresh) %channelsSidebar:not(%channelsSidebarHidden) {
252254
}
253255
}
254256
%voiceUserAvatarSpeaking {
255-
box-shadow: 0 0 0 2px $main-color, inset 0 0 3px rgba(0, 0, 0, 0.5);
257+
box-shadow:
258+
0 0 0 2px $main-color,
259+
inset 0 0 3px rgba(0, 0, 0, 0.5);
256260
&:after {
257261
@include pos($top: -2px, $bottom: -2px);
258262
width: 150px;
@@ -321,4 +325,4 @@ html:not(%visualRefresh) %channelsSidebar:not(%channelsSidebarHidden) {
321325
color: #fff;
322326
}
323327
}
324-
}
328+
}

src/channels/panels.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
%panel,
1010
%panelContainer {
1111
background-color: transparent;
12-
}
12+
}
1313
}
1414

1515
// ACCOUNT & CONNECTION PANELS

src/channels/privateChannels.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
max-width: none;
5151
}
5252
%privateChannelInteractive {
53-
position: relative;
53+
position: relative;
5454
color: var(--channel-color);
5555
z-index: 1;
5656
&:before {

src/chat/call.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323
%callUserTile {
2424
background-color: transparent;
25-
}/*
25+
} /*
2626
%callParticipantsButton {
2727
background-color: cv('bg.general.card');
2828
&:hover {
@@ -98,8 +98,7 @@
9898
background-color: cv('bg.general.card');
9999
}
100100

101-
102101
// TEXT CHAT
103102
%callChatWrapper {
104103
background: transparent;
105-
}
104+
}

src/chat/chat.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,4 @@ div[aria-checked='true'] %replyMentionButton {
115115
border: 2px dashed hsla(0, 0%, 100%, 0.5);
116116
}
117117
}
118-
}
118+
}

src/chat/modView.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@
4747
background-color: hsla(0, 0%, 0%, 0.6);
4848
border: 1px solid hsla(0, 0%, 100%, 0.05);
4949
}
50-
}
50+
}

src/chat/textArea.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
}
6161
}
6262

63-
6463
// LINK
6564
%fakeLink {
6665
color: var(--url-color);
@@ -149,4 +148,4 @@
149148
}
150149
%chatToolbarIcon {
151150
color: hsla(0, 0%, 100%, 0.7);
152-
}
151+
}

src/functions.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
@use "sass:map";
2-
@use "sass:string";
1+
@use 'sass:map';
2+
@use 'sass:string';
33
/// Get a variable from the ClearVision variables map
44
/// @param {string} $id identification for a variable
55
/// @return {*} variable

src/general/badge.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
%numberBadge,
33
%textBadge {
44
background: $main-color !important;
5-
box-shadow: 0 0 10px -3px $main-color, 0 0 0 1px $main-color;
5+
box-shadow:
6+
0 0 10px -3px $main-color,
7+
0 0 0 1px $main-color;
68
color: #fff;
79
font-weight: 600;
810
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);

src/general/button.scss

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@
66

77
// BUTTON FILLED
88
%buttonFilled {
9-
&:is(
10-
%buttonColorBrand,
11-
%buttonColorGreen,
12-
%buttonCallInvite,
13-
%buttonColorPrimary) {
9+
&:is(%buttonColorBrand, %buttonColorGreen, %buttonCallInvite, %buttonColorPrimary) {
1410
background: $main-color;
1511
color: #fff;
1612
&:hover {
@@ -51,11 +47,7 @@
5147

5248
// BUTTON OUTLINED
5349
%buttonOutlined {
54-
&:is(
55-
%buttonColorWhite,
56-
%buttonColorPrimary,
57-
%buttonColorGreen,
58-
%buttonColorBrand) {
50+
&:is(%buttonColorWhite, %buttonColorPrimary, %buttonColorGreen, %buttonColorBrand) {
5951
border-color: $main-color;
6052
color: hsla(0, 0%, 100%, 0.8);
6153
&:hover {
@@ -76,9 +68,7 @@
7668

7769
// BUTTON LINK
7870
%buttonLink {
79-
&:is(
80-
%buttonColorWhite,
81-
%buttonColorPrimary) {
71+
&:is(%buttonColorWhite, %buttonColorPrimary) {
8272
color: #fff;
8373
}
8474
&%buttonColorBrand {

src/general/checkbox.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
background-color: transparent !important;
77
border-color: $main-color !important;
88
}
9-
}
9+
}

src/guilds/guilds.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,6 @@
151151
}
152152
%guildFocus {
153153
stroke: cv('colors.focus');
154-
fill: transparent
154+
fill: transparent;
155155
}
156-
}
156+
}

src/injectors/bd/plugins.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ div#magane div.stickerWindow {
44
}
55
div#magane div.stickerWindow div.stickers h3.getStarted {
66
color: #fff;
7-
}/*
7+
} /*
88
div#magane div.stickerWindow:not(:has(> [style^='display'])) div.stickers *,
99
div#magane div.stickerWindow:not(:has(> [style^='display'])) div.packs-toolbar * {
1010
display: none;

src/injectors/bd/sidebar.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
color: hsla(0, 0%, 100%, 0.3);
2929
padding: 8px 0 8px 20px;
3030
margin: 0;
31-
transition: all 0.15s ease-in-out, background-size 0.3s ease-in-out;
31+
transition:
32+
all 0.15s ease-in-out,
33+
background-size 0.3s ease-in-out;
3234
cursor: pointer;
3335
&:before {
3436
opacity: 0.3;
@@ -57,7 +59,9 @@
5759
&%bdSettingsSidebarItemSelected {
5860
background: transparent;
5961
color: #fff;
60-
transition: all 0.15s ease-in-out, background 0.3s 0.2s;
62+
transition:
63+
all 0.15s ease-in-out,
64+
background 0.3s 0.2s;
6165
&:before {
6266
opacity: 1;
6367
}

src/injectors/ven/plugins.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,21 @@
2828
}
2929
#vc-spotify-progress-bar %sliderBarFill {
3030
background: $main-color;
31-
transition: background .5s ease-in-out;
31+
transition: background 0.5s ease-in-out;
3232
&:hover {
33-
background: $hover-color;
33+
background: $hover-color;
3434
}
35-
}
36-
#vc-spotify-progress-bar %slider %sliderGrabber {
35+
}
36+
#vc-spotify-progress-bar %slider %sliderGrabber {
3737
background: $main-color;
3838
border: 1px solid $main-color;
3939
color: $main-color;
4040
margin-top: 5px; /* they said this was fixed upstream, but it's still off-center lol */
41-
transition: background .5s ease-in-out;
41+
transition: background 0.5s ease-in-out;
4242
&:hover {
43-
background-color: $hover-color;
44-
border: 1px solid $hover-color;
45-
color: $hover-color;
43+
background-color: $hover-color;
44+
border: 1px solid $hover-color;
45+
color: $hover-color;
4646
}
4747
}
4848

src/keyframes.scss

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,25 @@
5555
}
5656
@keyframes cv-update-downloading {
5757
0% {
58-
background-size: 24px, 10px 0;
58+
background-size:
59+
24px,
60+
10px 0;
5961
}
6062
50% {
61-
background-position: center, 50% 10px;
62-
background-size: 24px, 10px 10px;
63+
background-position:
64+
center,
65+
50% 10px;
66+
background-size:
67+
24px,
68+
10px 10px;
6369
}
6470
100% {
65-
background-position: center, 50% 20px;
66-
background-size: 24px, 10px 0;
71+
background-position:
72+
center,
73+
50% 20px;
74+
background-size:
75+
24px,
76+
10px 0;
6777
}
6878
}
6979
@keyframes cv-spin {

src/members/members.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
width: cv('members-width');
1616
}
1717

18-
1918
// GROUP
2019
%membersGroup {
2120
padding-top: 20px;
@@ -66,7 +65,9 @@
6665
position: relative;
6766
padding: 0 16px 0 8px;
6867
width: unset;
69-
transition: all 0.15s ease-in-out, transform 0.1s ease-in-out;
68+
transition:
69+
all 0.15s ease-in-out,
70+
transform 0.1s ease-in-out;
7071
z-index: 1;
7172
&:active {
7273
transform: scale(0.9);
@@ -245,4 +246,4 @@
245246
/*clicked in icon*/
246247
%memberActivityShareToChannelButton {
247248
border-right: 1px solid hsla(0, 0%, 100%, 0.1);
248-
}
249+
}

0 commit comments

Comments
 (0)