Skip to content

Commit

Permalink
controversial update
Browse files Browse the repository at this point in the history
  • Loading branch information
Leozard committed Sep 6, 2024
1 parent e6e1e9b commit 59bb466
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 1 deletion.
6 changes: 6 additions & 0 deletions lib/selectors/selectorPlaceholders.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2496,6 +2496,9 @@ pre {
.activeIcon_e1268c {
@extend %switchAccountsActive !optional;
}
.contentBackground_c5a065 {
@extend %botInviteModalContent !optional;
}
.authorize_c5a065 {
@extend %authModal !optional;
}
Expand Down Expand Up @@ -2797,6 +2800,9 @@ pre {
.searchBar_c6ee36 {
@extend %emojiPickerSearchBar !optional;
}
.label_d1ac9b {
@extend %emojiPickerSuperReactionButton !optional;
}
.diversitySelectorOptions_cce80d {
@extend %emojiPickerDiversitySelectorPopout !optional;
}
Expand Down
5 changes: 5 additions & 0 deletions src/modals/otherModals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@
background: transparent;
}

// INVITE BOT
%botInviteModalContent {
background-color: hsla(0, 0%, 100%, .05);
}

// AUTH MODAL
%authModal {
background-color: transparent;
Expand Down
40 changes: 39 additions & 1 deletion src/pages/discover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,48 @@
background-color: transparent;
}
%discoverCategoryItem {
position: relative;
z-index: 1;
&:before {
content: '';
position: absolute;
@include stretch;
transition: all 0.15s ease-in-out;
z-index: -1;
pointer-events: none;
border-radius: 4px;
}
&:after {
content: '';
position: absolute;
@include pos(0, 100%, 0, 0);
opacity: 0.9;
transition: all 0.3s ease-in-out;
z-index: -1;
pointer-events: none;
border-radius: 4px;
}
&:hover {
&:before {
background: hsla(0, 0%, 100%, 0.1);
}
}
&%discoverCategoryItemSelected {
&:before {
background: hsla(0, 0%, 100%, 0.1);
}
&:after {
right: 0;
background: $main-color;
animation: cv-channel-select 0.3s ease-in-out;
}
}
&%discoverCategoryItemSelected,
&:hover,
&:active {
%discoverCategoryItemInner,
%discoverCategoryQuestItemInner {
background-color: $main-color;
background-color: transparent;
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions src/popouts/emojiPicker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
}
}

// SUPER REACTION BUTTON
%emojiPickerSuperReactionButton {
background-color: transparent;
}

// DIVERSITY SELECTOR
%emojiPickerDiversitySelectorPopout {
border: none;
Expand Down

0 comments on commit 59bb466

Please sign in to comment.