Skip to content

Commit

Permalink
stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
maenDisease committed Jun 19, 2024
1 parent 35091f6 commit 5edd241
Show file tree
Hide file tree
Showing 8 changed files with 137 additions and 137 deletions.
106 changes: 53 additions & 53 deletions src/theme/chat/_channelheader.scss
Original file line number Diff line number Diff line change
@@ -1,71 +1,71 @@
.topic__16ae3 {
.topic_bf3bbb {
flex-grow: 0;
}

.container__26baa,
.children_cde9af .iconWrapper_de6cd1>svg {
.container_e44302,
.children_e44302 .iconWrapper_e44302>svg {
-webkit-app-region: drag;
}

.toolbar__62fb5>*,
.platform-win .topicClickTarget_f06d56,
.cursorPointer__3707a.title__84e16,
.sidebarRegion__36437,
.closeButton__8177f,
.menu__088f7 {
.toolbar_e44302>*,
.platform-win .topicClickTarget_bf3bbb,
.cursorPointer_a7d72e.title_e44302,
.sidebarRegion_c25c6d,
.closeButton_df5532,
.menu_d90b3d {
-webkit-app-region: no-drag;
}

.container__26baa .children_cde9af .iconWrapper_de6cd1 {
.container_e44302 .children_e44302 .iconWrapper_e44302 {
display: flex;
align-items: center;
justify-content: center;
}

.container__26baa .children_cde9af .icon_ae0b42 {
.container_e44302 .children_e44302 .icon_e44302 {
width: 20px;
height: 20px;
-webkit-app-region: no-drag;
}

.container__26baa .children_cde9af .divider_bdb894 {
.container_e44302 .children_e44302 .divider_e44302 {
display: none;
}

#app-mount .container__26baa .children_cde9af:after {
#app-mount .container_e44302 .children_e44302:after {
display: none;
}

.container__26baa.themed_b152d4 .topic__16ae3.expandable__8804d {
.container_e44302.themed_e44302 .topic_bf3bbb.expandable_bf3bbb {
opacity: var(--topic-opacity);
}

#app-mount .sidebar_e031be+div:not(.container_bd15da) .container__26baa:not(.transparent__8d0a5) .toolbar__62fb5>div:nth-last-child(-n+2),
#app-mount .sidebar_e031be~.chat__52833 .container__26baa:not(.transparent__8d0a5) .toolbar__62fb5>div:nth-last-child(-n+2) {
#app-mount .sidebar_a4d4d9+div:not(.container_c2739c) .container_e44302:not(.transparent_e44302) .toolbar_e44302>div:nth-last-child(-n+2),
#app-mount .sidebar_a4d4d9~.chat_a7d72e .container_e44302:not(.transparent_e44302) .toolbar_e44302>div:nth-last-child(-n+2) {
order: 1;
}

#app-mount .toolbar__62fb5 .iconWrapper_de6cd1:nth-last-child(4) {
#app-mount .toolbar_e44302 .iconWrapper_e44302:nth-last-child(4) {
order: 3;
}

#app-mount .toolbar__62fb5 .search__07df0 {
#app-mount .toolbar_e44302 .search_ff5f90 {
order: 2;
}

.toolbar__62fb5 .search__07df0 {
.toolbar_e44302 .search_ff5f90 {
margin: 0 4px;
}

.searchBar__5a20a .public-DraftEditorPlaceholder-inner {
.searchBar_a46bef .public-DraftEditorPlaceholder-inner {
color: var(--text-muted);
}

.searchBar__5a20a .icon__5c8c7 {
.searchBar_a46bef .icon_effbe2 {
color: var(--interactive-normal)
}

#app-mount .toolbar__62fb5 .searchBar__5a20a {
#app-mount .toolbar_e44302 .searchBar_a46bef {
display: flex;
width: 28px;
height: 28px;
Expand All @@ -74,108 +74,108 @@
transition: width .25s ease;
}

#app-mount .toolbar__62fb5 .search_ac353c:not(.open_d3ab4e) .searchBar__5a20a {
#app-mount .toolbar_e44302 .search_a46bef:not(.open_a46bef) .searchBar_a46bef {
background-color: transparent;
}

.toolbar__62fb5 .search_ac353c:not(.open_d3ab4e) .searchBar__5a20a {
.toolbar_e44302 .search_a46bef:not(.open_a46bef) .searchBar_a46bef {
box-shadow: none;
cursor: pointer;
}

.toolbar__62fb5 .search_ac353c:not(.open_d3ab4e) .searchBar__5a20a .iconLayout__9d9a4 {
.toolbar_e44302 .search_a46bef:not(.open_a46bef) .searchBar_a46bef .iconLayout_effbe2 {
cursor: pointer;
}

.toolbar__62fb5 .search_ac353c:not(.open_d3ab4e) .searchBar__5a20a:hover .icon__5c8c7 {
.toolbar_e44302 .search_a46bef:not(.open_a46bef) .searchBar_a46bef:hover .icon_effbe2 {
color: var(--interactive-hover);
}

.toolbar__62fb5 .search_ac353c:not(.open_d3ab4e) .searchBar__5a20a:active .icon__5c8c7,
.toolbar__62fb5 .search_ac353c.open_d3ab4e .searchBar__5a20a .icon__5c8c7 {
.toolbar_e44302 .search_a46bef:not(.open_a46bef) .searchBar_a46bef:active .icon_effbe2,
.toolbar_e44302 .search_a46bef.open_a46bef .searchBar_a46bef .icon_effbe2 {
color: var(--interactive-active);
}

#app-mount .toolbar__62fb5 .search_ac353c.open_d3ab4e .searchBar__5a20a {
#app-mount .toolbar_e44302 .search_a46bef.open_a46bef .searchBar_a46bef {
display: flex;
width: 240px;
}

.toolbar__62fb5 .search_ac353c:not(.open_d3ab4e) .searchBar__5a20a:hover {
.toolbar_e44302 .search_a46bef:not(.open_a46bef) .searchBar_a46bef:hover {
background-color: var(--background-modifier-hover);
}

.toolbar__62fb5 .search_ac353c:not(.open_d3ab4e) .searchBar__5a20a:active {
.toolbar_e44302 .search_a46bef:not(.open_a46bef) .searchBar_a46bef:active {
background-color: var(--background-modifier-active);
}

.toolbar__62fb5 .searchBar__5a20a>.icon__53a5c {
.toolbar_e44302 .searchBar_a46bef>.icon_a46bef {
order: -1;
}

.toolbar__62fb5 .search_ac353c .DraftEditor-root {
.toolbar_e44302 .search_a46bef .DraftEditor-root {
display: flex;
vertical-align: middle;
align-items: center;
width: 100%;
}

.toolbar__62fb5 .search_ac353c .DraftEditor-root .DraftEditor-editorContainer {
.toolbar_e44302 .search_a46bef .DraftEditor-root .DraftEditor-editorContainer {
width: 100%;
}

.toolbar__62fb5 .search_ac353c .DraftEditor-root .public-DraftEditor-content::-webkit-scrollbar {
.toolbar_e44302 .search_a46bef .DraftEditor-root .public-DraftEditor-content::-webkit-scrollbar {
display: none;
}

.toolbar__62fb5 .search_ac353c .DraftEditor-root .public-DraftEditor-content,
.search_ac353c .DraftEditor-root .public-DraftEditorPlaceholder-root {
.toolbar_e44302 .search_a46bef .DraftEditor-root .public-DraftEditor-content,
.search_a46bef .DraftEditor-root .public-DraftEditorPlaceholder-root {
padding-bottom: 0;
}

.toolbar__62fb5 .search_ac353c .searchBar__5a20a .iconContainer__9f124 {
.toolbar_e44302 .search_a46bef .searchBar_a46bef .iconContainer_effbe2 {
-webkit-transition: width .25s ease, height .25s ease;
transition: width .25s ease, height .25s ease;
}

.toolbar__62fb5 .search_ac353c:not(.open_d3ab4e) .searchBar__5a20a .iconContainer__9f124 {
.toolbar_e44302 .search_a46bef:not(.open_a46bef) .searchBar_a46bef .iconContainer_effbe2 {
width: 18px;
height: 18px;
}

.search_ac353c .DraftEditor-root .public-DraftEditorPlaceholder-root {
.search_a46bef .DraftEditor-root .public-DraftEditorPlaceholder-root {
opacity: 0;
-webkit-transition: opacity .25s ease;
transition: opacity .25s ease;
}

.toolbar__62fb5 .search_ac353c.open_d3ab4e .DraftEditor-root .public-DraftEditorPlaceholder-root {
.toolbar_e44302 .search_a46bef.open_a46bef .DraftEditor-root .public-DraftEditorPlaceholder-root {
opacity: 1;
}

.toolbar__62fb5 a[href="https://support.discord.com"] {
.toolbar_e44302 a[href="https://support.discord.com"] {
display: none;
}

.container__26baa:not(.transparent__8d0a5) .toolbar__62fb5>div:not(:nth-last-child(-n+4)),
.sidebar_e031be+div:not(.container_bd15da) .container__26baa:not(.transparent__8d0a5) .toolbar__62fb5>div:nth-last-child(-n+2),
.sidebar_e031be~.chat__52833 .container__26baa:not(.transparent__8d0a5) .toolbar__62fb5>div:nth-last-child(-n+2) {
.container_e44302:not(.transparent_e44302) .toolbar_e44302>div:not(:nth-last-child(-n+4)),
.sidebar_a4d4d9+div:not(.container_c2739c) .container_e44302:not(.transparent_e44302) .toolbar_e44302>div:nth-last-child(-n+2),
.sidebar_a4d4d9~.chat_a7d72e .container_e44302:not(.transparent_e44302) .toolbar_e44302>div:nth-last-child(-n+2) {
display: var(--toolbar-visibility);
}

.container__26baa:not(.transparent__8d0a5) .toolbar__62fb5:hover>div:not(:nth-last-child(-n+4)),
.sidebar_e031be+div:not(.container_bd15da) .container__26baa:not(.transparent__8d0a5) .toolbar__62fb5:hover>div:nth-last-child(-n+2),
.sidebar_e031be~.chat__52833 .container__26baa:not(.transparent__8d0a5) .toolbar__62fb5:hover>div:nth-last-child(-n+2),
.sidebar_e031be+div:not(.container_bd15da) .container__26baa:not(.transparent__8d0a5) .toolbar__62fb5>div.selected__1fc53,
.sidebar_e031be~.chat__52833 .container__26baa:not(.transparent__8d0a5) .toolbar__62fb5>div.selected__1fc53 {
.container_e44302:not(.transparent_e44302) .toolbar_e44302:hover>div:not(:nth-last-child(-n+4)),
.sidebar_a4d4d9+div:not(.container_c2739c) .container_e44302:not(.transparent_e44302) .toolbar_e44302:hover>div:nth-last-child(-n+2),
.sidebar_a4d4d9~.chat_a7d72e .container_e44302:not(.transparent_e44302) .toolbar_e44302:hover>div:nth-last-child(-n+2),
.sidebar_a4d4d9+div:not(.container_c2739c) .container_e44302:not(.transparent_e44302) .toolbar_e44302>div.selected_e44302,
.sidebar_a4d4d9~.chat_a7d72e .container_e44302:not(.transparent_e44302) .toolbar_e44302>div.selected_e44302 {
display: flex;
}

.toolbar__62fb5 {
.toolbar_e44302 {
-webkit-app-region: no-drag;
}

.container__26baa:not(.transparent__8d0a5) .toolbar__62fb5 .iconWrapper_de6cd1 {
.container_e44302:not(.transparent_e44302) .toolbar_e44302 .iconWrapper_e44302 {
width: 28px;
height: 28px;
margin: 0 4px;
Expand All @@ -184,7 +184,7 @@
justify-content: center;
}

.container__26baa:not(.transparent__8d0a5) .toolbar__62fb5 .iconWrapper_de6cd1 .icon_ae0b42 {
.container_e44302:not(.transparent_e44302) .toolbar_e44302 .iconWrapper_e44302 .icon_e44302 {
width: 20px;
height: 20px;
}
4 changes: 2 additions & 2 deletions src/theme/chat/_forums.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.container_b92032 .headerRow__86f2e {
.container_a6d69a .headerRow_a6d69a {
min-width: 0;
}

.container_b92032 .list__5ced9>div:first-child {
.container_a6d69a .list_a6d69a>div:first-child {
min-width: 0;
width: calc(100% - 32px);
}
38 changes: 19 additions & 19 deletions src/theme/chat/_members.scss
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
.content__01e65>.container_f79ab4 {
.content_a7d72e>.container_cbd271 {
margin-left: var(--float-members-width);
}

.members__573eb {
.members_cbd271 {
width: 100%;
}

.member_aa4760 {
.member_a31c43 {
max-width: 100%;
}

/* BANDAID */
#app-mount .content__01e65>.membersWrap__5ca6b:not(:hover) {
#app-mount .content_a7d72e>.membersWrap_cbd271:not(:hover) {
position: relative;
}

#app-mount .membersWrap__5ca6b {
#app-mount .membersWrap_cbd271 {
position: absolute;
right: 0;
min-width: unset;
Expand All @@ -24,12 +24,12 @@
transition: var(--members-transition-calc-exit);
}

#app-mount .membersWrap__5ca6b:hover {
#app-mount .membersWrap_cbd271:hover {
width: var(--members-hover-width);
transition: var(--members-transition-calc-entry);
}

.content__01e65>.container_f79ab4 .membersWrap__5ca6b:hover {
.content_a7d72e>.container_cbd271 .membersWrap_cbd271:hover {
-webkit-box-shadow: var(--elevation-stroke), var(--elevation-high);
box-shadow: var(--elevation-stroke), var(--elevation-high);
}
Expand All @@ -45,19 +45,19 @@
transition: var(--members-transition-calc-entry);
}

.ChannelDms-channelmembers-wrap .container_f79ab4,
.ChannelDms-channelmembers-wrap .privateChannels__9b518 {
.ChannelDms-channelmembers-wrap .container_cbd271,
.ChannelDms-channelmembers-wrap .privateChannels_f0963d {
position: absolute;
right: 0;
bottom: 0;
}

.ChannelDms-channelmembers-wrap .privateChannels__9b518 {
.ChannelDms-channelmembers-wrap .privateChannels_f0963d {
height: calc(100% - 45px);
}

.ChannelDms-channelmembers-wrap .membersWrap__5ca6b,
.ChannelDms-channelmembers-wrap .privateChannels__9b518 {
.ChannelDms-channelmembers-wrap .membersWrap_cbd271,
.ChannelDms-channelmembers-wrap .privateChannels_f0963d {
width: var(--float-members-width);
transition: var(--members-transition-calc-exit);
}
Expand All @@ -70,33 +70,33 @@
}

#app-mount .ChannelDms-channelmembers-wrap:hover .ChannelDms-channelmembers-header,
.ChannelDms-channelmembers-wrap:hover .membersWrap__5ca6b,
.ChannelDms-channelmembers-wrap:hover .privateChannels__9b518 {
.ChannelDms-channelmembers-wrap:hover .membersWrap_cbd271,
.ChannelDms-channelmembers-wrap:hover .privateChannels_f0963d {
width: var(--members-hover-width);
transition: var(--members-transition-calc-entry);
}

.ChannelDms-channelmembers-header .item__48dda {
.ChannelDms-channelmembers-header .item_a0 {
margin: 0 2px;
transition: margin var(--members-transition-duration) ease;
}

.ChannelDms-channelmembers-wrap:hover .ChannelDms-channelmembers-header .item__48dda {
.ChannelDms-channelmembers-wrap:hover .ChannelDms-channelmembers-header .item_a0 {
margin: 0 8px;
transition: margin var(--members-transition-duration) var(--members-hover-delay) ease;
}

.ChannelDms-channelmembers-wrap .channel__0aef5 {
.ChannelDms-channelmembers-wrap .channel_c91bad {
max-width: unset;
}

.privateChannels__9b518 .closeButton__116c3 {
.privateChannels_f0963d .closeButton_c91bad {
width: 0;
margin: 0;
padding-right: 0;
}

.ChannelDms-channelmembers-wrap:hover .privateChannels__9b518 .closeButton__116c3 {
.ChannelDms-channelmembers-wrap:hover .privateChannels_f0963d .closeButton_c91bad {
animation: floatChannelDmsPrivateChannelsCloseButton var(--members-transition-duration) var(--members-hover-delay) forwards;
}

Expand Down
12 changes: 6 additions & 6 deletions src/theme/chat/_messages.scss
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
.cozy_f5c119 .contents_d3ae0d .header__6a14d {
.cozy_ec86aa .contents_ec86aa .header_ec86aa {
display: flex;
}

.cozy_f5c119 .headerText_bd68ec {
.cozy_ec86aa .headerText_ec86aa {
min-width: 0;
white-space: nowrap;
display: flex;
}

.cozy_f5c119 .headerText_bd68ec .username__0b0e7 {
.cozy_ec86aa .headerText_ec86aa .username_ec86aa {
display: block;
text-overflow: ellipsis;
flex: 1 1;
}

.cozy_f5c119 .timestampInline__430cf {
.cozy_ec86aa .timestampInline_ec86aa {
white-space: nowrap;
margin-top: 1px;
}

.cozy_f5c119 .headerText_bd68ec .PI-indicatorContainer {
.cozy_ec86aa .headerText_ec86aa .PI-indicatorContainer {
margin-top: 1px;
}

.message_ccca67 {
.message_d5deea {
padding-right: 12px !important;
}
Loading

0 comments on commit 5edd241

Please sign in to comment.